Hi all!
I am trying to make a button in a Gallery only be visible for certain items in SharePoint list. The list has a Choice column called "Status" and I only want the button to appear next to items that state "Sent for Manager Review" .
The code is in the Visible property of the button:
If(ThisItem.Status.Value = "Sent for Manager Review", true,false)
The error is as in the title: This formula uses scope which is not presently supported for evaluation.
Any help is greatly appreciated
Solved! Go to Solution.
Hi @Pxtavern
Try using this slightly simplified expression in the visible property:
ThisItem.Status.Value = "Sent for Manager Review"
This might also remove that notification. Note, it is not an error, just a notification, which in most cases is harmless. Errors show up as red underlines in the formula bar and with a red x beside the control with the error.
Hope this helps
hello Pxtavern ,
is the Choice column "Status" multiple choice or only one choice.
Kind Regards,
Abdellah GArtoumi
________________________________________________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.
Hi @Pxtavern
Try using this slightly simplified expression in the visible property:
ThisItem.Status.Value = "Sent for Manager Review"
This might also remove that notification. Note, it is not an error, just a notification, which in most cases is harmless. Errors show up as red underlines in the formula bar and with a red x beside the control with the error.
Hope this helps
hello again Pxtavern,
try this tested solution change DataCardName by your the name of your datacard
If(DataCardName.Selected.Value = "Sent for Manager Review", true,false)
Kind Regards,
Abdellah GArtoumi
________________________________________________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.
Thank you @AmDev and @abdellahgartoum didnt realise it was actually working just got distracted by the notification thinking it was an error haha.
User | Count |
---|---|
256 | |
111 | |
95 | |
48 | |
40 |