cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

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
Helper I
Helper I

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
Community Support

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.
Helper I
Helper I

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

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!

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Users online (68,408)