cancel
Showing results for 
Search instead for 
Did you mean: 

el expression for "current user is last contributor"

Corinne_
Confirmed Champ
Confirmed Champ

Hello all, my question is in subject. I need to create an action filter to hide a button when the current user is not the last contributor. I tried #{!currentDocument.lastContributor.equals(currentUser)} and other thinks without any success. Any idea ? Many thanks

1 ACCEPTED ANSWER

Thierry_Martins
Star Collaborator
Star Collaborator

hello,

the last contributor is a metadata in the dublincore schema. So the correct expression should be

#{currentDocument.dublincore.lastContributor.equals(currentUser.name)}

Kind regards,

Thierry

View answer in original post

1 REPLY 1

Thierry_Martins
Star Collaborator
Star Collaborator

hello,

the last contributor is a metadata in the dublincore schema. So the correct expression should be

#{currentDocument.dublincore.lastContributor.equals(currentUser.name)}

Kind regards,

Thierry

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.