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?
Solved! Go to Solution.
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
SubmitButton is :
EditButton1 AddNewItemButton1 and DeleteButton1 are:
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!
Check out new user group experience and if you are a leader please create your group
Next call is happening on April 21st at 8a PST.
May the fourth be with you, join us online!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.