cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Antonioclk
Helper III
Helper III

Button visiblility based on Sharepoint Yes/no column

hello, i need to show a button only if a sharepoint column called Contact has a Yes value.

 

Inside the DisplayMode property of the button i wrote this

 

If(UserList.Selected.Contact, Edit, Disabled)

 

but it doesn't work.

 

to debug, i made a label showing UserList.Selected.Contact and it always display true, even when the column shows a no. So it's some sort of bug? how to fix this?

1 ACCEPTED SOLUTION

Accepted Solutions
Antonioclk
Helper III
Helper III

If(UserList.Selected.Contact, DisplayMode.Edit, DisplayMode.Disabled)

this solved  my problem

View solution in original post

1 REPLY 1
Antonioclk
Helper III
Helper III

If(UserList.Selected.Contact, DisplayMode.Edit, DisplayMode.Disabled)

this solved  my problem

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (3,520)