Forum Discussion
Yarrah
Mar 19, 2020Brass Contributor
SharePoint Online list button: multiple visibility conditions
Hey All, I am trying to toggle the visibility of a button in my SharePoint list with two columns, but I'm not sure if my conditions or syntax are correct. The logic i'm trying to accomplish i...
- Mar 21, 2020
Yarrah as Sudharsan K said, the && is what you need. The following will work:
"visibility": "=if(([$column1] == 'Approved') && ([$column2] != 'Approved'),'visible','hidden')"Rob
Los Gallardos
Microsoft Power Automate Community Super User
RobElliott
Mar 21, 2020Silver Contributor
Yarrah as Sudharsan K said, the && is what you need. The following will work:
"visibility": "=if(([$column1] == 'Approved') && ([$column2] != 'Approved'),'visible','hidden')"
Rob
Los Gallardos
Microsoft Power Automate Community Super User
- YarrahMar 23, 2020Brass Contributor