Hello fellow Power Appers,
I am having trouble toggling the color of an icon based on a "true/false" text value in a data column.
My Sharepoint list, 'Progress Note Data' contains a text Column 'IsApproved' "true/false" (as string). I would like to read the value and set the color of an icon based on that value.
If the icon is clicked(OnSelect) I would like the color to toggle between Green and Red.
The icon is in a gallery, ideally I would like to reference the ID of the icon(s) in the gallery, or use ThisItem.ID? I have tried for several hours to make this work but I must be missing some key detail.
Any help given would be appreciated.
Thank you.