cancel
Showing results for 
Search instead for 
Did you mean: 

modifying email notification template

chrisrichardson
Champ in-the-making
Champ in-the-making
Not sure if this question is posted in the right spot so move if needed.

At present I have the standard email notification template which works, but as I want emails to go out to users when changes have been made to say the data lists in share I need to have the title of the task referenced and not a variable system name nobody can understand.

I don't have a firm grasp on this templating language at present so would love if someone could tell me how to make '${document.name}' output the title of that named document instead.
2 REPLIES 2

iblanco
Confirmed Champ
Confirmed Champ
document.name is just a shortcut for document.properties["cm:name"]. So if you want to access a property that it is in the node but has not a direct access you should just use properties array, for example if your document's node has a title you will be able to access it using this: document.properties["cm:title"]

chrisrichardson
Champ in-the-making
Champ in-the-making
Thanks mate that is exactly the thing I wanted to know. I was trying document.property.name so almost had it.