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

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 IV
Helper IV

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

this solved  my problem

View solution in original post

1 REPLY 1
Antonioclk
Helper IV
Helper IV

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

this solved  my problem

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,287)