User action custom EL expression syntax

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?

0 votes

1 answers

4051 views

ANSWER



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

0 votes