cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve group label from group name in mail template

pibou_Bouvret
Elite Collaborator
Elite Collaborator

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

@{org.nuxeo.runtime.api.Framework.getService(org.nuxeo.ecm.platform.usermanager.UserManager).getGroup(XXX).getLabel()}

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 ?

1 REPLY 1

pibou_Bouvret
Elite Collaborator
Elite Collaborator

Some workaround : put the desired MVEL in a context variable 😞

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.