Wednesday, July 20, 2022

Powerapps : How to Set the Visible Property Dynamically

 This post is to show how to set the visible property dynamically

Set the Visible Property of the button to a Boolean variable as below 




Set the dynamic value using the UpdateContext.

UpdateContext({buttonVisible:!buttonVisible})

or use can use one of the below:

UpdateContext({buttonVisible:true})
UpdateContext({buttonVisible:false})



Reference: UpdateContext function in Power Apps




Feel free to point out if anything is wrong/missing in this post.



No comments:

Post a Comment

Azure APIM : How to configure Azure APIM to call a REST API with OAuth Authentication

  In my project, we had a requirement to call a REST API using OAuth Authentication from Azure LogicApps.  We had configured APIM to do the ...