cancel
Showing results for 
Search instead for 
Did you mean: 

User action custom EL expression syntax

jmdavid_8121
Champ in-the-making
Champ in-the-making

I want to make a user action conditional on a boolean field set to true. What is custom EL expression syntax I should use in the provided field?

1 REPLY 1

milonette_
Star Collaborator
Star Collaborator

Hello,

User action should be "visible" only when you are "on the document". Example: action in "contextual tools" (http://doc.nuxeo.com/display/Studio/User+actions+categories#USER_MENU_ACTIONS)

Then use something like :

#{currentDocument.myxpathname.myfieldname == true}

Doc: http://doc.nuxeo.com/display/Studio/Understand+Expression+and+Scripting+Languages+Used+in+Nuxeo