cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Post Prodigy
Post Prodigy

Make the whole form as Read-Only will not work if we click on Edit All after viewing a list item

I have defined the following formula to make a form as Read-Only:-

 

r1.png

 

 

now if i click on the Edit >> the form will be rendered in View mode correctly:-

 

r2.png

 

while if i click on the item title >> then i click on the "Edit All" >> the form will always render in Edit mode:-

 

e3.png

 

any advice? why the Edit All will not respect the formula?

Thnaks

4 REPLIES 4
WarrenBelz
Super User III
Super User III

Hi @johnjohn123 ,

SharePoint Integrated forms in-built controls have an OnEdit (in SharePointIntegration) property - you would also have to put the formula in there otherwise it simply says EditForm(FormName) and does this.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

@WarrenBelzcan you explain this in more details please?

@johnjohn123 ,

Select SharePointIntegration near the top of the left panel and go to the OnEdit function. The use the same formula, except put ViewForm(YourFormName), EditForm(YourFormName) instead of the FormMode references.

I will caution here that altering these particular functions does not always achieve the result you expect.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

WarrenBelz
Super User III
Super User III

Hi @johnjohn123 ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (38,461)