<?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.Sharon</title>
	<atom:link href="http://www.sharepointsharon.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointsharon.com</link>
	<description>news and tips about SharePoint and friends</description>
	<lastBuildDate>Tue, 24 Jan 2012 12:03:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>InfoPath 2010 &#8211; Save Early, Save Often</title>
		<link>http://www.sharepointsharon.com/2011/12/infopath-2010-save/</link>
		<comments>http://www.sharepointsharon.com/2011/12/infopath-2010-save/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 16:51:34 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[infopath]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=2834</guid>
		<description><![CDATA[This post is part of a series of InfoPath tips and tricks that use InfoPath and SharePoint 2010 &#8216;out of the box&#8217;, no custom coding required. All the articles can be found on the Forms &#38; InfoPath page under SharePoint 2010 Resources. As with all other posts, this is not a complete tutorial and assumes [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F12%2Finfopath-2010-save%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F12%2Finfopath-2010-save%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This post is part of a series of InfoPath tips and tricks that use InfoPath and SharePoint 2010 &#8216;out of the box&#8217;, no custom coding required. All the articles can be found on the <a href="http://www.sharepointsharon.com/resources/handbook-2010/features/forms-and-infopath/">Forms &amp; InfoPath</a> page under SharePoint 2010 Resources. As with all other posts, this is not a complete tutorial and assumes prior knowledge of InfoPath.</p>
<p>InfoPath 2010 has much better support for browser forms and that means you don&#8217;t need InfoPath to be installed everywhere to fill out the forms. The downside is the browser. It&#8217;s not always the most reliable puppy and it doesn&#8217;t come with the built-in &#8216;autosave&#8217; that peope have become used to with Office applications. It doesn&#8217;t come with spell checking either if you&#8217;re using IE but that&#8217;s a separate IE related gripe.</p>
<p>By default, InfoPath forms being filled out using just the browser will include three options for the user whilst they are filling out the form: Save (saves the form), Close (closes the form, will prompt the user if the form hasn&#8217;t been saved), and Submit (saves and closes the form).</p>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-1a.jpg"><img class="aligncenter size-full wp-image-2917" title="InfoPath default save options" src="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-1a.jpg" alt="InfoPath default save options" width="470" height="132" /></a></p>
<p>Whilst you can leave these buttons showing on the form and let the person filling in the form do manual saves, the alternative approach is make the process part of the form instead.  This can have a number of different benefits, such as including automatic saves periodically to avoid losing data.</p>
<h3>Data Connections</h3>
<p>To be able to submit a form, you need at least one data connection configured to submit data. If you haven&#8217;t already created one, it will be part of the process when you go to publish your form design.  This post assumes you already have sufficient knowledge of InfoPath to have figured out how to create data connections and publish your form design.</p>
<h3>Form Options</h3>
<p>The form options control what buttons are visible by default when a user opens the form. You can configure the settings for the web browser and for the InfoPath Form Filler (client application alternative to the web browser).  They are accessed by going to the File menu and clicking on the Form Options button.</p>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-2.jpg"><img class="aligncenter size-full wp-image-2903" title="InfoPath Form Options" src="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-2.jpg" alt="InfoPath Form Options" width="536" height="374" /></a></p>
<p>The options should be self-explanatory. For simple forms, I remove the commit options and often the Views section too, controlling the form through its design.</p>
<h3>Submit Options</h3>
<p>Also in the File menu of InfoPath, you can configure the Submit Options for the form, i.e. what happens when a user clicks the standard Submit button.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-5.jpg"><img class="aligncenter size-full wp-image-2906" title="InfoPath Submit Options" src="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-5.jpg" alt="InfoPath Submit Options" width="445" height="515" /></a></p>
<p>Your default submit data connection should be selected and in many forms, there will be only one. Click the Advanced button and make sure that &#8216;After submit:&#8217; is set to close the form. You can also choose to configure the message after the Submit button is clicked.  An alternative is to control where the user ends up after clicking the submit button, for example landing on a page that confirms the form was submitted and provides next steps. That is all done within SharePoint and not for this post&#8230;</p>
<p>One important note about your default data connection. If the form will be edited more than once, the data connection used for Submit Options must be configured to overwrite when it is saved, otherwise the form will error and not be saved more than once.  It is also important that you have an automatic file name convention in use, to ensure all forms have a unique name and do not overwrite each other.</p>
<p>So with a data connection or two, the form options and submit options configured, we&#8217;ll look at three different scenarios for building automatic saves in to your form.</p>
<h3>Scenario 1: Submit button in the form.</h3>
<p>This is the simplest scenario. Add a button to the end of the form and configure it as a Submit button, i.e. it will behave exactly the same as the Submit button we just removed from the Form Options.  You would typically add this button to the end of your form as the final step -  to submit and close the form.</p>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-3.jpg"><img class="aligncenter size-full wp-image-2904" title="InfoPath Submit Action" src="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-3.jpg" alt="InfoPath Submit Action" width="629" height="259" /></a></p>
<p>In the image above, I have added a button to the form and set its properties. Note that the button Action is Submit. This action will follow the Submit Options configured in the File menu.  And this is one of the areas where InfoPath can get confusing. You can see the Submit Options button on this button dialogue box. It would be easy to assume that you are configuring the options just for this button. But you aren&#8217;t. It takes you straight to the same Submit Options you can access via the File menu. Making a change here will affect all buttons configured to use the Submit action (e.g. if you are still displaying Submit on the toolbar configured under File Options).</p>
<p>Also, to add to the confusion, you can change the button label.  A button using the Submit action may not be called Submit. A button called Submit may not be using the Submit action&#8230;</p>
<h3>Scenario 2:  Save button in the form.</h3>
<p>In this scenario, the initial steps are the same &#8211; add a button to the form. However, instead of configuring the button to use the &#8216;Submit&#8217; action, we will configure the action to be &#8216;Rules and Custom Code&#8217; instead.  This allows us to build up a set of rules to control what actions occur. The easiest of which is to just save the form but not close it &#8211; this enables you to create periodic automatic saves whilst the form is still being edited. Recommended for long forms or forms with sections containing large paragraphs of text.</p>
<p>To demonstrate, we will use a sample from a previous blog post: <a href="http://www.sharepointsharon.com/2011/11/infopath-2010-one-form-multiple-views/">One form, multiple views.</a> In that post, we created a picture button and used it to switch views when clicked. This is a good way of breaking down a large form into multiple pages (views).</p>
<p>A simple addition, to build in automatic saves, is to add to the rules for our &#8216;Next&#8217; button:</p>
<ul>
<li>Click on the button or image you are using to switch views</li>
<li>In the Manage Rules task pane, you should already have one rule configured &#8211; an action to switch view. We are simply going to add another action.</li>
<li>Next to &#8216;Run these actions&#8217; click Add and select <strong>Submit data</strong>.</li>
<li>In the Rule Details dialogue box, for the Data connection, make sure you have selected the correct data connection (if you have more than one).</li>
<li>Finally, you need this action to run first, before the form switches view. So move the action up above your existing &#8216;Switch to view&#8217; action.</li>
<li>And that&#8217;s it. The form will now be saved when the user clicks the button/image to switch to the next view.</li>
</ul>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-4.jpg"><img class="aligncenter size-large wp-image-2911" title="InfoPath Submit as a rule" src="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-4-1024x481.jpg" alt="InfoPath Submit as a rule" width="614" height="289" /></a></p>
<p>In the image above, you can see the Rule Details for the &#8216;Next&#8217; image button on my form.The rule to switch view will first submit the form (save it) and then switch to a different view.</p>
<p>This is another area of InfoPath that can cause confusion. Whilst the action is called &#8216;Submit data&#8217;, it does not behave in the same way as the &#8216;Submit&#8217; action used in Scenaro 1. The default Submit Options are not applied. It simply submits &#8211; saves &#8211; the form using the selected data connection. If you also wanted to close the form using rules, there is a separate action to close the form.  This approach is very useful for more advanced forms, where you can build in validation checks and status updates as part of the submit process.</p>
<h3>Scenario 3: Save automatically to capture key data</h3>
<p>The third scenario we will cover in this blog post is an expansion to a previous blog post: <a href="http://www.sharepointsharon.com/2011/11/infopath-2010-reference-filename/">Assigning a unique reference number</a>. In that post, we use a data connection to retrieve data and automatically calculate a reference number for the form. As one quick commenter spotted, the risk with the method is that two forms are opened at the same time, each will calculate the same reference number. Here&#8217;s how to prevent that happening.</p>
<p>To create a unique reference number when a new form is filled out, instead of putting the calculation straight into the refNo field as its default value, we will use a rule to calculate the field&#8217;s value and then immediately save the form. We will also use a data connection configured to not overwrite files as an additional precaution.</p>
<p>To do this, you need to create a second data connection to submit data to the SharePoint library. This data connection must be absolutely identical to your default submit data connection with one exception &#8211; uncheck the box to prevent files being overwritten.</p>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-61.jpg"><img class="aligncenter size-full wp-image-2913" title="InfoPath data connection properties" src="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-61.jpg" alt="InfoPath data connection properties" width="704" height="517" /></a></p>
<p>In the image above, you can see the three data connections I am using for this example. Retrieve ID is a retrieve data connection, to get the ID values from the SharePoint list used to calculate the next reference number.  SharePoint Library Submit is my default submit connection which is configured to allow overwrites &#8211; i.e. it can be used repeatedly throughout the form. The &#8216;Save after assigning reference number&#8217; submit data connection will only be used once. It has been configured to not allow overwrites so if two files try to save at the same time, one will suceed and one will display an error message. It would be a rare occurrence but eliminates the risk of one form overwriting another or being given the same reference number.</p>
<p>With your second data connection ready, the next step is to create the process for calculating a reference number and saving the form.</p>
<ul>
<li>Click on the refNo control in your form and clear its default value or change the default value to text such as &#8216;TBA&#8217;.  Leave the control on the form set to read only.</li>
<li>Add a button next to your refNo field. In it&#8217;s properties, set the action to &#8216;Rules and Custom Code&#8217; and set the label to something like &#8216;Click to allocate reference number&#8217;</li>
<li>Click on the button and, if it&#8217;s not already displaying, open the Manage Rules taskpane</li>
<li>Click New and select <strong>Action</strong>. Give the rule a name such as &#8216;Assign reference number&#8217;</li>
<li>It is important that clicking the button will only calculate the reference number once. So we need a condition. Set the condition that the rule will run when the refNo field is equal to whatever you set the default value to.</li>
<li>Next to &#8216;Run these actions&#8217;, click Add and select <strong>Query for data</strong></li>
<li>In the Rule Details dialogue box, select your Retrieve ID data connection. This will ensure the latest ID in use is retrieved.</li>
<li>Next to &#8216;Run these actions:&#8217;, click <strong>Add</strong> again and select <strong>Set a field&#8217;s value</strong></li>
<li>In the Rule Details dialogue box, select the field refNo and next to the Value box, click the <strong><em>fx</em></strong> button. Enter the same calculation you used for the original post to calculate the unique reference number. Click OK to complete</li>
<li>Next to &#8216;Run these actions:&#8217; click <strong>Add</strong> again, this time select <strong>Submit data</strong></li>
<li>In the Rule Details dialogue box, make sure your &#8216;Save after assigining a reference number&#8217; submit data connection is used. This one will ensure that the form does not overwrite another. Click OK</li>
<li>And that&#8217;s it*. We now get the user to initiate the calculation for assigning the unique reference number and automatically save the form as soon as the calculation complete.</li>
</ul>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-62.jpg"><img class="aligncenter size-large wp-image-2914" title="InfoPath save after query" src="http://www.sharepointsharon.com/wp-content/uploads/2011/12/infopathsave-62-1024x440.jpg" alt="InfoPath save after query" width="614" height="264" /></a></p>
<p>In the image above, you can see the three actions used to query the information needed for the reference number, setting the refNo field value by calculation &#8211; adding 1 to the largest ID retrieved, then immediately saving using our special data connection that will not overwrite an existing form.</p>
<p>*An additional tip. To make sure that the user clicks the button to assign a reference number, you could add a validation rule to the next field and pop up a message if the refNo is still set to &#8216;TBA&#8217;. More useful, I disable all other save options and add a note to the form (you can see an example in the image above). The Next button has been configured to save and then switch views (configured for Scenario 2). In Scenario 2, we left the condition as empty, save and switch views whenever the button is clicked. Instead, add the reverse condition to the &#8216;Assign a reference&#8217; button.  The Next button will only work if the refNo field is <strong>not</strong> equal to TBA.</p>
<h3>Wrap-up</h3>
<p>So there you have it. This is one of the most important tips to consider when using browser-based InfoPath forms. Save early. Save often.  Hopefully this post has also shown the value and power in using rules to control how and when that happens within your form.</p>
<p>A final tip. We could build automatic save points throughout the form without requiring the user to do anything. For example, in the sample form used for this post, we could automatically save when the user selects a product.  The benefit of getting the user to click something like a button is setting expectations. When buttons are clicked, we expect an action to complete immediately but don&#8217;t worry if there is a bit of a delay. However, if rules are triggered automatically in the background as we navigate through fields on a form, users may worry if one field causes a delay and may start trying to refresh the browser or other actions that won&#8217;t help them.  Even if you don&#8217;t need the button, it&#8217;s a useful approach to design for web forms that may be accessed over unreliable network connections.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2011/12/infopath-2010-save/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>InfoPath 2010 &#8211; one form, multiple views</title>
		<link>http://www.sharepointsharon.com/2011/11/infopath-2010-one-form-multiple-views/</link>
		<comments>http://www.sharepointsharon.com/2011/11/infopath-2010-one-form-multiple-views/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 15:45:45 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[infopath]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=2837</guid>
		<description><![CDATA[This is part of a series of posts about some InfoPath tips and tricks. It’s not an introductory tutorial and will assume that you have some knowledge of InfoPath.  All solutions will use InfoPath 2010 with SharePoint 2010. A really useful feature in InfoPath is the ability to create multiple views within a single form.  [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F11%2Finfopath-2010-one-form-multiple-views%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F11%2Finfopath-2010-one-form-multiple-views%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is part of a series of posts about some InfoPath tips and tricks. It’s not an introductory tutorial and will assume that you have some knowledge of InfoPath.  All solutions will use InfoPath 2010 with SharePoint 2010.</p>
<p>A really useful feature in InfoPath is the ability to create multiple views within a single form.  These can be used for two key benefits:</p>
<ul>
<li>Display a different view when the form is opened &#8211; useful for automating processes e.g. after a new form has been submitted, a reviewer opens the same form but sees a Reviewers view with different fields available to edit.</li>
<li>Break a form into smaller chunks by switching views whilst the form is open &#8211; useful for easier viewing amongst other things&#8230;</li>
</ul>
<h3>Create a new view</h3>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-newview.jpg"><img class="aligncenter size-full wp-image-2838" title="InfoPath View menu" src="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-newview.jpg" alt="InfoPath View menu" width="256" height="119" /></a></p>
<p>With a form open in InfoPath 2010 Designer, click on the Page Design tab in the menu. On the left of the menu is a Views section. Here you can set the properties for the current view, delete it and create a New View.  (Page Setup just opens the Properties with the Page Setup tab instead of the General tab).</p>
<p>If you want to create a new view, click New View&#8230;</p>
<p>Within Properties for the current view, there are some useful settings worth considering.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-viewproperties.jpg"><img class="aligncenter size-full wp-image-2844" title="InfoPath Form View properties" src="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-viewproperties.jpg" alt="InfoPath Form View properties" width="373" height="179" /></a></p>
<p>On the General tab, a box is checked &#8216;Show on the View menu when filling out this form&#8217;. If you want to control what view a person can see during the process (e.g. when filling out a new form, you don&#8217;t want people to also complete the Reviewer&#8217;s section) then uncheck this box.  If it is checked, it will be visible in a dropdown menu (unless the View menu itself is disabled &#8211; more on that in a separate post).</p>
<p>Under Print Settings, you can control which view appears when a user goes to print the form. This is a great little feature. Create a dedicated &#8216;Print&#8217; view, and then for all other views, configure the Print Settings to open the Print view.  For the Print view itself, under General set it to be Read-only.</p>
<p>Finally, make sure you pick carefully which form is to be the default view. In the absence of any criteria saying otherwise, this will be the view that opens.  In most cases, this should be the &#8216;New Form&#8217; view, since it will be the view that opens when someone goes to create a new form.</p>
<h3>Display a different view when the form is opened</h3>
<p>You should want the &#8216;new form&#8217; view to be displayed when a new form is created. But once it has been saved and submitted to a library in SharePoint, you may want a different view to then be displayed for editing or for specific stages of a process.</p>
<p>To do this, you need a criteria to determine what stage the form is at.  I tend to use a &#8216;formStatus&#8217; field that is updated based on what the user does with the form. The value of the formStatus field then determines which view is opened. Here&#8217;s how:</p>
<p><strong>Step 1: Create and manage a formStatus field</strong></p>
<p>Create a field called <strong>formStatus</strong>, of data type Text (note: this field doesn&#8217;t need to be added to the form, it can be created direct in the Fields list). Set the default value for the field as <strong>New</strong>.</p>
<p>Add a Button control to your page. For its properties, make the label &#8216;Submit&#8230;&#8217; (or similar), leave the Action set to Rules and Custom Code and click OK.</p>
<p>Single click on the button and the Rules taskpane should appear on the right of the page. If it doesn&#8217;t, in the Home menu, click on Manage Rules (you must have the button selected to create a rule for it).</p>
<ul>
<li>In the Rules task pane, click New and select Action</li>
<li>Give the rule a title (Details), e.g. &#8216;Update Form Status to Submitted&#8217;</li>
<li>You don&#8217;t need to set a condition, the rule will run when the button is clicked</li>
<li>Next to actions, click Add and select &#8216;Set a field&#8217;s value&#8217;</li>
<li>In the Rule Details dialogue box, for the field, select your formStatus field, and for the value, type &#8216;Submitted&#8217; and click OK</li>
</ul>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-buttonsubmit.jpg"><img class="aligncenter size-full wp-image-2849" title="InfoPath design to update a field" src="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-buttonsubmit.jpg" alt="InfoPath design to update a field" width="593" height="239" /></a></p>
<p>Now, when a user creates a new form, it will start with a formStatus of New. When the user clicks to submit the form, the formStatus will be updated to Submitted.</p>
<p><strong>Step 2: Configure the form to switch views when it is opened</strong></p>
<p>We can now control which view of a form is opened based on the formStatus field. Note: this requires having at least two views already configured, for example: New Form (Default) and Review Form with additional fields for a reviewer to complete.</p>
<p>In InfoPath, click on the Data tab to display the Data Menu. To the far right of the menu is a section called Rules. Click on Form Load. This is a special rule  for controlling what happens when the form is opened (or &#8216;loaded&#8217; into memory, hence the geeky label).</p>
<ul>
<li>In the Rules task pane, make sure the title shows as Form Load. Click the New button and select Action (its the only option available to use)</li>
<li>Provide a title (Details for) the rule, call it something like &#8216;Open Review View for Submitted forms&#8217;</li>
<li>Set the condition to be where formStatus is equal to Subitted.</li>
<li>Next to Run these actions, click Add and select Switch views.</li>
<li>In the Rule Details dialogue box, select the view you want to be opened when the formStatus is Submitted. Click OK</li>
</ul>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/11/InfoPath-formload.jpg"><img class="aligncenter size-full wp-image-2845" title="InfoPath Form Load Rule" src="http://www.sharepointsharon.com/wp-content/uploads/2011/11/InfoPath-formload.jpg" alt="InfoPath Form Load Rule" width="536" height="472" /></a></p>
<p>In the image above, you can see the rules I have created for the Form Load. For completeness, I recommend creating a rule to open the New Form view. Yes this will be opened by default, but I like to cover all possibilities. As long as you manage that formStatus field, you can be certain which form view will open at any time during the process.</p>
<h3>Switch views whilst the form is still open</h3>
<p>As well as controlling which view is displayed when the form is opened, we can switch views whilst still in the form. This is recommended if you have a large form &#8211; break it into chunks. You can do more than just switch views at each stage&#8230;</p>
<p>If you choose to have the views displayed in the View menu, the user can pick any view at any time. You might not want to let them do that. A more manageable method is to make switching views part of filling out the form. At the end of each view, add a button to proceed to the next view (and go back to the previous one if you want to).</p>
<p><strong>Step 1: Add a button to your form</strong></p>
<p>On the Home menu, in the Controls box add a Button  control or, if you want to make it even more obvious, add a Picture Button control and use arrows instead.</p>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-viewbutton.jpg"><img class="aligncenter size-full wp-image-2847" title="InfoPath with a picture button" src="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-viewbutton.jpg" alt="InfoPath with a picture button" width="497" height="168" /></a></p>
<p>In the image above, I have added a Picture Button control and selected my home made Arrow picture. See end of the post for a tip on creating your own.</p>
<p><strong>Step 2: Add a rule for when the button (or Picture button) is clicked</strong></p>
<p>Make sure your button is selected (has the square handles displayed around it) and open the Rules taskpane if it isn&#8217;t currently showing (on the Home menu, click Manage Rules)</p>
<p>In the Rules taskpane</p>
<ul>
<li>Click the New button and select Action</li>
<li>Provide a title (Details for) and give is a useful name, e.g. Switch to View 2</li>
<li>You don&#8217;t need to set a condition, you want this rule to run whenever the button is clicked.</li>
<li>Next to Run these actions, click Add and select Switch Views</li>
<li>In the Rule Details dialogue box, select the view you want to switch to and click OK</li>
</ul>
<p>And hey presto, we can now switch views as part of completing the form. The image belows shows my form in Design mode with the rule configured.</p>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-buttondesign.jpg"><img class="aligncenter size-full wp-image-2848" title="InfoPath Button with Rule" src="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-buttondesign.jpg" alt="InfoPath Button with Rule" width="587" height="242" /></a></p>
<p>&#8212;<br />
How to create that arrow? If you want a simple DIY cheat to create images for Picture buttons, open PowerPoint.  Within PowerPoint, create the image you want. Then right click and choose Save as Picture&#8230;</p>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-picturebutton.jpg"><img class="aligncenter size-full wp-image-2850" title="Creating a picture using PowerPoint" src="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-picturebutton.jpg" alt="Creating a picture using PowerPoint" width="471" height="363" /></a></p>
<p>In the image above, in PowerPoint I simply inserted an arrow from the Shapes available in the Insert menu (Illustrations section), added a bit of text, removed the chunky line around it, then right-clicked and saved as a picture.  Then in InfoPath, open the properties of your Picture button and select your image.</p>
<p>And that&#8217;s all for now. Some tips for using views in forms.</p>
<p>All good forms should have more than one view. As a simple rule of thumb, if you only need one view, you don&#8217;t need a Forms library, you should just use a standard SharePoint list and modify the form that comes with the list (it&#8217;s a ready-made InfoPath form) which is far quicker and easier to do.</p>
<p><a href="http://www.sharepointsharon.com/resources/handbook-2010/features/forms-and-infopath/">Click Here</a> to view other InfoPath posts in this series.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2011/11/infopath-2010-one-form-multiple-views/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>InfoPath 2010 &#8211; assigning a unique reference</title>
		<link>http://www.sharepointsharon.com/2011/11/infopath-2010-reference-filename/</link>
		<comments>http://www.sharepointsharon.com/2011/11/infopath-2010-reference-filename/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 11:58:08 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[infopath]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=2808</guid>
		<description><![CDATA[This is the first in a series of posts about some InfoPath tips and tricks that I&#8217;ve been using over the past 12 months. It&#8217;s not an introductory tutorial and will assume that you have some knowledge of InfoPath.  All solutions will use InfoPath 2010 with SharePoint 2010. This post will show how to create [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F11%2Finfopath-2010-reference-filename%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F11%2Finfopath-2010-reference-filename%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-feature1.jpg"><img class="aligncenter size-medium wp-image-2824" title="InfoPath form with unique reference number" src="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-feature1-300x120.jpg" alt="InfoPath form with unique reference number" width="300" height="120" /></a></p>
<p>This is the first in a series of posts about some InfoPath tips and tricks that I&#8217;ve been using over the past 12 months. It&#8217;s not an introductory tutorial and will assume that you have some knowledge of InfoPath.  All solutions will use InfoPath 2010 with SharePoint 2010.</p>
<p>This post will show how to create a unique reference number in the form and how to then use that number automatically as part of the filename.</p>
<p>A big improvement with InfoPath 2010 and SharePoint 2010 is the ability to not just submit the form to SharePoint but also to automatically configure a filename as part of the process. If you also assign a unique reference number, you can ensure that files are not automatically overwritten because they share the same name or fail to submit because you configured to prevent overwriting files.</p>
<p>To do this, you need to create field that contains a unique reference number and include it as part of the formula for generating a filename.</p>
<h2>Create the Reference Number</h2>
<p>To create the reference number, we will use the ID column from the SharePoint Forms Library where these forms will be stored.</p>
<h3>Preparation</h3>
<ul>
<li>Within the SharePoint site where you want the forms to be stored, create a Forms Library.</li>
<li>Open InfoPath 2010 Designer and create a new form using the template SharePoint Form Library</li>
<li>Within the InfoPath form, add a Text Box control to your form, rename it &#8216;refNo&#8217;.  Add a note along the lines &#8216;The reference number will be automatically assigned when you submit this form&#8217;</li>
</ul>
<p>Done! The image at the start of this post shows the sample form I am using for this post.</p>
<h3>Step 1: Set up a data connection to receive data from SharePoint</h3>
<ul>
<li>Within InfoPath, open the Manage Data Connections dialogue box. Either click on Manage Data Connections at the bottom of the taskpane on the right of your page (if it&#8217;s open), or click on the Data tab in the ribbon at the top of the page, and then click on Data Connections.</li>
<li>In the Data Connections dialogue box, click the Add button</li>
<li>Follow the Data Connection Wizard:</li>
<ol>
<li>Select Create a new connection to <strong>Receive Data</strong> and click Next</li>
<li>Select the source of your data: <strong>SharePoint library</strong> or list and click Next</li>
<li>Enter the URL for the SharePoint site you created for your Form and click Next</li>
<li>Select the InfoPath forms library and click Next</li>
<li>In the Select fields box, ID will already be selected. Unless this connection is going to be used to retrieve other data from the library, click Next</li>
<li>Do <strong>not</strong> tick the box to store a copy of the data in the form template.</li>
<li>Enter a name for the connection, e.g. &#8216;Retrieve ID&#8217; and do check the box to automatically retrieve data when the form is opened. Click Finish and then close the data connections dialogue box</li>
</ol>
</ul>
<h3>Step 2: Configure the Reference Number field</h3>
<ul>
<li>Open the properties for the Text Box on the form bound to the refNo field</li>
<li>Next to the Default Value box, cick on the <strong><em>fx</em></strong> button.</li>
<li>In the Insert Fomula dialogue box, click Insert Function button. Select the &#8216;max&#8217; function and click OK.</li>
<li>In the Formula area you should now see <strong>max(<span style="text-decoration: underline;">double click to insert field</span>)</strong>. Double click to insert a field.</li>
<li>In the Select a Field or Group dialogue box, you need to change the Fields list from &#8216;Main&#8217; to &#8216;Retrieve ID (Secondary)</li>
<li>You then need to select the ID column, but make sure you pick from the dataFields, not queryFields. See image below</li>
</ul>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-calc.jpg"><img class="aligncenter size-medium wp-image-2814" title="InfoPath setting default value" src="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-calc-300x184.jpg" alt="InfoPath setting default value" width="300" height="184" /></a></p>
<ul>
<li>Your formula should now look like <strong>max(<span style="text-decoration: underline;">ID</span>)</strong>.  To make the reference number unique, we are going to add +1 to the formula, so that it retrieves the current largest ID in the SharePoint library and then adds 1. In otherwords, we are calculating the ID for this form before it has been submitted and has the ID number generated.</li>
<li>The complete formula should look as follows: <strong>max(ID)+1</strong><br />
If you want to start at a different number, add more than 1 to the ID, e.g. +100. If you want to include text in the reference, use the concat function.<strong><br />
</strong></li>
<li>Click OK.  Just below the Default Value field is a check box called &#8216;Refresh value when formula is recalculated. It is checkedby defualt. <strong>Uncheck the box</strong>. We do not want this field to refresh the calculation after the default value has been set.</li>
<li>Whilst still in the Text Box properties, click the Display tab and set the field to be Read Only to prevent users from accidentally changing the reference number.</li>
</ul>
<h2>Create the Filename and Publish to SharePoint</h2>
<p>There are two stages to complete when creating InfoPath forms for use in SharePoint libraries:</p>
<ul>
<li>Setup the Submit Options for the form, where you can specify what happens when completed forms are submitted, including automatically generating a filename.</li>
<li>Configure the Publish settings to publish this form template to the SharePoint library, including promoting fields into SharePoint columns.</li>
</ul>
<h3>Step 1: Set up a data connection to submit the form to SharePoint</h3>
<p>There are various places to start this process. You can either click on Manage Data connections whilst the form is open, or click on the File menu and click the button &#8216;Submit Options&#8217; that will take you through the same process.</p>
<ul>
<li>Open the Manage Data Connections dialogue box</li>
<li>In the Data Connections dialogue box, click Add.</li>
<li>Follow the Data Connection Wizard:</li>
<ol>
<li>Select Create a new connection to <strong>Submit data</strong> and click Next</li>
<li>Select to submit the data <strong>To a document library on a SharePoint site</strong> and click Next</li>
<li>Enter the URL to the document library you created during Preparation</li>
<li>For the Filename, click the <strong><em>fx</em></strong> button and create a formula to generate your filename.<br />
You can choose your own formula to autogenerate the filename, just make sure it includes the refNo field to ensure each form has a unique filename.  The image below shows my formular which will generate filename as &#8216;Feedback-NNN&#8217;, where NNN is the refNo.<br />
<a href="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-Filename.jpg"><img class="aligncenter size-medium wp-image-2815" title="InfoPath configuring filename" src="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-Filename-300x205.jpg" alt="InfoPath configuring filename" width="300" height="205" /></a></li>
<li>When you&#8217;ve finished click next, enter a name for your connection, e.g. Submit form to SharePoint, and click Finish</li>
</ol>
</ul>
<h3>Step 2: Configure the Publish settings</h3>
<ul>
<li>Click on the File tab in the InfoPath menu</li>
<li>Within the File menu, click the big Publish button. If you can&#8217;t see it, click on Publish in the navigation on the left. Do <strong>not</strong> click Quick Publish if it is visible, unless you have already completed this step.</li>
<li>In the Publish menu, click on the big SharePoint Server button.</li>
<li>Follow the Publishing Wizard:</li>
<ol>
<li>Enter the URL for the SharePoint site containing your Forms library and click Next</li>
<li>Assuming you want to, check the box to Enable this form to be filled out by using a browser (it&#8217;s checked by default) and check &#8216;Form Library&#8217; for what you want to create or modify. Click Next.</li>
<li>Select the button to Update the form template in an existing form library. And choose the same Form library that you used to retrieve the ID field. Click Next.</li>
<li>In the next screen, you can add fields from the form that will be promoted into corresponding columns in the SharePoint library. We&#8217;re not adding any as part of this example. Click Next. And then click Publish.</li>
<li>Assuming your form publishes successfully, click Close.</li>
</ol>
</ul>
<h2>Testing</h2>
<p>We&#8217;re now ready to test our form and check that it is creating a unique reference for each form and then using that reference in the filename.</p>
<ul>
<li>Go to your InfoPath library on your SharePoint site</li>
<li>Click the &#8216;Add document&#8217; link and create a new form.  Click the Submit button to save and close.</li>
<li>Repeat and create a second form.</li>
<li>Check the library to see if the filenames are showing correctly*. You can also re-open the forms and should see the reference number populated</li>
</ul>
<p>*<br />
The very first form in the library will have a reference number of NaN, because there currently are no IDs to calculate from. As soon as the library has at least one form, the calculation will work. This is important to remember. If you are creating these libraries for other users, make sure you leave one test form behind and only delete it once they have created at least one proper form.</p>
<p>Below shows my Form library with forms submitted, the first showing the NaN reference.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-libraryfiles1.jpg"><img class="aligncenter size-full wp-image-2830" title="InfoPath forms library" src="http://www.sharepointsharon.com/wp-content/uploads/2011/11/infopath-libraryfiles1.jpg" alt="InfoPath forms library" width="431" height="132" /></a></p>
<p>Final note: If you&#8217;d be interested in attending a webinar to go through these steps, please drop a me line using the <a href="http://www.sharepointsharon.com/about/contact/">contact form</a>. The image used at the start just uses the contactenate function to add text the reference number.</p>
<p>Go to the <a href="http://www.sharepointsharon.com/resources/handbook-2010/features/forms-and-infopath/">InfoPath</a> section under Resources to view related InfoPath posts.</p>
<p>[Update] Well spotted in the comments. One potential gotcha with this approach is the risk of conflicts if two forms are open at the same time and neither have been saved &#8211; they will both have the same number.  How to automatically save forms in progress and avoid this gotcha (along with some others) will be covered in a later post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2011/11/infopath-2010-reference-filename/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SharePoint for Records: Good, Bad, Ugly</title>
		<link>http://www.sharepointsharon.com/2011/10/sharepoint-for-records-management/</link>
		<comments>http://www.sharepointsharon.com/2011/10/sharepoint-for-records-management/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 14:43:56 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[records]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=2800</guid>
		<description><![CDATA[In October I presented at a Records Management event in London for Unicom. The title of my presentation was SharePoint and Records Management: The Good, Bad and Ugly. The slides are embedded below. Please note they never behave as well on the web as when presented. Especially so in this case, as I decided to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F10%2Fsharepoint-for-records-management%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F10%2Fsharepoint-for-records-management%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In October I presented at a Records Management event in London for <a href="http://www.unicom.co.uk">Unicom</a>. The title of my presentation was <strong>SharePoint and Records Management: The Good, Bad and Ugly</strong>. The slides are embedded below. Please note they never behave as well on the web as when presented. Especially so in this case, as I decided to make the slideshow behave like an app.</p>
<p id="__ss_9922607" style="text-align: center;"><object id="__sse9922607" width="425" height="355" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=sprm-gbu-oct11-finalweb-111028071622-phpapp01&amp;stripped_title=sharepoint-and-records-management-good-bad-and-ugly&amp;userName=JoiningDots" /><param name="allowscriptaccess" value="always" /><param name="allowfullscreen" value="true" /><embed id="__sse9922607" width="425" height="355" type="application/x-shockwave-flash" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=sprm-gbu-oct11-finalweb-111028071622-phpapp01&amp;stripped_title=sharepoint-and-records-management-good-bad-and-ugly&amp;userName=JoiningDots" allowFullScreen="true" allowScriptAccess="always" allowscriptaccess="always" allowfullscreen="true" /> </object></p>
<p>My slides were created to support the talk, not prop me up so don&#8217;t work well on their own. Here are some notes about what I said on the day:</p>
<h5>Disclaimer: it&#8217;s a summary</h5>
<p>First of all, this talk was for just 40 minutes. Meaning there was only time for a very high level summary, most of which was based on my opinion. If you were looking to be convinced that SharePoint is terrible for records management, you will hear what you want to hear. (Originally, I was asked to compare SharePoint with open source for records management.)</p>
<h5>The Good</h5>
<p>There are a bunch of new features in SharePoint 2010 to support records management:</p>
<ul>
<li>Document IDs provide permalinks that will work even if you move the documents to different sites, perfect if you want to manage records in a centralised store rather than in-place within collaborative sites. They are configured per site collection, which needs to be taken into consideration when designing your SharePoint deployment.</li>
<li>SharePoint includes some new workflow actions that can be used for managing documents and records. &#8216;Lookup manager for user&#8217; will query the User Profile Service. Provided you have a well populated directory sync&#8217;ing with the User Profile service, you can actually look up any properties, but manager is great for automating approval processes. &#8216;Replace list item permissions&#8217; can be used to automatically set item permissions during the workflow. Means you can set the user&#8217;s permission to read-only whilst the manager can still edit during that approval process. And when the document is finished, you can now automatically declare the document as a record, locking it for everyone.</li>
<li>Being able to configure a retention stage was available in SharePoint 2007. But now in 2010 you can configure multiple different stages, which provides a much more realistic solution. The example in the slide: review a document every 2 years, after 12 years send it to the archive. New in SharePoint 2010 is a Content Organiser as part of the centralised Records Center. It can route incoming items and store them as part of a file plan. Users don&#8217;t need to know what retention settings are, provided they describe what the document is, e.g. a contract, or it&#8217;s status, e.g. confidential, the Content Organiser can be configured to automatically decide where to put the document. Placing in a certain folder can then automatically inherit additional metadata properties, such as retain for 6 years from date last modified if it&#8217;s in the Financial Documents.</li>
</ul>
<p>New to SharePoint 2010 since July 2011 (requires SharePoint 2010 with Service Pack 1) is a big jump in scale options. Previously, life was happier if all site collections were kept to under 100GB and content databases kept to 200GB. In rare exceptions, you were allowed to grow a single site in a single site collection in a single content database to 1TB. Now, the 100GB/200GB limit is still recommended for highly active sites and deployments with only basic disaster recovery/backup capabilities. But the new limits are up to 4TB for all scenarios, if you&#8217;ve got the right set-up. And you can even go unlimited for archive scenarios (where a tiny amount of content is accessed infrequently).</p>
<p>What didn&#8217;t make the list? Managed Metadata. I&#8217;m being a bit harsh, it&#8217;s a great introduction for information management in general. But there are to many limitations currently to get it beyond &#8216;OK&#8217; for serious records management needs. For more details, see references at the end of this post.</p>
<h5>The Bad</h5>
<p>Licensing is an easy issue to pick on. It applies to most Microsoft products deployed in organisations. As well as choosing which server product to use, you also need to pick the type of CAL, and the options vary if being deployed internally versus externally. External use has a special Server licence that is different (i.e. a lot more expensive) than the internal Server licence but doesn&#8217;t require a CAL whereas internal servers do. If allowing external use, you&#8217;ll be needing ISA Server, ForeFront or other technologies to secure access over the Internet. You may be considering the full FAST product and chances are you will still be using Office for creating and editing documents. Which leads on to Office Web Access &#8211; enables Office documents to be opened in a web browser as part of a SharePoint site but isn&#8217;t part of the SharePoint licence, it requires an Office volume licensing agreement (no prizes for guessing why).</p>
<p>Getting started is the next challenge. SharePoint is a platform and building a records management solution using its features takes a fair bit of planning and configuration. And comprehensive solutions usually require additional software from specialist partners. Microsoft&#8217;s own records management deployment uses partner solutions to manage the full records management process.</p>
<p>And, as with many Microsoft products, cross-platform support is currently weak. It&#8217;s a step-up from SharePoint 2007 in that you can now open SharePoint 2010 sites using non-Internet Explorer browsers. But try viewing on an iPad, it&#8217;s not just Flash that isn&#8217;t supported (SharePoint uses a fair bit of Silverlight, Microsoft&#8217;s equivalent to Flash) and SharePoint default user interface is definitely not touch-optimised. Almost certainly to improve in future versions, but for now a definite gotcha. And beyond devices, organisations that are primarily on Microsoft products will have a far easier time deploying than those using other servers, operating systems and applications to be integrated.</p>
<h5>Options</h5>
<p>As to whether or not organisations should be considering alternatives to SharePoint. There are a number of criteria to consider:</p>
<ul>
<li>Platform vs Niche: is records management the primary purpose of your organisation? Then you probably should evaluate niche solutions that specialise. If it needs to be considered as part of a wider remit of information and knowledge-based activities, then a platform is likely to have better value. SharePoint is a platform. It&#8217;s not the only one.</li>
<li>Proprietary vs Open Source: If you&#8217;re anti-proprietary solutions, then you&#8217;ll answer this for yourself. From a solution perspective, the main difference is that proprietary solutions tend to have limited lifespans that require upgrades where as open source solutions can be self-maintained for as long as you want to. Whether that&#8217;s a good or bad thing depends on if there is a reason for the upgrade, such as changes in security needs.</li>
<li>On-premise vs Cloud: Is still a very immature discussion at this stage. And the cloud-options beyond basic file storage are very limited. SharePoint Online does not have the full feature set of the on-premise server &#8211; there is no Records Center, only in-place records management.</li>
</ul>
<h5>The Ugly</h5>
<p>This section was less about SharePoint and more about the challenge of records management.</p>
<p>First up, are we talking about records management or information governance? It&#8217;s important to define, very specifically, what you mean by records management because that should then drive the technology choice. The hypothetical example I used to demonstrate: (The slide is missing its animation build on Slideshare.) A lorry driver decides to do a friend a favour (agreed via email) and fit in an extra delivery on his route. The tachograph would record this and prove that he drove over hours (as would the unofficial email). A tachograph must be kept for 28 days. If a court case started before the 28 days are up (hypothetical, remember), the lorry driver would commit an offence if he failed to produce the tachograph, even if the actual day in court is after the 28 days are up. Whilst the email may also become a record as part of the court case, that only happens if it hasn&#8217;t been deleted (emails don&#8217;t have a defined retention). Failing to produce the email, if you still have it, would also be an offence. If the court case starts after the 28 days, neither the tachograph or the email are required to be kept. If they&#8217;ve been deleted, they can&#8217;t be used in court. But again, it&#8217;s an offence if you just say they&#8217;ve been deleted when in fact they are still in existence. And this is all separate to the facts of the case itself. Yes, the tachograph and email would prove the lorry driver drove for too long. But the facts are not the responsibility of records management. If they are, then you don&#8217;t have records management, you just keep everything for ever and accept the cost of retrieving all relevant items if and when they are required in a legal matter. Good luck with that.</p>
<p>When we started moving from paper to digital records, the volume of the problem began to grow because technically any piece of information can be considered a record during a legal matter. Social networks have grown the challenge exponentially. You can only manage your own content, you have little or no control beyond your organisation&#8217;s walls. An email always exists in at least 2 places. Are you making sure people are aware of what they can and can&#8217;t post on public web sites? Once something exists on the Internet, you cannot guarantee it is ever removed.</p>
<p style="text-align: center;"><object width="400" height="265" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=7395079&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" /><embed width="400" height="265" type="application/x-shockwave-flash" src="http://vimeo.com/moogaloop.swf?clip_id=7395079&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" allowfullscreen="true" allowscriptaccess="always" /></object></p>
<p>Massive data is where we are heading &#8211; great globs of different types of the stuff with new tools appearing to mine and manage it. Where does records management fit in this context? The same can be asked of SharePoint. Whilst its scale is improving dramatically, can its current architecture handle massive volumes of information? We are seeing new storage methods being used by sites such as Facebook and LinkedIn, moving beyond the traditional hierarchical stores and relational databases.</p>
<p>And finally, the Achilles heel of any records management system is not the technology you choose to use, it&#8217;s the people you choose to employ. Most news headlines don&#8217;t talk about a system failing to delete something or deleting something it shouldn&#8217;t have. They are usually about a human taking information out of the system and sharing it with someone they shouldn&#8217;t, or losing the device the information has been stored on. No technology is going to solve that problem without creating a bigger problem in the process.</p>
<h5>Summary</h5>
<p>Records management should be about two requirements: 1. keeping and disposing of formal documents, i.e. those that have a defined retention; and 2. ensuring any information (formal and informal) used in a legal matter is not deleted whilst that legal matter is in progress. Everything else is about information governance. Few organisations outside of a legal context do this well because it is still an immature solution and technology is only part. of that solution</p>
<p>People are likely to cause you more headaches than the technology. Some level of training is essential to remind people about how they manage their information. Still worried? Then invest in automation and autoclassification technologies to eliminate as much of the human element of the process as possible.</p>
<p>Decide on your deletion policy (or strategy). If you want to be able to prove when someone is lying in court, then accept that you are going to spend a lot of money on keeping and classifying everything. For those with a budget, make sure you can manage what matters and get rid of everything else when you can. Your job is not to try and prove or disprove the legal argument, it is to ensure you are able to provide all the relevant information you have kept.</p>
<h5>SharePoint for Records Management?</h5>
<p>To close, some tips on using SharePoint for records management.</p>
<ul>
<li>Don&#8217;t let people keep old documents in collaborative sites or folders. If they are no longer being used in an active process but people still want to keep them, move them to a centralised records management site. Because if they are inactive, over time they will be forgotten making them harder to find should they become relevant in a legal matter.</li>
<li>Consider using document IDs for formal documents if they are going to be moved to an archive at some point (note: this assumes they stay within SharePoint).</li>
<li>Leverage the features to automate as much of the processes as possible. It will take time to configure but the effort will minimise errors and ease records management procedures</li>
<li>Linking into the previous slide, if you investing in autoclassification, you need more than just SharePoint. Either the full FAST product, which includes autoclassification, or an alternative solution that integrates with SharePoint.</li>
</ul>
<p><strong>References</strong></p>
<ul>
<li><a href="http://vimeo.com/7395079">Trillions video</a> by Maya, Vimeo</li>
<li><a href="http://www.sharepointsharon.com/2011/09/sharepoint-2010-taxonomy-limits/">SharePoint Taxonomy Limits</a> &#8211; blog post, Sep 2011</li>
<li><a href="http://www.sharepointsharon.com/2011/08/sharepoint-2010-performance-and-capacity-limits/">SharePoint Performance and Capacity Limits</a> &#8211; blog post, Aug 2011</li>
<li><a href="http://www.joiningdots.com/blog/2010/07/sharepoint-and-office-web-apps/">SharePoint and Office Web Apps</a> &#8211; blog post, Jul 2010</li>
<li><a href="http://www.joiningdots.com/blog/2008/03/rethinking-the-fileplan/">Rethinking the File Plan</a> &#8211; blog post, Mar 2008</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2011/10/sharepoint-for-records-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create your own article page layouts</title>
		<link>http://www.sharepointsharon.com/2011/09/article-page-layouts/</link>
		<comments>http://www.sharepointsharon.com/2011/09/article-page-layouts/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 17:19:09 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[visual design]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=2764</guid>
		<description><![CDATA[This post applies to SharePoint 2010 Server, Standard or Enterprise edition. SharePoint can be used for all sorts of content. For collaborative and productivity scenarios, the focus is often on document libraries and lists for managing content. Sometimes content is better suited in web pages, such as wiki sites and newsletter. But the default page [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F09%2Farticle-page-layouts%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F09%2Farticle-page-layouts%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-newCQWP.jpg"><img class="aligncenter size-medium wp-image-2782" title="Content Query Web Part displaying a newsletter summary" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-newCQWP-300x80.jpg" alt="Content Query Web Part displaying a newsletter summary" width="300" height="80" /></a></p>
<p>This post applies to SharePoint 2010 Server, Standard or Enterprise edition.</p>
<p>SharePoint can be used for all sorts of content. For collaborative and productivity scenarios, the focus is often on document libraries and lists for managing content. Sometimes content is better suited in web pages, such as wiki sites and newsletter. But the default page layouts are quite basic.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-defaults.jpg"><img class="aligncenter size-medium wp-image-2765" title="default SharePoint web page layouts" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-defaults-165x300.jpg" alt="default SharePoint web page layouts" width="165" height="300" /></a></p>
<p>The image above (click on images here to view full size) shows the default page layouts for publishing content in web pages. There are three types of article page, two wiki pages and a web part page. We&#8217;re going to create our own article page layout.</p>
<h4>Creating a new article page layout</h4>
<p>The three article pages are very similar. The only difference is whether or not you include an image page control on the page and, if you do, whether it is on the left or right side of the page. All three include page controls for a title, article date, byline and page content.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-content-default.jpg"><img class="aligncenter size-medium wp-image-2767" title="Default article page layout with some content" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-content-default-300x163.jpg" alt="Default article page layout with some content" width="300" height="163" /></a></p>
<p>The image above shows the article page layout Image on Right with some content in the Title, Article Date, Byline, Page Image and Page Content.  It looks fine when viewing the page, but it&#8217;s just one clump of content &#8211; the Page Content control.  The only slices we can display elsewhere are the Title and Byline.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-cqwp-default1.jpg"><img class="aligncenter size-medium wp-image-2769" title="Content Query Web Part" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-cqwp-default1-300x113.jpg" alt="Content Query Web Part" width="300" height="113" /></a></p>
<p>The image above shows a Content Query web part (CQWP) displaying the &#8216;Latest Newsletter&#8217;.  (CQWPs can be displayed on any site in a site collection, in this case, showing part of the news letter on another site.) The active link is the Title and the text next to the image is the Byline, displayed as a description.  Instead of a Byline, I want to publish a summary without having to duplicate content in the actual article page.  To do that, I need to create my own article page layout.</p>
<h5>Create the required columns</h5>
<p>Every control on a page layout is linked to a column.  If we want to create our own page controls, we first need to create the columns. This is slightly different to creating columns in a document library or list.  Page controls must be associated with site columns, not library columns.  Site Columns includes four additional column types specifically to use in web publishing. These are not available when creating columns within lists and libraries.</p>
<ol>
<li>On your site (or site collection root if you want to re-use the columns across other sites), go to Site Actions &#8211; Site Settings</li>
<li>In Site Settings, click on Site Columns</li>
<li>In Site Columns, click Create.  For our example, we are going to split our article page into three: News Summary, Message from the Boss, and the rest of the newsletter. We need two additional columns for the Summary and Message from the Boss. The image below shows the settings for our News Summary column.  Note the column type (Full HTML content&#8230;)</li>
</ol>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-columns-create1.jpg"><img class="aligncenter size-medium wp-image-2771" title="Creating Site Columns" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-columns-create1-300x290.jpg" alt="Creating Site Columns" width="300" height="290" /></a></p>
<h5>Add the columns to the Article Page content type</h5>
<p>To make it easy to add our new columns to a page layout, we&#8217;re going to add them to the corresponding content type.</p>
<ol>
<li>In the same site where you just created your columns, go to Site Actions &#8211; Site Settings</li>
<li>In Site Settings, click on Site Content Types</li>
<li>Scroll down to the group Page Layout Content Types and click on Article Page</li>
<li>In the Article Page Content Type template, click Add from existing site columns and add your two new columns to the content type.</li>
</ol>
<h5>Create the article page layout</h5>
<ol>
<li>Edit the site in SharePoint Designer</li>
<li>In the Navigation (on the left), click on Page Layouts</li>
<li>In the ribbon menu (at the top), click New Page Layout</li>
<li>In the New dialogue box, select the Page Layout Content Types group and the Article Page Content Type. Enter a URL name (all one word) and a title for your new page layout.</li>
</ol>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-spd-newpagelayout.jpg"><img class="aligncenter size-medium wp-image-2772" title="Creating a new page layout in SharePoint Designer" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-spd-newpagelayout-300x188.jpg" alt="Creating a new page layout in SharePoint Designer" width="300" height="188" /></a></p>
<h5>Add controls to your article page layout</h5>
<p>First up, we currently have a completely blank page layout. To cheat and get us started, we are going to copy the design of one of the existing article page layouts.</p>
<ol>
<li>In the Page Layouts folder, click on the page layout ArticleRight.aspx</li>
<li>In the page layout settings, click Edit file (under Customization)</li>
<li>When prompted, do NOT check it out.  Then, when prompted, click Yes to open in advanced mode. Copy the entire contents of the code screen and paste it into the code screen of your new page layout. When finished, close the ArticleRight.aspx page layout.</li>
</ol>
<p>Side note: I personally prefer split mode in SPD to display both the code and the design of a page layout. If you can&#8217;t see any code, click on Split or Code just beneath the page layout.</p>
<p>Your new page layout should now look just like the page layout for articles with an image on the right. We are now ready to add our two additional page controls: News Summary and Message from the Boss.  We want to add these controls above the Page Content control&#8217;</p>
<ol>
<li>In the Toolbox on the right side of the screen, scroll sown to the Content Fields group. You should see your two columns. In this example, Message from the Boss and News Summary.</li>
<li>Drag the two columns onto the page layout. I have added the News Summary and Message from the Boss within the DIV for the article content.</li>
<li>Look at the settings for the Page Content control (FieldName=&#8221;PublishingPageContent&#8221;) in code, it has two properties set:
<ul>
<li>HasInitialFocus=True</li>
<li>MinimumEditHeight=400px</li>
</ul>
<p>These two settings control the height of the box on the page layout and where the cursor is placed. For mine, I am going to use HasInitialFocus=True on my News Summary control. I am also going to make both of my columns have a minimum editing height of 200px.  When you are making these changes, make sure you add the properties before runat=&#8221;server&#8221; to make sure you get them in the right place (if you&#8217;re not experienced with doing this stuff).</li>
<li>Finally, I&#8217;m going to add a title for my newsletter in the DIV for the article header, to save writing them within the page each month. Note: normally I&#8217;d format these better or replace with a banner image (I was going to go all Matrix&#8217;y), but to keep it simple&#8230;</li>
</ol>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-editlayout.jpg"><img class="aligncenter size-medium wp-image-2779" title="Editing a page layout" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-editlayout-300x195.jpg" alt="Editing a page layout" width="300" height="195" /></a></p>
<p>In the image above, you can see my two columns with field names displaying their GUIDs instead of the friendlier names of the built-in PublishingPageContent within DIV class=&#8221;article-content&#8221;. And I added a plain DIV to drop the magazine title &#8216;The Oracle&#8217; at the top of the DIV class=&#8221;article-header&#8221; with a basic style applied.  The toolbox over on the right of the page shows my two columns listed under Content Fields.</p>
<p>When you&#8217;re ready, save the page layout, check it in and publish/approve ready for use in the site.</p>
<h5>Add the page layout to the site</h5>
<p>Once published, we can add our new page layout to the list of page layouts used in the site.</p>
<ol>
<li>Back at the site, go to Site Actions &#8211; Site Settings</li>
<li>Within Site Settings, click on Page layouts and site templates (under the Look and Feel group)</li>
<li>Under Page Layouts, select &#8216;Pages in this site can only use the following layouts) and add your page layout. Click OK.</li>
</ol>
<p>Note: If you want the new page layout to be the default when new pages are created, go back into Page Layouts and set it to be the default.</p>
<h5>Use the new page layout</h5>
<p>If I go to edit my current newsletter, I can now change the page layout and select my new format.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-newarticle.jpg"><img class="aligncenter size-medium wp-image-2780" title="Using our new page layout" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-newarticle-300x183.jpg" alt="Using our new page layout" width="300" height="183" /></a></p>
<p>In the image above, I have moved my summary and message from the boss into the new boxes on the page. Compare to the original image earlier in this post. (In hindsight, should have made the two boxes 100px <img src='http://www.sharepointsharon.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  they don&#8217;t need to be that large.) As a tip, set the default size of the box to roughly how much content you would want people to put in it.</p>
<p>When you publish the page, it looks just the same. But now that we have content segmented, we can start to display those segments elsewhere.</p>
<h5>Modifying the content query web part (CQWP)</h5>
<p>The final step in this post is going to be to display the news summary from our newsletter on the Intranet home page. We need to change the columns that are displayed in the CQWP under Title and Description.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-compareCQWP.jpg"><img class="aligncenter size-medium wp-image-2781" title="Comparing Content Query Web Parts" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-compareCQWP-300x175.jpg" alt="Comparing Content Query Web Parts" width="300" height="175" /></a></p>
<p>In the image above, &#8216;Original Latest News&#8217; is the CQWP with its default settings, displaying the Title and Byline of the newsletter.  Beneath it, &#8216;Latest News&#8217; shows our new CQWP displaying the Byline (instead of Title) and Newsletter Summary (instead of ByLine).</p>
<p>I&#8217;m planning to go into the CQWP in a bit more detail in another post, including adding a &#8216;Read more&#8230;&#8217; link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2011/09/article-page-layouts/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Taxonomy Limits</title>
		<link>http://www.sharepointsharon.com/2011/09/sharepoint-2010-taxonomy-limits/</link>
		<comments>http://www.sharepointsharon.com/2011/09/sharepoint-2010-taxonomy-limits/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 16:20:07 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[information]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[taxonomy]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=2660</guid>
		<description><![CDATA[SharePoint 2010 introduced managed metadata for the first time &#8211; the Managed Metadata Service (MMS). You can create a hierarchy of terms (metadata) and then use those terms to classify content stored in SharePoint. If you decide to rename a term, all items classified will be updated to reflect the new term. That&#8217;s the managed [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F09%2Fsharepoint-2010-taxonomy-limits%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F09%2Fsharepoint-2010-taxonomy-limits%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>SharePoint 2010 introduced managed metadata for the first time &#8211; the Managed Metadata Service (MMS). You can create a hierarchy of terms (metadata) and then use those terms to classify content stored in SharePoint. If you decide to rename a term, all items classified will be updated to reflect the new term. That&#8217;s the managed bit.</p>
<p>For an overview, please read an earlier blog post: <a href="http://www.sharepointsharon.com/2010/11/sharepoint-managed-metadata-overview/">SharePoint Managed Metadata Overview</a> (Nov 2010)</p>
<p>Whilst the MMS is a great addition to SharePoint, it doesn&#8217;t cover all taxonomy requirements. This post will briefly explain the different types of taxonomy and what SharePoint can and can&#8217;t do to implement them.</p>
<p>The short version:</p>
<p>The SharePoint MMS can create taxonomies with a single hierarchy or multiple hierarchies using term sets. It can also be used for folksonomies by using a keywords list of tags. It can nearly do polyhierarchies, by reusing terms across term sets, but with limited uses.  If you have a deep taxonomy hierarchy to implement, you may need to add FAST to your SharePoint deployment.</p>
<p>The details:</p>
<h3>Types of taxonomy</h3>
<p>A taxonomy is a hierarchical form of classification. You define a hierarchy of metadata terms that can then be used to classify and describe stuff.</p>
<p>There are three main types of taxononomy:</p>
<ul>
<li>Single hierarchy</li>
<li>Multiple hierarchies</li>
<li>Polyhierarchies</li>
</ul>
<p>And then there&#8217;s the informal rebel, the folksonomy.</p>
<h4>Single Hierarchy</h4>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/taxonomy-single1.jpg"><img class="size-full wp-image-2665" style="margin-left: 150px;" title="Single taxonomy" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/taxonomy-single1.jpg" alt="Single taxonomy" width="242" height="137" /></a></p>
<p>The simplest of taxonomies &#8211; a single hierarchy containing all the terms you plan to use. In this example, I&#8217;ve started with Flowers. That means the only things I&#8217;m going to classify are flowers. If I want more in a single hierarchy, then flowers would be a sub-class with a parent &#8211; e.g. plants, which may have a parent &#8211; organic material, that may have other sub-classes like mammals, which would have a sub-class for primates etc.  A single hierarchy is simple in theory but quickly becomes complex as you try to organise all possible terms.</p>
<p>Which is why, unless you are a library or garden centre, you end up with&#8230;</p>
<h4>Multiple (Faceted) Hierarchies</h4>
<h5><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/taxonomy-multifacets.jpg"><img class="aligncenter size-full wp-image-2663" style="margin-top: 10px; margin-bottom: 10px;" title="Multiple hierarchies" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/taxonomy-multifacets.jpg" alt="Multiple hierarchies" width="517" height="109" /></a></h5>
<p>In the digital world, we don&#8217;t need items to be located in only one place. We can use multiple hierarchies to describe them.  I might be looking for tulips. I might be looking for anything with red petals. I might want flowers that open earlier or later in the year for my garden.  Thanks to multiple hierarchies, I can find what I want without having to know where to look first.</p>
<h4>Polyhierarchies</h4>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/taxonomy-polyhierarchy.jpg"><img class="aligncenter size-full wp-image-2664" style="margin-bottom: 10px;" title="Polyhierarchy" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/taxonomy-polyhierarchy.jpg" alt="Polyhierarchy" width="154" height="184" /></a></p>
<p>The most complex of taxonomies &#8211; a polyhierarchy is where a child or sub-class has two or more parents instead of just one.  Jasmine can be in the form of a shrub (small bush) or a vine (tall climbing plant).  Instead of being listed twice, the word is listed just once and linked to the two different parents.</p>
<h4>Folksonomy</h4>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/folksonomy.jpg"><img class="aligncenter size-full wp-image-2668" title="folksonomy" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/folksonomy.jpg" alt="Folksonomy" width="502" height="162" /></a></p>
<p>A folksonomy is the informal version of a taxonomy. It is simply the use of tags to describe objects. An object may have many tags. A tag may be reused for many objects.  There is no hierarchy &#8211; all tags are equal and there is no relationship between them.  You don&#8217;t define the tags first. You create them as you go. Once a person has created a tag, it&#8217;s added to the list.</p>
<p>A folksonomy can seem chaotic and confusing. Its success on the Internet, on sites such as Flickr, has been because it is a lot easier and quicker to simply tag items than have to select from a pre-defined hierarchy that may not match your vocabulary (imagine if plants were described using their Latin names).</p>
<h3>SharePoint and Managed Metadata</h3>
<p>SharePoint&#8217;s MMS can be used for both taxonomies and folksonomies.  Within Central Administration (and can also be accessed via Site Collection Administration) is the Term Store Management tool.</p>
<h4>Keywords</h4>
<p>SharePoint&#8217;s folksonomy is a group called Keywords:</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/spmms-keywords3.jpg"><img class="aligncenter size-large wp-image-2690" title="SharePoint MMS - Keywords" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/spmms-keywords3-1024x580.jpg" alt="SharePoint MMS - Keywords" width="491" height="278" /></a>When any item is tagged, either using the Enterprise Keywords column available in lists and libraries or by tagging site pages, the tag is added to the Keywords group (1. above).  As you start to type a tag, SharePoint will automatically suggest matching tags as you type (2.), to avoid having multiple spellings of the same word.  You can manage your keywords (3.) If you want to clear out unnecessary tags, you simply delete them.  If you also have a taxonomy, you can move popular keywords into the term set and make it part of a formal hierarchy. This is a great way to develop an effective taxonomy rather than a taxonomy filled with unused terms.</p>
<h4>Term Sets</h4>
<p>SharePoint uses term sets to create taxonomy hierarchies, with the following levels:</p>
<p style="text-align: left;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/spmms-termset11.jpg"><img class="aligncenter size-medium wp-image-2687" title="SPMMS Term Set" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/spmms-termset11-300x298.jpg" alt="SPMMS Term Set" width="300" height="298" /></a>You create a group to contain one or more term sets.  A group with a single term set would be a single hierarchy. A group with multiple term sets would be a multiple or faceted hierarchy.</p>
<p style="text-align: left;">Within a term set, you create terms. Each term can itself have terms. In the image above, we have a group called Taxonomy Examples (created for this post). The term set is called Colours. The first level of terms contains Blue. Beneath blue is a second level of terms: Royal Blue, Cambridge Blue and Navy Blue.</p>
<p style="text-align: left;">Terms can be re-used across term sets, which sort of (but not quite) enables polyhierarchies.</p>
<p style="text-align: left;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/spmms-termset2.jpg"><img class="aligncenter size-large wp-image-2691" title="SharePoint and Polyhierarchies" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/spmms-termset2-1024x647.jpg" alt="SharePoint and Polyhierarchies" width="553" height="349" /></a>In the image above (click on it to view in larger detail), I have a group called Plants. It contains term sets for Shrubs and Vines. The Shrubs term set contains a term called Jasmine. The term has been re-used and linked to the term set Vines.  If you look at the right side of the page,  displaying the term properties for Jasmine, in the box &#8216;Member of&#8217; we can see the term is linked to two term sets. If I rename Jasmine, both term sets will be updated.</p>
<p>To create this polyhierarchy, the group Plants is the class, and the term sets are the first sub-classes. It has to be done this way because you cannot re-use a term within the same term set.  But this creates a challenge because only the built-in Enterprise Keywords column allows users to pick terms across groups and term sets. Managed Metadata columns have to point to a specific term set.</p>
<p>Whilst you cannot re-use a term in the same term set, there is nothing to stop you having duplicate terms, i.e. two or more terms with the same name. The downside is that you are creating extra terms, each with its own properties, which is extra work to manage and can be confusing for people.  But duplicates enable you to use a single term set that works better with the Managed Metadata column.</p>
<p>It&#8217;s probably easier to demonstrate:</p>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/spmms-termset3.jpg"><img class="aligncenter size-large wp-image-2695" title="SharePoint and Polyhierarchies" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/spmms-termset3-1024x716.jpg" alt="SharePoint and Polyhierarchies" width="553" height="387" /></a></p>
<p style="text-align: left;">The image above on the left is displaying the term store within the MMS. At 1. is the polyhierarchy example: A group for Plants with term sets for Shrubs and Vines, each linked to a single term, Jasmine (it has a slightly different icon to show it is linked to more than one term set).  At 2. I have created the alternative scenario, a single hierarchy with duplicate terms. This time, Plants is the term set with first-level terms for Shrubs and Vines. Each has a second-level term called Jas.</p>
<p style="text-align: left;">The MMS is used in two ways within SharePoint lists and libraries:</p>
<ul>
<li>Enable the built-in Enterprise Keywords column, which points to the entire term store (all groups and term sets).  It is always a mult-value field (people can enter one or more tags) and if the words entered are not already in a term set or the keywords group, they will be added to the keywords group. (Side note: the label &#8216;Enterprise Keywords&#8217; can be confusing since it points to all groups in the MMS, not just the Keywords group).</li>
<li>Create columns of the type &#8216;Managed Metadata&#8217; which must be pointed to a single term set. However you can then specify if the column is to contain only a single value versus multiple values, and whether or not people can create and add their own tags or must choose from the list provided.</li>
</ul>
<p style="text-align: left;">The top-right image is displaying the properties form for an item in a document library, with the built-in Enterprise Keywords column (3.) enabled. As I type in Jas, three suggestions are offered &#8211; Jas in the term set Plants, under the term Shrubs; the duplicate Jas in the same term set Plants, under the term Vines; and, Jasmine from the group Plants, displayed once but showing both term sets that it is linked to. In this image, the correct method would be to use the Polyhierarchy (from 1.) so that I can classify the document as about Jasmine, regardless that it is both a shrub and a vine.</p>
<p style="text-align: left;">The bottom-right image is displaying the properties for a Managed Metadata column (4.). When you create a column of the type Managed Metadata, you have to point it to a single term set.  This is where the polyhierarchy (1. in the image above) fails in SharePoint because I can&#8217;t point the column to the group Plants, I have to pick one of the term sets within the group, either Shrubs or Vines. I don&#8217;t want separate columns for each sub-class within plants. My alternative approach (2.) with duplicate values does work because Plants is the term set. But then how do I decide which Jas to pick to classify my document?</p>
<p style="text-align: left;">And there&#8217;s another gotcha.  One of the most useful reasons for implementing managed metadata is to refine search results.</p>
<p style="text-align: left;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2010/11/sp-metadata4.jpg"><img class="aligncenter" style="margin-top: 5px; margin-bottom: 5px;" title="SharePoint 2010 Search Set-up" src="http://www.sharepointsharon.com/wp-content/uploads/2010/11/sp-metadata4.jpg" alt="SharePoint Search Refiners" width="573" height="283" /></a>The image above is displaying a standard SharePoint search results page. On the left side of the page are the search refiners.  I have two term sets listed &#8211; Department and Products.  Under Products, I can refine results by SharePoint, Content and Apps.  Here&#8217;s the rub. My term set hierarchy is as follows:</p>
<ul>
<li>Term set: Products
<ul>
<li>First-level term: SharePoint
<ul>
<li>Second-level term: Content</li>
<li>Second-level term: Apps</li>
</ul>
</li>
</ul>
</li>
</ul>
<p style="text-align: left; margin-top: -30px;">The standard search refiners in SharePoint do not display a hierarchy under the term set, it is simply Term Set as the heading, and all terms listed beneath, regardless of their position in the term set hierarchy.  A deep hierarchy within a term set does not work well with the standard search refiners, they are better suited to flat hierarchies &#8211; term set as the class with just one sub-class of terms.  In this example, I should either keep the term set Products but have just one level of terms &#8211; the product names (SharePoint, Office etc.) or make the product the term set if I want to classify by feature, e.g. term set: SharePoint, terms: Content, Apps etc.  The alternative is to upgrade my SharePoint deployment to include FAST, which is Microsoft&#8217;s advanced search and taxonomy tool. FAST includes the ability to configure your search refiners to match your taxonomy hierarchy.</p>
<p style="text-align: left;">In conclusion, the Managed Metadata Service enables you to create all three types of taxonomy: single hierarchy, multiple hierarchies and polyhierarchies, as well as the folksonomy of keyword tags.  However, you can only use all these methods with the built-in Enterprise Keywords column, which cannot be locked down if you want to restrict what words can be used to classify content.  The Managed Metadata column can be locked down but only works with a single hierarchy, meaning you either have a deep single hierarchy or have to create separate columns for each term set.  Search refiners work best with multiple (and flat) hierarchies, they do not work well with a single deep hierarchy.</p>
<p style="text-align: left;">To design the MMS effectively for search, you have three choices:</p>
<p style="text-align: left;">1. Flatten your taxonomy:</p>
<ul>
<li>Use multiple term sets, each with a list of terms &#8211; i.e the term set is the class, the terms are a single sub-class. Do not have a hierarchy deeper than that.</li>
<li>If using the Managed Metadata column, you will need a column per term set.  Essential if you need to restrict people to picking from your defined lists of terms.  Aim for fewer term sets. This will likely mean not going to deep with your taxonomy (in my Plants example, I&#8217;d need to either drop the final level &#8211; Jasmine, or drop the sub-clases of shrubs vs vines vs flowers, and just have a term set of Plants with terms for the type: Tulips, Roses, Jasmine etc.</li>
<li>Use the Enterprise Keywords column when you don&#8217;t mind people adding their own tags (will be added to the Keywords group). Matching terms will be suggested to help avoid unnecessary duplicates.</li>
</ul>
<p>2. Upgrade your deployment to FAST</p>
<p>If your taxonomy is too important to flatten but you still want to use search refiners (you should, reasons for classifying content usually include making information easier to find), you need to consider whether or not to configure FAST in your SharePoint deployment.  FAST includes advanced search refiners that include displaying a deeper taxonomy hierarchy.  It also includes the ability to auto-classify. But may involve additional licenses so you need to factor the cost into your project.</p>
<p>3. Use a specialist add-on</p>
<p>The third option is to use an alternative (non-Microsoft) taxonomy solution that can be added to your SharePoint deployment.  You are likely to also require an auto-classification tool.</p>
<p>If you are immediately thinking that option 1 is not good enough for your taxonomy needs, before heading to the second or third option consider if your taxonomy is good enough for your organisation&#8217;s needs.  Folksonomies have succeeded where taxonomies have failed because of their ease of use.  It&#8217;s no use having a deep and detailed taxonomy hierarchy if people make mistakes, choose the defaults or just click the first in the list to get through classifying their information. And auto-classifiers are a long way from perfect.</p>
<p>No metadata is better than bad metadata.</p>
<p style="text-align: left;"><strong>Related blog posts</strong></p>
<ul>
<li><a href="http://www.sharepointsharon.com/2010/11/sharepoint-managed-metadata-overview/">SharePoint Managed Metadata Overview</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2011/09/sharepoint-2010-taxonomy-limits/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

