Dear community
I have a gallery and I want to change the template fill property based on the value of an option set.
ThisItem.'Agreement Status' -> this is an Option Set field in CDS. With 5 options:
Not Sent (Value: 0)
Out for Signature (Value: 1)
Signed (Value: 2)
Declined (Value: 3)
Canceled (Value: 4)
Switch(ThisItem.'Agreement Status',0,Red,Green) nor Switch(ThisItem.'Agreement Status',"Not Sent",Red,Green) isn't working.
What am I doing wrong?
Thanks!
Bart