I need to create a read only view in my model driven app; After a user submits a form I want them to be able to see all their forms but without the abily to make changes.
This sounds like something easy but I can't find the way to do it; I'm also new to model driven apps. All the views I create are editable and i dont know how to change that. Any ideas?
thanks
Solved! Go to Solution.
Hello mate,
1. Go to the "Form" editor in common data service.
2. Select your form
3. Select the field in the form you want to set "Read-Only"
4. Go to "Change Properties" in the top menu
5. Check the "Read-Only" field
See attached
Was that what you wanted?
Hi @MsMicrosoft ,
Did you create the auto-generated app using SharePoint list as connector? If so, Did you mean that you want to disable editing for this app once a user click on the submit button for the first time? If so, you could set below formulas to achieve this:
Screen1.OnStart=Set(V, true) SubmitButton1.OnSelect=SubmitForm(EditForm1);Set(V,false) EditButton1.Visible=V AddNewItemButton1.Visible=V
DeleteButton1.Visible=V
SubmitButton is :
EditButton1 AddNewItemButton1 and DeleteButton1 are:
Regards,
Mona
Hello mate,
1. Go to the "Form" editor in common data service.
2. Select your form
3. Select the field in the form you want to set "Read-Only"
4. Go to "Change Properties" in the top menu
5. Check the "Read-Only" field
See attached
Was that what you wanted?
Thanks, yes that is what i need but i have around 60 field and I wouldn't like to do it manually one by one; i was wondering if there is a way to set the read only property at the form level so that it applies to all fields but i guess not.
thank you anyways!
hi Mona, your solution doesn't apply to model driven apps; only to canvas apps so it doesn't solve the problem for me but thanks!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
16 | |
4 | |
4 | |
3 | |
3 |
User | Count |
---|---|
23 | |
9 | |
5 | |
5 | |
5 |