1

I am trying to develop a time off request system. One list will hold all the employee's and their accrued time off. Naturally I only want 99% of users to only be able to see theirs. I want to limit it by "users can only see what they created" option, however they won't be creating their entry, HR will when their are hired.

I would use a view but there isn't a way to lock it down, so a semi-intelligent person can switch views or just tweak the one that I setup.

What are some options? I have tried to find a way to change the "created by" field but it doesn't seem possible. What work around or options do I have?

This is a basic license modern SharePoint online site.

Thanks in advance.

1
  • item level permissions on list items. break permissions inheritance & assign permissions only to HR and the employee. you can automate this using Power Automate on item creation as well. Apr 29 at 16:58
0

You can set the Created By and Modified By fields in SharePoint Online via the REST API. Here's an answer from the Microsoft Q&A:

REST API to create item with custom Created by and Modified by values in Sharepoint online

0

Here, some solutions to edit the createdBy field and a focus on Power Automate: https://blog.lsonline.fr/2021/02/28/sharepoint-client-side-page-author/

Hoping this will help you 😉

0

Simple test for your reference:

enter image description here

Compose:

[
  {
    "FieldName": "Author",
"FieldValue":"[{'Key':'i:0#.f|membership|user@tenant.onmicrosoft.com'}]"
  }
]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.