Announcements
I'm customizing ms form in power app. I would like to set some data cards hidden until the user click on the icon (for example plus sign). My initial thought was to initiate variable, OnVisbile use formula UpdateContext({DataCard2Visible:false}) - DataCard2 is the card that i want to hide. Then in OnSelect I wanted to add following UpdateContext({DataCard2Visible:true}). This logic however is not working. Can you please advice. Thank you
HI @KasiaBosman ,
You need to use a Variable (you can call it whatever you want) - to hide
UpdateContext({varVisible: false})
to show
UpdateContext({varVisible: true})
Then the Visible of the DataCard2
varVisible
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
Hi @KasiaBosman ,
For your screen/page - OnVisible property - add this formula: UpdateContext({DataCard2Visibility: false});For the DataCard Visible property in the form - add this variable: DataCard2VisibilityFor the icon - OnSelect property - add this formula: UpdateContext({DataCard2Visibility:true})Your form will look like this for the first time it loads:
Click on the icon to show the DataCard2 in the form
The data card will be displayed as shown below:
If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.
Thanks!
Thank you @SunilPashikanti this works!
@KasiaBosman ,
You might note that was exactly what I posted earlier.
Yes, Warren you are right! Sorry I just saw Sunil's answer first! Thank you
!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 538 Most Valuable Professional
11manish 307
Haque 305