1

I have been tasked with creating a form that individuals will fill out and then submit it. It will then go into a List that the HR department has access to. We dont want everyone to have access to the list, just the form. Is this possible? I have done forms with everyone having access but never one where its filled out and then the user can't see the other forms from other users? I have been googling forms to list but thought I would ask here so I could further explain what I need done.

3
  • You have to use any specific technology i. e. InfoPath? Can you use SharePoint API? SharePoint apps? – jjczopek Jun 29 '15 at 23:30
  • Please specify the version of SharePoint you using, also are you looking for farm solutions or front end solutions. – Taran Goel Jun 30 '15 at 5:09
  • I can use any out of the box technology I will need, and if there is an add-on that will help, I'm sure that will not be a problem either. Anything helps really. – user29959 Jun 30 '15 at 17:10
2

Hey I recommend you to create a webpart with the form as you like and insert the details into your custom list where you don't need to expose your list to anybody.

Let me know if you have any questions.

1

Though I am not sure if Farm solutions can be used so I can provide you with a workaround with the help of workflows.

  1. Break permission of the list and give users Add permission. HR group can have any permission you like.

  2. On item creation on the list start a workflow which gives HR users the desired permission and remove everybody else permission. This way you can manipulate the permission at item level and one user will never be able to see another user item.

0

Technically no. There is no way to save an item without having permission on the list. Not to worry, there are workarounds.

  • Assign HR department to have contribute access while disabling access to all other users.
  • You may enclose your code with SPSecurity.RunWithElevatedPrivileges method to open a new SPWeb context that will personify as your app pool / system account.
  • You may choose to overwrite the default form but you would need to create your custom save button. Alternatively, you can create your form in the webpart. Both techniques will require the RunWithElevatedPrivileges.
  • Do take note that the CreatedBy and ModifiedBy must be assigned/updated if you want to retain the info of the actual user who created the item.

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.