Nicole

Check Rows

Discussion created by Nicole on Mar 7, 2019
Latest reply on Mar 28, 2019 by Nicole

Hello,

 

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?

 

Kind regards

Nicole

Outcomes