<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Retrieve group label from group name in mail template in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/retrieve-group-label-from-group-name-in-mail-template/m-p/325169#M12170</link>
    <description>&lt;P&gt;Some workaround : put the desired MVEL in a context variable &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2015 17:04:23 GMT</pubDate>
    <dc:creator>pibou_Bouvret</dc:creator>
    <dc:date>2015-10-27T17:04:23Z</dc:date>
    <item>
      <title>Retrieve group label from group name in mail template</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/retrieve-group-label-from-group-name-in-mail-template/m-p/325168#M12169</link>
      <description>&lt;P&gt;Is there any FTL syntax that could allow me to retrieve the group label from its name in an email template ?
It seems it could be possible in MVEL with something like&lt;/P&gt;
&lt;P&gt;@{org.nuxeo.runtime.api.Framework.getService(org.nuxeo.ecm.platform.usermanager.UserManager).getGroup(XXX).getLabel()}&lt;/P&gt;
&lt;P&gt;but when it comes to scripting language, it seems there is one language for each case : why MVEL is not allowed in emails, at least in studio ?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Oct 2015 16:52:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/retrieve-group-label-from-group-name-in-mail-template/m-p/325168#M12169</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2015-10-25T16:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve group label from group name in mail template</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/retrieve-group-label-from-group-name-in-mail-template/m-p/325169#M12170</link>
      <description>&lt;P&gt;Some workaround : put the desired MVEL in a context variable &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 17:04:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/retrieve-group-label-from-group-name-in-mail-template/m-p/325169#M12170</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2015-10-27T17:04:23Z</dc:date>
    </item>
  </channel>
</rss>

