I want to that an action link only appear when the following condition is true
[[@Site.GetValuesForQuery('Employee', '<Where><Contains><FieldRef Name="Trainee" /><Value Type="Lookup">[[Title]]</Value></Contains></Where>', 'ID')]].length<2
This doesn't work if I have no entries in my list, so I get an error.
What can I do?
Please sign in to leave a comment.