Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a form library in my site. I have submitted the InfoPath form. The form should visible to only the person who created it and also to people defined in the InfoPath form.

How to achieve that?

share|improve this question
add comment

2 Answers

In order to set the permissions on the item based on the people defined on the InfoPath form, you need to create custom Event Handler on the list that will modify the permissions when new items are added (ItemAdded event).

This will give you the required details on event handlers, while this shows how to grant permissions programmatically.

share|improve this answer
add comment

1: Under Advanced settings of the library you can limit the person to view only their items or if you want custom permissions then follow (2)

2: You can create a workflow that runs after an item is submitted which breaks the permissions of the item and assigns new permissions. Use SP designer workflow or Nintex.

Here is a link to break item level permissions using SP Designer workflow http://spcycle.blogspot.com.au/2012/01/how-to-create-workflow-to-change-item.html

Useful Sharepoint Designer Custom Workflow Activities http://spdactivities.codeplex.com/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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