cancel
Showing results for 
Search instead for 
Did you mean: 

Display a user name into an email via an email template

Mathilde_Viveri
Confirmed Champ
Confirmed Champ

Evening,

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)

${Document["dc:creator"].firstName}

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

thanks

1 ACCEPTED ANSWER

Mathilde_Viveri
Confirmed Champ
Confirmed Champ

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)

View answer in original post

1 REPLY 1

Mathilde_Viveri
Confirmed Champ
Confirmed Champ

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)

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.