hi,
I have a number of data cards on a form. They have if() statements in there visibility property to determine if they will be visible or not. That works fine.
The problem I have is when Im working on the form, programming, I want all the data cards visible, so I can modify them. I cant unless I put code in visibilty porperty to set it to true while I edit/arrrange form. Makes it difficult to work on form.
This seems like a dumb question but Im stuck and cant find the answer. Keep wondering if Im in some sort of interactive programming edit mode where the form is semi running\functional.
thanks
Solved! Go to Solution.
Hi @Anonymous,
You make all the fields visible while in Edit/New mode Form, and still use the If function for Visible property in Display Form.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-form
Regards,
Mona
HI @Anonymous,
Put a button on the screen with the OnSelect property of UpdateContext({vis:!vis}). // This gives you the option of setting a given card's Visibility property as vis and pressing the button will toggle the visibility on and off while you work on the screen, or, you can leave some of the cards Visibility as true if you aren't working on them. When you are done, you can either change the Visibility property of each card back to true, or save yourself the effort and set the OnVisible property of the screen to UpdateContext({vis:true}) and get rid of the button.
Hi @Anonymous,
You make all the fields visible while in Edit/New mode Form, and still use the If function for Visible property in Display Form.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-form
Regards,
Mona
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
199 | |
72 | |
50 | |
41 | |
30 |
User | Count |
---|---|
253 | |
113 | |
95 | |
91 | |
76 |