User action custom EL expression syntax
Hi
I created a new button in contextual Tools, I can only show the button in the following condition:
User logged equals Responsible or User logged equals User Created
Follow my sixtaxe in Custom EL expression
{currentDocument == currentDocument.getPropertyValue('dc:created')} ||
{currentDocument == currentDocument.getPropertyValue('mission:mission_responsible')}
did not work!
What is correct syntax?
0 votes
1 answers
2449 views
Try
'#{currentUser.getProperty(“user:id”) == currentDocument.getPropertyValue('dc:created') || currentUser.getProperty(“user:id”) == currentDocument.getPropertyValue('mission:mission_responsible')}'
Hi, Nchaillot
Thanks for your help,
worked with following code
{currentUser == currentDocument.getPropertyValue('dc:creator') ||
currentUser == currentDocument.getPropertyValue('mission:mission_responsible')}
04/29/2014