<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SharePoint George &#187; InfoPath</title>
	<atom:link href="http://sharepointgeorge.com/category/infopath/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepointgeorge.com</link>
	<description>Everyday experiences on SharePoint, Exchange and most things Microsoft</description>
	<lastBuildDate>Mon, 14 May 2012 03:36:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Item level permissions for InfoPath forms via SharePoint Designer Workflows</title>
		<link>http://sharepointgeorge.com/2010/item-level-permissions-infopath-forms-sharepoint-designer-workflows/</link>
		<comments>http://sharepointgeorge.com/2010/item-level-permissions-infopath-forms-sharepoint-designer-workflows/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 12:00:42 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[InfoPath]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[George Khalil]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[Work Flows]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/?p=1345</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2010/item-level-permissions-infopath-forms-sharepoint-designer-workflows/' addthis:title='Item level permissions for InfoPath forms via SharePoint Designer Workflows ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>We all know that out of the box, Microsoft decided NOT to implement item level permissions within InfoPath Forms Libraries and the same goes for Document Libraries, however if you venture into a standard SharePoint List or Survey and navigate to Settings / Advanced Settings, you will notice that you can easily configure Item-level permissions and specify which items users can read and edit as per the below screen capture.<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2010/item-level-permissions-infopath-forms-sharepoint-designer-workflows/' addthis:title='Item level permissions for InfoPath forms via SharePoint Designer Workflows ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2010/item-level-permissions-infopath-forms-sharepoint-designer-workflows/' addthis:title='Item level permissions for InfoPath forms via SharePoint Designer Workflows ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>We all know that out of the box, Microsoft decided NOT to implement item level permissions within InfoPath Forms Libraries and the same goes for Document Libraries, however if you venture into a standard SharePoint List and navigate to Settings / Advanced Settings,  you will notice that you can easily configure Item-level permissions and specify which items users can read and edit as per the below screen capture.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2010/03/image6.png"><img style="display: inline; border-width: 0px;" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2010/03/image_thumb6.png" border="0" alt="image thumb6 Item level permissions for InfoPath forms via SharePoint Designer Workflows" width="304" height="171" /></a></p>
<p>We all know the primary use of InfoPath right? The ability to create fancy forms that can be easily submitted and stored in a Forms Library for easy retrieval.  In our organization, there are a number of InfoPath forms that are required to be accessible by only the authors and the reviewers once a form has been submitted, so how do we go about securing these forms?  Before we delve into the solution, here is some background on permissions required for InfoPath forms.  As a minimum, users are required to have contributor rights to a form library in order for them to submit or save a form.  By having contributor rights, they inadvertently inherit read rights as well, and are provided with the opportunity to view all submitted InfoPath forms within the respective library.  Let’s take two common forms used in most organizations, the humble leave and expense forms.  These are two particular forms where you would only want the author and reviewer to have access to these forms after they have been submitted in the library.</p>
<p>Luckily, we can easily achieve this via SharePoint Designer Workflows and a neat little codeplex extention provided <a href="http://twitter.com/unclepaul84" target="_blank">Paul Kotlyar</a> called SPDActivities which you can download <a href="http://spdactivities.codeplex.com/" target="_blank">here.</a>  This solution extends the available activities within SharePoint Designer 2007.  These are listed as follows;</p>
<ul>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Send%20Email%20with%20HTTP%20File%20attachment&amp;referringTitle=Home">Send Email with HTTP File attachment</a></strong> &#8211; Allows sending emails with attachments retrieved using a web request</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Send%20Email%20with%20List%20Item%20attachments&amp;referringTitle=Home">Send Email with List Item attachments</a></strong> &#8211; Allows sending list item attachments as files attached to an email</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Start%20Another%20Workflow&amp;referringTitle=Home">Start Another Workflow</a></strong> &#8211; Starts another workflow associated with a list item</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Grant%20Permission%20on%20Item&amp;referringTitle=Home">Grant Permission on Item</a></strong> &#8211; Allows granting of specified permission level on a specified item</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Delete%20List%20Item%20Permission%20Assigment&amp;referringTitle=Home">Delete List Item Permission Assignment</a></strong> &#8211; Allows deleting of specified permission level assignment for a given user</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Reset%20List%20Permissions%20Inheritance&amp;referringTitle=Home">Reset List Permissions Inheritance</a></strong> &#8211; removes any unique permissions assigned to an item by inheriting list permissions</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Is%20User%20a%20member%20of%20a%20SharePoint%20group&amp;referringTitle=Home">Is User a member of a SharePoint group</a></strong> &#8211; Checks if a given user is part of given SharePoint group</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Is%20Role%20assigned%20to%20User&amp;referringTitle=Home">Is Role assigned to User</a></strong> &#8211; Checks if a user role is already assigned on the current list item</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Lookup%20user%20info&amp;referringTitle=Home">Lookup user info</a></strong> &#8211; allows to lookup properties in site&#8217;s user information list for a given login</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Copy%20List%20Item%20Extended%20Activity&amp;referringTitle=Home">Copy List Item Extended Activity</a></strong> &#8211; Allows copying/moving list items and files cross site.</li>
<li><strong>Send Email Extended</strong> &#8211; Enhanced version of the OOTB activity. Allows you to specify the sender. Also does not break links in body.</li>
</ul>
<p>The two that we will be utilising to ultimately provide us with the ability to set item level permissions upon submitting a form are;</p>
<ul>
<li>Delete List Item Permission Assignment and Grant Permission on Item.</li>
</ul>
<p>After installing the solution on your SharePoint Farm, launch SharePoint Designer and browse to the site where the Form Library in question exists and select File / New / Workflow.</p>
<p>Enter a name for the Worfkflow, select your SharePoint Forms Library and select, “Automatically start this workflow when a new item is created.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2010/03/image7.png"><img style="display: inline; border: 0px;" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2010/03/image_thumb7.png" border="0" alt="image thumb7 Item level permissions for InfoPath forms via SharePoint Designer Workflows" width="491" height="317" /></a></p>
<p>Click Next.</p>
<p>We now need to set our Actions.  The first set of actions will be to delete any permissions that are no longer required that are being inherited, notably any viewer and contributor rights.  We do so by selecting the “Delete List Item permission Assignment” under Action.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2010/03/image8.png"><img style="display: inline; border: 0px;" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2010/03/image_thumb8.png" border="0" alt="image thumb8 Item level permissions for InfoPath forms via SharePoint Designer Workflows" width="563" height="222" /></a></p>
<p>We will click on “this item” hyperlink and select “Current Item”</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2010/03/image9.png"><img style="display: inline; border: 0px;" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2010/03/image_thumb9.png" border="0" alt="image thumb9 Item level permissions for InfoPath forms via SharePoint Designer Workflows" width="411" height="136" /></a></p>
<p>We next click on “this user” hyperlink and select the SharePoint Group(s) that no longer require access to the entire library.  We repeat this process until all the unnecessary permissions are removed.</p>
<p>Next we select Actions and utilise the “Grant Permission on Item” activity.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2010/03/image10.png"><img style="display: inline; border: 0px;" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2010/03/image_thumb10.png" border="0" alt="image thumb10 Item level permissions for InfoPath forms via SharePoint Designer Workflows" width="472" height="201" /></a></p>
<p>We next click on “this level” hyperlink and type in one of the available permissions</p>
<p>Full Control<br />
Design<br />
Contribute<br />
Read</p>
<p>In this example, I will type in Contribute, and then click on “this item” hyperlink and select “Current Item”.  Lastly, I will click on “this user” hyperlink and select,  “Workflow Lookup…” / Current Item / Created By.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2010/03/image11.png"><img style="display: inline; border: 0px;" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2010/03/image_thumb11.png" border="0" alt="image thumb11 Item level permissions for InfoPath forms via SharePoint Designer Workflows" width="527" height="356" /></a></p>
<p>This will allow the author of the form to have contributor access only to the items they create.  You can then repeat the above process to potentially add a “Reviewers” group to have the same access.</p>
<p>If we now navigate to the Forms Library in Question and locate an form item that has been submitted under the new workflow we will notice the correct permissions being applied.</p>
<p>In the below example, the Author Sarah has contribute permission, and I have two other specific groups also being assigned the necessary permissions based on the business process.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2010/03/image12.png"><img style="display: inline; border: 0px;" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2010/03/image_thumb12.png" border="0" alt="image thumb12 Item level permissions for InfoPath forms via SharePoint Designer Workflows" width="660" height="156" /></a></p>
<p>In summary, it is definitely possible to provide item level permissions to your submitted InfoPath forms without the need of code.  If you know of another method of providing the above, don’t hesitate to share your ideas via the comments below.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2010/item-level-permissions-infopath-forms-sharepoint-designer-workflows/' addthis:title='Item level permissions for InfoPath forms via SharePoint Designer Workflows ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2010/item-level-permissions-infopath-forms-sharepoint-designer-workflows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Workflows and InfoPath Form Services</title>
		<link>http://sharepointgeorge.com/2009/sharepoint-workflows-and-infopath-form-services/</link>
		<comments>http://sharepointgeorge.com/2009/sharepoint-workflows-and-infopath-form-services/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 11:22:00 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[InfoPath]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2007]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/2009/sharepoint-workflows-and-infopath-form-services/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/sharepoint-workflows-and-infopath-form-services/' addthis:title='SharePoint Workflows and InfoPath Form Services ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>One of the biggest selling points of SharePoint is the ability to extend and automate day to day business processes. This is usually one of my key points of emphasis when demonstrating SharePoint&#8217;s capabilities to key stakeholders of the business. What I am specifically referring to here is the ability to take an everyday business [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/sharepoint-workflows-and-infopath-form-services/' addthis:title='SharePoint Workflows and InfoPath Form Services ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/sharepoint-workflows-and-infopath-form-services/' addthis:title='SharePoint Workflows and InfoPath Form Services ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>One of the biggest selling points of SharePoint is the ability to extend and automate day to day business processes. This is usually one of my key points of emphasis when demonstrating SharePoint&#8217;s capabilities to key stakeholders of the business. What I am specifically referring to here is the ability to take an everyday business process, analysing the steps, people and processes involved and automating that through electronic workflows. Workflows within SharePoint automate otherwise manual and usually repetitive business processes, providing you with the ability to add some smarts to routing processes within workflows such as emailing certain people within the organisation when certain tasks have been completed.</p>
<p>One of my main goals in a recent SharePoint project that I have been working on over the last several months is to create common electronic forms utilising Microsoft InfoPath and building workflows behind each form which transports the form from start to completion in an electronic fashion. Let&#8217;s take the humble Leave Form as an example. You will find one of these in many organisations and are usually either a Microsoft Word or Excel template that is either printed and handwritten or typed up and printed, notice the common action &#8220;printed&#8221;. Once the form is printed, it is usually passed on to a manager for approval which is further passed to Human Resources for processing. This is usually a manual process that involves transporting a piece of paper from desk to desk before it gets the stamp of approval.</p>
<p>So how could we automate and extend this process you may ask? Quite easily with InfoPath Form Services and SharePoint workflows. Let&#8217;s take our humble Leave Form again as an example, but this time the user will submit an InfoPath form online electronically which then triggers an automatic workflow transporting the submitted form to your manager and to HR through task assigned emails in Microsoft Outlook.</p>
<p>In further posts, I will introduce InfoPath Form Services and SharePoint workflows in a lot more detail with pretty pictures, providing you with an insight on how automation is possible through these technologies. The above is a great selling point for large organisations to introduce SharePoint into their environment, providing consistency and structure to business processes.</p>
<p>Until next time &#8230;</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/sharepoint-workflows-and-infopath-form-services/' addthis:title='SharePoint Workflows and InfoPath Form Services ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2009/sharepoint-workflows-and-infopath-form-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

