How do I prevent columns from being changed with QuickEdit without deactivating QuickEdit?

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/260017

  •  06-02-2021
  •  | 
  •  

Question

My workflow controls temporary permissions on list items. In the start form user can be entered for permissions for 1 day, 1 week, 1 month for reader and editor. The controls are linked to columns and the contents are converted into authorizations in the workflow. A daily workflow checks the expiry dates and clears the corresponding columns. This works very well, as expected. Requester and rights change are recorded in the audit logs. In QuickEdit, all of these columns are editable and a change in them is processed with the next daily or manually invoked workflow. The changer in QuickEdit is not recorded, while the Audit Log contains the starter of the workflow. Every change of authorization must be logged correctly. So far, my ideas have been to log the QuickEdit changes and undo QuickEdit changes immediately. Both complex and confusing, with hidden columns or additional lists. Whatever ideas you have, I would be very grateful for your help.

Was it helpful?

Solution

This is not possible out of the box. Sharepoint doesn't have an concept of the filed level security. The only way i can think of blocking the edit without disabling it would be to make the columns hidden. You could implement some kind of workflow to intercept the value during item updating event.

OTHER TIPS

As Marek says It's not possible to apply field level permissions. The way I've done it is to create a calculated column and use that in the quick edit where I don't want the user to edit the filed, but it still needs to be preset.

So assuming I have a date field called Date I'd make a calculated field called ReadOnlyDate and set it to =Date. Instead of using Date in the quick edit view I would be using ReadOnlyDate :)

This isn't a fool proof solution, but it does the job for me.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top