sharepointformsinfopath

How can a sharepoint form library be set up to allow users to submit forms, but not see other people's forms


This use case seems like it would apply to just about every form, but I have yet to find a good out-of-the-box solution for it. Imagine an HR Complaint form based on InfoPath and SharePoint. All Employees should be able to fill them out and submit them, and possibly see the ones they've submitted, but only members of HR should be able to view others' forms. How can I configure the form and/or the form library to accomodate this? Some things I've tried:
[[NFL-LIVE]]#Philadelphia Eagles vs Jacksonville Jaguars: 2018 Live Stream (NFL-FOOTBALL) ON TV CHANNEL - Creating a Form Library View filtered where CreatedBy=[Me]. Security cannot be set on views, so users can still see all submitted forms if they choose a different view. - Adjusting security on the library. It is not possible (AFAIK) to give a user 'submit' rights without also giving them 'view' rights. - Creating a custom workflow. This might work, but we would prefer an out-of-the-box solution or 3rd party feature to enable this scenario, without requiring code for each form. We want non-developer end-users to be able to create InfoPath forms with this behavior.


Solution

  • Your requirement is bit tricky to do it in the Out Of the Box. There is no option that will let a user to View only his item and not others. Though you can get this using the Item Level Permission but you have to do it manually for each of the item that is getting created. One best option that you can do is to create a Event Handler for the List that will assign the Item Level Permission for the List Item on Item Added. I have done something similar to this in past using the Event Handler.