cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MsMicrosoft
Level: Powered On

Read Only View in Model Driven Apps

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

1 ACCEPTED SOLUTION

Accepted Solutions
Softbear
Level: Powered On

Re: Read Only View in Model Driven Apps

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?

View solution in original post

4 REPLIES 4
Community Support Team
Community Support Team

Re: Read Only View in Model Driven Apps

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 :1.jpg

EditButton1 AddNewItemButton1 and DeleteButton1 are:

Capture.JPG·.JPG

 

Regards,

Mona

 

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Softbear
Level: Powered On

Re: Read Only View in Model Driven Apps

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?

View solution in original post

MsMicrosoft
Level: Powered On

Re: Read Only View in Model Driven Apps

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!

MsMicrosoft
Level: Powered On

Re: Read Only View in Model Driven Apps

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!

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Users Online
Currently online: 260 members 5,435 guests
Please welcome our newest community members: