Display a user name into an email via an email template


I would like to send an email in which it's says something like:

“Dear Sir,

{user.name} {user.firstname} has provided a document for you on the platerform”

The user is a property of said document, so here is what I tried (for example with the field dc:creator containing the creator of the document)


It's not working. Would you have any ideas on how to achieve this ?


0 votes

1 answers



Here is what to do (and what's working for me):

${Fn.getPrincipal(Document['dc:creator']).firstName} ${Fn.getPrincipal(Document['dc:creator']).lastName}

(as fields “user suggestion” store user's ID you need to get the user Object to retrieve its informations)

0 votes