I am building one App where I want to use the Profile Update form as "NewForm" only first time when the user open App. After information update this form should always be visible as "EditForm" whenever user open this form screen. Is there any way to do same? Appreciate help from anyone.
Solved! Go to Solution.
hi @ashokpershad you need to find a way to build a condition and based on it the form type can be set.
Consider this:
On AppStart you validate if the user has been registered in the registration table, the form is set to new form as the user needs to register. Set(varUserIsRegistered, false) or something like that.
If the user does exist then Set(varUserIsRegistered, true)
on the form, set the default mode based on the value of varUserIsRegistered. If(varUserIsRegistered, FormMode.Edit,FormMode.New)
If you want the user to register every time they open the app a variant of this can be used.
Hope this helps,
R
hi @ashokpershad you need to find a way to build a condition and based on it the form type can be set.
Consider this:
On AppStart you validate if the user has been registered in the registration table, the form is set to new form as the user needs to register. Set(varUserIsRegistered, false) or something like that.
If the user does exist then Set(varUserIsRegistered, true)
on the form, set the default mode based on the value of varUserIsRegistered. If(varUserIsRegistered, FormMode.Edit,FormMode.New)
If you want the user to register every time they open the app a variant of this can be used.
Hope this helps,
R
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
180 | |
51 | |
47 | |
32 | |
32 |
User | Count |
---|---|
266 | |
91 | |
78 | |
68 | |
67 |