<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>SharePoint Config</title>
	
	<link>http://www.sharepointconfig.com</link>
	<description>Ari Bakker's thoughts on customising and configuring SharePoint 2007 and 2010</description>
	<lastBuildDate>Mon, 30 Jan 2012 22:49:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/AriBakker" /><feedburner:info uri="aribakker" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>SharePoint 15 object model preview</title>
		<link>http://feedproxy.google.com/~r/AriBakker/~3/RGS5iD06R04/</link>
		<comments>http://www.sharepointconfig.com/2012/01/sharepoint-15-object-model-preview/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 22:49:32 +0000</pubDate>
		<dc:creator>Ari Bakker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sharepointconfig.com/?p=1073</guid>
		<description><![CDATA[Earlier today, Microsoft Corporate VP PJ Hough announced the beginning of a Technical Preview program for Office 15. No specific details of features were announced but it was mentioned that: Office 15 is the most ambitious undertaking yet for the Office Division. With Office 15, for the first time ever, we will simultaneously update our [...]<p><a href="http://www.sharepointconfig.com/2012/01/sharepoint-15-object-model-preview/">SharePoint 15 object model preview</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Earlier today, Microsoft Corporate VP PJ Hough announced the beginning of a <a href="http://blogs.office.com/b/office-exec/archive/2012/01/30/quot-office-15-quot-begins-technical-preview.aspx">Technical Preview program for Office 15</a>. No specific details of features were announced but it was mentioned that:</p>
<blockquote><p>Office 15 is the most ambitious undertaking yet for the Office Division. With Office 15, for the first time ever, we will simultaneously update our cloud services, servers, and mobile and PC clients for Office, Office 365, Exchange, SharePoint, Lync, Project, and Visio. Quite simply, Office 15 will help people work, collaborate, and communicate smarter and faster than ever before.&#160;&#160; </p>
<p>While the Technical Preview program is already full, everyone will have the opportunity to try the Office 15 public beta later this summer, and we&#8217;ll have more to share about the release then. In the meantime, I do want to thank everyone who is participating in the Technical Preview for their contributions and all our customers for their continued support.</p>
</blockquote>
<p>A <a href="http://www.microsoft.com/download/en/details.aspx?id=28768">technical preview of the Managed Object Model Software Development Kit for SharePoint 15</a> was also released today and this provides some insights into what might be included in the next version of SharePoint. Some of the more interesting additions are:</p>
<p>The addition of a CorporateCatalog enumeration with the following values:</p>
<ul>
<li>StoreFront &#8211; The package is from the marketplace.</li>
<li>CorporateCatalog &#8211; The package is from a corporate gallery.</li>
<li>DeveloperSite &#8211; The package is from a developer site.</li>
<li>ObjectModel &#8211; The package is loaded via an object model.</li>
<li>RemoteObjectModel &#8211; The package is uploaded via CSOM.</li>
</ul>
<p>New SPApp, SPAppInstance and SPAppCatalog classes. The description for the SPApp class states: “Represents an app loaded onto Microsoft SharePoint Server and ready to be installed.” which also contains a CreateAppInstance method that states “Creates an instance of an app at the specified site specified by the web parameter. The new instance can then be retrievedby using the SPAppCatalog class and using the returned ID.”</p>
<p>This hints at an extended deployment framework allowing more control over deployment of custom components within SharePoint. For example we also have a SPWeb.LoadAndInstallApp method that is used to upload and install an app package and a SPWeb.AppDatabaseName property.</p>
<p>Another potentially related addition is the SPWebApplication.IsUserLicensedForEntity method that “Checks if the currently logged in user has the proper license to access the specified entity.”</p>
<p>There isn’t a lot of information about what these are used for but it raises some interesting questions – is this an extension to the feature and solution model for deploying additional SharePoint functionality? Will you be able to create apps that work on Windows 8 and SharePoint 15? If you have any ideas or find any other interesting bits of information leave a note in the comments below.</p>
<p><a href="http://www.sharepointconfig.com/2012/01/sharepoint-15-object-model-preview/">SharePoint 15 object model preview</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
     <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AriBakker?a=RGS5iD06R04:Vav2cr_n34Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=RGS5iD06R04:Vav2cr_n34Q:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=RGS5iD06R04:Vav2cr_n34Q:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=RGS5iD06R04:Vav2cr_n34Q:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=RGS5iD06R04:Vav2cr_n34Q:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=RGS5iD06R04:Vav2cr_n34Q:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=RGS5iD06R04:Vav2cr_n34Q:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AriBakker/~4/RGS5iD06R04" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointconfig.com/2012/01/sharepoint-15-object-model-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sharepointconfig.com/2012/01/sharepoint-15-object-model-preview/</feedburner:origLink></item>
		<item>
		<title>Developing for SharePoint Online</title>
		<link>http://feedproxy.google.com/~r/AriBakker/~3/BqIKMC2e-S4/</link>
		<comments>http://www.sharepointconfig.com/2011/11/developing-for-sharepoint-online/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 14:51:13 +0000</pubDate>
		<dc:creator>Ari Bakker</dc:creator>
				<category><![CDATA[2010]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[office365]]></category>
		<category><![CDATA[online]]></category>

		<guid isPermaLink="false">http://www.sharepointconfig.com/?p=1058</guid>
		<description><![CDATA[On Saturday the 12th of November I presented a session on “Developing for SharePoint Online” at the second SharePoint Saturday in the UK. The session was aimed at SharePoint developers who had no or little experience building solutions to run in SharePoint Online which is part of Office 365. I’ve included the slides at the [...]<p><a href="http://www.sharepointconfig.com/2011/11/developing-for-sharepoint-online/">Developing for SharePoint Online</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
]]></description>
			<content:encoded><![CDATA[<p>On Saturday the 12th of November I presented a session on “Developing for SharePoint Online” at the second <a href="http://www.sharepointsaturday.org/uk/">SharePoint Saturday in the UK</a>. The session was aimed at SharePoint developers who had no or little experience building solutions to run in SharePoint Online which is part of Office 365. I’ve included the slides at the end of this post but if you didn’t make it the key points are summarised below.</p>
<h3>SharePoint Online Flavours</h3>
<p>SharePoint Online is part of Office 365 which has two broad offerings; the Office 365 public cloud and Office 365 dedicated.</p>
<p>As the name suggests the public cloud is a shared environment so other people will be using the same servers to run their SharePoint sites. To ensure one customer doesn’t affect another customer on the same server Microsoft has had to impose many significant restrictions. For example you can’t deploy files to the file system as this could overwrite files from another customer. This was also a driving force behind sandboxed solutions – a restricted set of allowed customisations that Microsoft can guarantee won’t affect other customers in a shared environment.</p>
<p>There are several different licencing models for the Office 365 public cloud. The main offerings are:</p>
<ul>
<li><strong>Professionals and small businesses (P plans)</strong> – these are limited to 50 users and a single site collection. There are also less features available and there is no supported upgrade to the enterprise plans (E plans).</li>
<li><strong>Medium businesses and enterprises (E plans)</strong> – these allow 300 (non-my site) site collections containing 100GB of content each. The enterprise plans also include my sites and cross-site collection search. For more details have a look at the <a href="http://www.microsoft.com/download/en/details.aspx?id=13602">Microsoft SharePoint Online for Enterprises Service Description</a>.</li>
</ul>
<p>Office 365 dedicated is aimed at 30,000+ seat deployments so unless you have a large user base this isn’t going to be an option as Microsoft will only start discussing this if you have a deployment of this size. As you are the only customer using the servers, however, you are able to deploy full trust solutions in SharePoint Online dedicated although these still need to go through Microsoft approval process before they can be deployed to the servers. The rest of this article will focus on the features and limitations of the public cloud.</p>
<p>Screen shots of the administration panel for the P and E plans are shown below. Note the complete lack of farm level configuration in the P plans:</p>
<p><strong>P1 Administration screen</strong> (note the ‘Manage team sites’ simply takes you to the team site settings page).</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="p1-admin" src="http://www.sharepointconfig.com/wp-content/uploads/2011/11/p1-admin.png" alt="p1-admin" width="644" height="449" border="0" /></p>
<p><strong>E3 Administration screen </strong>(note the SharePoint Online | Manage link takes you to the following additional admin screen)</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/11/e3-admin.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="e3-admin" src="http://www.sharepointconfig.com/wp-content/uploads/2011/11/e3-admin_thumb.png" alt="e3-admin" width="550" height="484" border="0" /></a></p>
<p><strong>E3 SharePoint Administration Screen</strong></p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="e3-sharepoint-admin" src="http://www.sharepointconfig.com/wp-content/uploads/2011/11/e3-sharepoint-admin.png" alt="e3-sharepoint-admin" width="475" height="484" border="0" /></p>
<p><strong>E3 SharePoint Site Collection Administration &#8211; </strong>note the resource and storage quotas. Sandbox solutions are limited to consuming the available resources in the quota &#8211; if these are used up all sandbox solutions stop running.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/11/e3-sharepoint-site-collection-admin.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="e3-sharepoint-site-collection-admin" src="http://www.sharepointconfig.com/wp-content/uploads/2011/11/e3-sharepoint-site-collection-admin_thumb.png" alt="e3-sharepoint-site-collection-admin" width="644" height="384" border="0" /></a></p>
<h3>What’s In</h3>
<p>A broad summary of the features available in SharePoint Online is included below. More details can be found in the <a href="http://www.microsoft.com/download/en/details.aspx?id=13602">Microsoft SharePoint Online for Enterprises Service Description</a>.</p>
<ul>
<li>My Sites</li>
<li>Office Integration (2007/2010)</li>
<li>SharePoint Workspace 2010 for Offline Working</li>
<li>External Sharing</li>
<li>Simple Public-Facing Website</li>
<li>Document Libraries</li>
<li>Slide &amp; Media Libraries</li>
<li>Business Taxonomies &amp; Tagging</li>
<li>Document Sets &amp; ID’s</li>
<li>Office Web Apps</li>
<li>Cross-site Collection Search</li>
<li>Search Refiners</li>
<li>Indexing Controls</li>
<li>People Search</li>
<li>Phonetic Search</li>
<li>Excel Services</li>
<li>Access Services</li>
<li>Visio Services</li>
<li>SharePoint Web Services</li>
<li>Forms Services</li>
<li>Custom Web Parts</li>
<li>Silverlight controls</li>
<li><strong>Sandboxed Solutions</strong></li>
<li>Blogs</li>
<li>Wikis</li>
<li>Business Connectivity Services</li>
</ul>
<p>As you can see there are a large number of features, and Microsoft is continuing to add to this by adding features. For example support for Business Connectivity Services and the Secure Store Service was added during October and November this year. If you need to extend these capabilities then sandboxed solutions can be used.</p>
<h3>What’s Out</h3>
<p>At the time of writing the following features were unavailable.</p>
<ul>
<li>Records Center</li>
<li>Information Rights Management (IRM)</li>
<li>SharePoint for Internet Sites and WCM workflow and approval</li>
<li>Site Variations</li>
<li>PerformancePoint Services</li>
<li>Power Pivot</li>
<li><strong>Full-Trust Code Solutions</strong></li>
<li>FAST Search</li>
</ul>
<h3>Development Options</h3>
<p>There are several options for developing custom solutions for SharePoint Online. As with on-premise SharePoint deployments you can use the <strong>browser</strong> to create site columns, content types, lists, web pages and other artefacts. You can also use <strong>SharePoint designer</strong> and InfoPath to create custom workflows, enhance list forms and provide similar customisations as you can with an on-premise deployment.</p>
<p>If you need to write code to provide functionality such as an event receiver or a web part then you can use <strong>sandboxed solutions </strong>to create and deploy managed code assemblies. If you need to provide functionality that isn’t supported in the sandbox such as timer jobs or service applications then one option is to host this logic in an external environment such as <strong>Windows Azure </strong>and interact with SharePoint online via the client object model and/or the SharePoint web services.</p>
<p><span class="Apple-style-span" style="font-size: 15px; font-weight: bold;">Key sandbox limitations</span></p>
<p>The sandbox model has some major restrictions on what is allowed. Some of the key limitations are:</p>
<ul>
<li>No access to the file system</li>
<li>Code restrictions:
<ul>
<li>GAC deployment prohibited</li>
<li>Restricted set of allowed assemblies</li>
</ul>
</li>
<li>No server side external calls</li>
<li>No Web Application or Farm scoped functionality</li>
<li>No full-trust proxy allowed in SP-O standard</li>
</ul>
<div>When you deploy sandbox solutions they must be uploaded and activated on individual site collections through the browser. At the moment there is no way to automatically propagate a solution to multiple site collections at once. Another thing to note is that sandbox solutions have a resource quota that is used up when processor cycles, database queries and other resources are used. Expensive operations like throwing unhandled exceptions and long-running processes use these resources up quickly and will eventually lead to a solution being blocked if all resources are consumed.</div>
<h4>Limitation #1 &#8211; No access to the file system</h4>
<p>Without the ability to deploy files or interact with files on the file system this prevents you from using the following in SharePoint Online:</p>
<ul>
<li><strong>Site definitions</strong> – These require onet.xml and webtemp.xml files deployed to the SharePoint root directory so are not available. To work around this limitation you can use the WebTemplate element that is new in SharePoint 2010 (and often overlooked). To find out more check out Vesa’s great post on <a href="http://blogs.msdn.com/b/vesku/archive/2010/10/14/sharepoint-2010-and-web-templates.aspx">SharePoint 2010 and web templates</a>.</li>
<li><strong>User controls</strong> – Again these need to be deployed to the ControlTemplates folder in the file system. To get around this limitation you can install the <a href="http://visualstudiogallery.msdn.microsoft.com/8e602a8c-6714-4549-9e95-f3700344b0d9">Visual Studio 2010 SharePoint Power Tools</a> as these include a Sandboxed Visual Web Part template that can be used to write a control (.ascx) file that is then compiled and deployed in your assembly, circumventing this limitation.</li>
<li><strong>Application pages</strong> – Typically used for settings or admin pages but you cannot deploy to the _layouts virtual directory as this maps to the SharePoint root LAYOUTS folder so these cannot be used. A workaround for these is to create a site page and embed a web part on this page so it appears like an application page. Wictor Wilén has a good article on this at <a href="http://www.wictorwilen.se/Post/Custom-application-pages-in-the-SharePoint-2010-Sandbox.aspx">Custom application pages in the SharePoint 2010 Sandbox</a>. Note when embedding your web part you need to use the SPUserCodeWebPart class rather than adding your web part directly to the page.</li>
<li><strong>Branding resources – </strong>Often resources such as images and JavaScript files are deployed to the SharePoint root so these need to be deployed to a library such as the Style Library instead. Another thing to note is that all file including masterpages and page layouts provisioned via a feature are checked out when using Sandboxed Solutions. Waldek’s article <a href="http://blog.mastykarz.nl/automatically-publishing-files-provisioned-sandboxed-solutions/">Automatically publishing files provisioned with Sandboxed Solutions</a> provides a solution for this.</li>
<li><strong>Web.config – </strong>Without the ability to change the web.config file you are prevented from many things such as creating HttpModules, adding custom authentication providers, and changing the appsettings entries. Many of these cannot be avoided but for application settings you can still use the SPWeb property bag or a SharePoint list.</li>
<li><strong>ULS logs</strong> – As you cannot write to or view entries in the ULS logs or Windows Event Logs debugging errors becomes a lot more difficult. When a web part or event handler errors in SharePoint Online there is no stack trace available and no log to check for details of what caused the error. One solution is to log to a SharePoint list and this is something I demonstrated in the SharePoint Saturday session. You need to be mindful of resource usage so the ability to switch logging on and off in production is useful here. I’ll include more details and an example solution in a later post.</li>
</ul>
<h4>Limitation #2 – Accessing external data</h4>
<p>Code running in SharePoint online is restricted to the scope of the current site collection. You cannot make web services calls or create new SPSite objects for other site collections. Some options for interacting with external data are:</p>
<ul>
<li><strong>Use client side code </strong>– This could be in the form of a Silverlight application using the Client Object Model, JavaScript running in a browser using the ECMAScript client model or using the Managed client OM such as in an Office Add-in. Wictor has a interesting article on one example of how to do this in his article <a href="http://www.wictorwilen.se/Post/SharePoint-Online-and-External-Data-using-JSONP.aspx">SharePoint Online and External Data using JSONP</a>.</li>
<li><strong>Business connectivity services – </strong>The BCS feature allows you to create external lists that render data from an external system so you could create a WCF service that exposes data in an external system and display this as a SharePoint list.</li>
<li><strong>Data view web part – </strong>Another simple way of getting data in is to use SharePoint designer and the data view web part. This can be used to display an RSS feed on a SharePoint page, for example. Note that you cannot use this server side so its use is fairly limited.</li>
</ul>
<h4>Limitation #3 &#8211; Code restrictions</h4>
<p>Some important points here are that you cannot deploy solutions to the GAC so your solutions do not have full trust. This prevents components such as custom workflow solutions and timer jobs from running. You also have a very restricted set of allowed assemblies and methods within those assemblies that can be called. For example the SPSecurity namespace is not allowed so you cannot run code under the application pool account as SPSecurity.RunWithElevatedPriviledges is not allowed. The Visual Studio SharePoint Power Tools mentioned earlier help you with this limitation by compiling sandbox solutions against the allowed set of assemblies so you can identify the available methods via intellisense and at will see errors if you use these at compile time.</p>
<p>Another key thing to note is that you do not have full access to the Page and HttpRequest objects. When the sandboxed code runs it is executed under the SPUCWorkerProcess not the W3Wp.exe process. The SPUCWorkerProcess only contains a copy of the Page and SPWeb objects so methods that Microsoft have not implemented such as Page.ClientScript or Response.Redirect will not work.</p>
<p>Some good articles on this topic are (again) by Wictor and Waldek:</p>
<ul>
<li><a href="http://blog.mastykarz.nl/dynamically-loading-javascript-sandbox/">Dynamically loading JavaScript from within Sandbox</a> by Waldek</li>
<li><a href="http://www.wictorwilen.se/Post/Understanding-the-SharePoint-2010-Sandbox-limitations.aspx">Understanding the SharePoint 2010 Sandbox limitations</a> by Wictor</li>
</ul>
<p>The <a href="http://msdn.microsoft.com/en-us/library/ff798382.aspx">Sandboxed Solutions</a> article on MSDN also has more in-depth coverage of some of these issues.</p>
<p>To get around some of these limitations one approach is to move your more complex application logic into an external system such as Windows Azure. The external system can then perform the procedures it needs to in a a fully trusted and fully featured environment. You might also want to store some of your data in an external system for compliance or cost reasons. Steve Fox has more information on this in his article <a href="http://blogs.msdn.com/b/steve_fox/archive/2011/11/12/leveraging-wcf-services-to-connect-bcs-with-sharepoint-online.aspx">Leveraging Windows Azure WCF Services to Connect BCS with SharePoint Online</a>.</p>
<h4>Limitation #4 – Deployment scope</h4>
<p>Sandboxed solutions can only contains site collection or site/web scoped features. Additionally you don’t have full access to farm features such as search so there are features such as managed search properties that are not available in SharePoint Online. Other things that are unavailable are authentication providers and custom service applications. Again, for situations where you need to extend your SharePoint Online environment beyond the scope of the site collection you may want to consider moving this application logic elsewhere and/or consider a hybrid approach where some SharePoint content is online and some is on premise.</p>
<h4>Resources</h4>
<p>To find out more or get up and running I recommend using the following resources:</p>
<ul>
<li><a href="http://www.microsoft.com/en-gb/office365/online-software.aspx">Office 365 Trial</a> – get started by setting up a 30 day trial account, or if you are a Microsoft partner sign up for an extended trial at <a href="http://www.microsoftcloudpartner.com/">http://www.microsoftcloudpartner.com/</a></li>
<li><a href="http://www.microsoft.com/download/en/details.aspx?id=17069">SharePoint Online for Office 365: Developer Guide</a></li>
<li><a href="http://visualstudiogallery.msdn.microsoft.com/8e602a8c-6714-4549-9e95-f3700344b0d9">Visual Studio 2010 SharePoint Power Tools</a> – include the Sandboxed Visual Web Part template and compilation rules for Sandbox Solutions</li>
<li><a href="http://o365fxcoprules.codeplex.com">FxCop Rules for SharePoint Online</a> – SharePoint online contains a solution validator with additional rules on top of the sandbox solution restrictions. To ensure your solution is compatible before you upload it to SharePoint online you can run these FxCop rules.</li>
</ul>
<p>I also found the following books useful resources for understanding more about SharePoint online development.</p>
<div style="clear: both;"><a href="http://www.amazon.co.uk/gp/product/073566210X/ref=as_li_ss_il?ie=UTF8&amp;tag=wwwsharepoint-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=073566210X"><img style="display: inline; float: left; margin-right:10px;" src="http://ws.assoc-amazon.co.uk/widgets/q?_encoding=UTF8&amp;Format=_SL110_&amp;ASIN=073566210X&amp;MarketPlace=GB&amp;ID=AsinImage&amp;WS=1&amp;tag=wwwsharepoint-21&amp;ServiceVersion=20070822" alt="" align="left" border="0" /></a><a href="http://www.amazon.co.uk/gp/product/073566210X/ref=as_li_ss_tl?ie=UTF8&amp;tag=wwwsharepoint-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=073566210X">Deploying Cloud-Based Microsoft SharePoint 2010 Solutions</a><img style="margin: 0px; border-style: none !important;" src="http://www.assoc-amazon.co.uk/e/ir?t=wwwsharepoint-21&amp;l=as2&amp;o=2&amp;a=073566210X" alt="" width="1" height="1" border="0" /> &#8211; good overview of Office 365. Doesn’t go into a lot of depth in terms of development but has a great high-level overview of Office 365, SharePoint Online, and high-level options for SharePoint online customisation and development.<img style="margin: 0px; border-style: none !important;" src="http://www.assoc-amazon.co.uk/e/ir?t=wwwsharepoint-21&amp;l=as2&amp;o=2&amp;a=073566210X" alt="" width="1" height="1" border="0" /></div>
<div style="clear: both;"><a href="http://www.amazon.co.uk/gp/product/B005EI85NC/ref=as_li_ss_il?ie=UTF8&amp;tag=wwwsharepoint-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=B005EI85NC"><img style="display: inline; float: left; margin-right:10px;" src="http://ws.assoc-amazon.co.uk/widgets/q?_encoding=UTF8&amp;Format=_SL110_&amp;ASIN=B005EI85NC&amp;MarketPlace=GB&amp;ID=AsinImage&amp;WS=1&amp;tag=wwwsharepoint-21&amp;ServiceVersion=20070822" alt="" align="left" border="0" /></a><a href="http://www.amazon.co.uk/gp/product/B005EI85NC/ref=as_li_ss_tl?ie=UTF8&amp;tag=wwwsharepoint-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=B005EI85NC">Developing Microsoft® SharePoint® Applications Using Windows Azure</a><img style="margin: 0px; border-style: none !important;" src="http://www.assoc-amazon.co.uk/e/ir?t=wwwsharepoint-21&amp;l=as2&amp;o=2&amp;a=B005EI85NC" alt="" width="1" height="1" border="0" />- useful hands on guide to developing applications using Windows Azure and integrating these with SharePoint.</div>
<div style="clear: both;"><a href="http://www.amazon.co.uk/gp/product/1118076575/ref=as_li_ss_il?ie=UTF8&amp;tag=wwwsharepoint-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=1118076575"><img style="float: left; margin-right:10px;" src="http://ws.assoc-amazon.co.uk/widgets/q?_encoding=UTF8&amp;Format=_SL110_&amp;ASIN=1118076575&amp;MarketPlace=GB&amp;ID=AsinImage&amp;WS=1&amp;tag=wwwsharepoint-21&amp;ServiceVersion=20070822" alt="" border="0" /></a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.co.uk/e/ir?t=wwwsharepoint-21&amp;l=as2&amp;o=2&amp;a=1118076575" alt="" width="1" height="1" border="0" /><br />
<a href="http://www.amazon.co.uk/gp/product/1118076575/ref=as_li_ss_tl?ie=UTF8&amp;tag=wwwsharepoint-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=1118076575">Professional SharePoint 2010 Cloud Based Solutions</a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.co.uk/e/ir?t=wwwsharepoint-21&amp;l=as2&amp;o=2&amp;a=1118076575" alt="" width="1" height="1" border="0" />- I&#8217;ve haven&#8217;t read this yet as it has just been released but it appears to have lots of hands on development examples of how to integrate SharePoint with a variety of cloud services.</div>
<div style="clear: both;">Lastly the slides from my SharePoint Saturday talk are below:</div>
<div id="__ss_10208991" style="width: 425px;float:none;margin-left:auto;margin-right:auto;">
<p><strong style="display: block; margin: 12px 0 4px;"><a title="Developing for SharePoint Online" href="http://www.slideshare.net/aribakker/developing-for-share-point-online" target="_blank">Developing for SharePoint Online</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/10208991" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="425" height="355"></iframe></p>
<div style="padding: 5px 0 12px;">View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/aribakker" target="_blank">Ari Bakker</a></div>
</div>
<p><a href="http://www.sharepointconfig.com/2011/11/developing-for-sharepoint-online/">Developing for SharePoint Online</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
     <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AriBakker?a=BqIKMC2e-S4:8KuI5RNlG6M:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=BqIKMC2e-S4:8KuI5RNlG6M:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=BqIKMC2e-S4:8KuI5RNlG6M:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=BqIKMC2e-S4:8KuI5RNlG6M:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=BqIKMC2e-S4:8KuI5RNlG6M:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=BqIKMC2e-S4:8KuI5RNlG6M:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=BqIKMC2e-S4:8KuI5RNlG6M:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AriBakker/~4/BqIKMC2e-S4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointconfig.com/2011/11/developing-for-sharepoint-online/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.sharepointconfig.com/2011/11/developing-for-sharepoint-online/</feedburner:origLink></item>
		<item>
		<title>Speaking at SharePoint Saturday UK</title>
		<link>http://feedproxy.google.com/~r/AriBakker/~3/mteWMzgn6pE/</link>
		<comments>http://www.sharepointconfig.com/2011/11/speaking-at-sharepoint-saturday-uk/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 23:48:44 +0000</pubDate>
		<dc:creator>Ari Bakker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sharepointconfig.com/2011/11/speaking-at-sharepoint-saturday-uk/</guid>
		<description><![CDATA[On the 12th of November I’ll be presenting a session on ‘Developing for SharePoint Online’ at SharePoint Saturday UK. The session is aimed at SharePoint developers who are interested in getting an overview of how to develop solutions in SharePoint Online which is part of Office 365. It will cover an brief overview of what [...]<p><a href="http://www.sharepointconfig.com/2011/11/speaking-at-sharepoint-saturday-uk/">Speaking at SharePoint Saturday UK</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
]]></description>
			<content:encoded><![CDATA[<p>On the 12th of November I’ll be presenting a session on ‘Developing for SharePoint Online’ at <a href="http://www.sharepointsaturday.org/uk/default.aspx">SharePoint Saturday UK</a>. The session is aimed at SharePoint developers who are interested in getting an overview of how to develop solutions in SharePoint Online which is part of Office 365. It will cover an brief overview of what SharePoint Online offers, the limitations and techniques to get around some of the biggest limitations of this environment. This is a developer focused session so it will have a technical focus but won’t be a deep dive – I’ll leave that to Steve Fox in the following session “SharePoint and the Cloud: Crash or Convergence?”.</p>
<p>There are 8 different tracks and heaps of great sessions so if you can make it I’d recommend it as a way of learning more and networking with the SharePoint community.</p>
<p><a href="http://www.sharepointconfig.com/2011/11/speaking-at-sharepoint-saturday-uk/">Speaking at SharePoint Saturday UK</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
     <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AriBakker?a=mteWMzgn6pE:PbzYKOdLO3U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=mteWMzgn6pE:PbzYKOdLO3U:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=mteWMzgn6pE:PbzYKOdLO3U:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=mteWMzgn6pE:PbzYKOdLO3U:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=mteWMzgn6pE:PbzYKOdLO3U:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=mteWMzgn6pE:PbzYKOdLO3U:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=mteWMzgn6pE:PbzYKOdLO3U:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AriBakker/~4/mteWMzgn6pE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointconfig.com/2011/11/speaking-at-sharepoint-saturday-uk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sharepointconfig.com/2011/11/speaking-at-sharepoint-saturday-uk/</feedburner:origLink></item>
		<item>
		<title>Adding Managed Metadata Fields to SharePoint Publishing Pages</title>
		<link>http://feedproxy.google.com/~r/AriBakker/~3/pgnRyO8TpbA/</link>
		<comments>http://www.sharepointconfig.com/2011/09/adding-managed-metadata-fields-to-sharepoint-publishing-pages/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 12:07:00 +0000</pubDate>
		<dc:creator>Ari Bakker</dc:creator>
				<category><![CDATA[2010]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Metadata]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Web Content Management]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[provisioning]]></category>
		<category><![CDATA[publishing]]></category>
		<category><![CDATA[taxonomy]]></category>
		<category><![CDATA[wcm]]></category>

		<guid isPermaLink="false">http://www.sharepointconfig.com/?p=1041</guid>
		<description><![CDATA[The Managed Metadata functionality provided by SharePoint 2010 allows you to centrally manage metadata and keywords. In a previous post I covered how to provision a SharePoint 2010 managed metadata field and add this to a content type and a list definition. In this post I will cover how to add these types of fields [...]<p><a href="http://www.sharepointconfig.com/2011/09/adding-managed-metadata-fields-to-sharepoint-publishing-pages/">Adding Managed Metadata Fields to SharePoint Publishing Pages</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
]]></description>
			<content:encoded><![CDATA[<p>The Managed Metadata functionality provided by SharePoint 2010 allows you to centrally manage metadata and keywords. In a previous post I covered <a href="http://www.sharepointconfig.com/2011/03/the-complete-guide-to-provisioning-sharepoint-2010-managed-metadata-fields/">how to provision a SharePoint 2010 managed metadata field</a> and add this to a content type and a list definition. In this post I will cover how to add these types of fields to a publishing page layout so that content authors can add metadata and keywords to webpages they create using these layouts.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/09/sharepoint-publishing-page-managed-metadata-field.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="sharepoint-publishing-page-managed-metadata-field" src="http://www.sharepointconfig.com/wp-content/uploads/2011/09/sharepoint-publishing-page-managed-metadata-field_thumb.png" alt="sharepoint-publishing-page-managed-metadata-field" width="599" height="423" border="0" /></a></p>
<p>If there are a large number of content pages this type of tagging can help users find information as these columns can be used as filters on a list, items in a tag cloud or as search refinements.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/09/search-results-page-metadata.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="search-results-page-metadata" src="http://www.sharepointconfig.com/wp-content/uploads/2011/09/search-results-page-metadata_thumb.png" alt="search-results-page-metadata" width="644" height="335" border="0" /></a></p>
<p>The steps to add a managed metadata field to a publishing page are:</p>
<p><strong>A) <a href="http://www.sharepointconfig.com/2011/03/the-complete-guide-to-provisioning-sharepoint-2010-managed-metadata-fields/">Create a managed metadata field</a></strong></p>
<ol>
<li>Provision a managed metadata field using type TaxonomyFieldType (or TaxonomyFieldTypeMulti to allow multiple values)</li>
<li>Configure the managed metadata column to reference an existing term set</li>
<li>Provision a hidden field of type Note</li>
<li>Configure the managed metadata column to use the hidden Note field</li>
<li>Ensure that the TaxonomyFieldAdded feature is activated on the site collection</li>
</ol>
<p><strong>B) Create a page layout that uses a managed metadata field</strong></p>
<ol>
<li>Create a site scoped feature for the page layout</li>
<li>Create a content type based on the ‘Page’ content type that uses the managed metadata fields</li>
<li>Create a page layout that uses the new content type</li>
<li>Create a web scoped feature for the content type association</li>
<li>Associate the content type with the pages library</li>
</ol>
<p>As I’ve covered the process to <a href="http://www.sharepointconfig.com/2011/03/the-complete-guide-to-provisioning-sharepoint-2010-managed-metadata-fields/">create a managed metadata field</a> in a previous article I won’t repeat that. Instead you can <a href="http://www.sharepointconfig.com/wp-content/uploads/2011/03/ManagedMetadataField.zip">download the example solution</a> and use the steps below to add the field to a page layout, or just use the steps below if you already have completed part A.</p>
<h3>1. Create a site scoped feature for the page layout</h3>
<p>In this example I’ve created two features – a site scoped feature named ‘Metadata Page’ and a web scoped feature named ‘Metadata Page Web’. The site scoped feature needs to contain the content type and page layout as these are deployed at the site collection level. It should also include a feature activation dependency on the feature(s) used in part A and the publishing infrastructure feature to ensure these features are available.</p>
<h3>2. Create a content type based on the ‘Page’ content type that uses the managed metadata fields</h3>
<p>Once you have deployed a managed metadata field you should create a content type that inherits from the Page content type (or one that derives from it such as the Article Page or Welcome Page). You will then want to include your managed metadata field and the hidden note field as well as any other fields you want to use in your layout. The example below adds the <strong>PublishingPageContent</strong> rich text field, the <strong>Regional Office</strong> managed metadata field and the associated hidden note field, and the <strong>Enterprise keywords</strong> field (a non-hierarchical open term set).</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 500px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;?</span><span style="color: #800000;">xml</span> <span style="color: #ff0000;">version</span><span style="color: #0000ff;">="1.0"</span> <span style="color: #ff0000;">encoding</span><span style="color: #0000ff;">="utf-8"</span>?<span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Elements</span> <span style="color: #ff0000;">xmlns</span><span style="color: #0000ff;">="http://schemas.microsoft.com/sharepoint/"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #008000;">&lt;!-- Parent ContentType: Page (0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF39) --&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">ContentType</span> <span style="color: #ff0000;">ID</span><span style="color: #0000ff;">="0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900e20db8f48c7c44d0938059ab05bace32"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">               <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="Metadata Page"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">               <span style="color: #ff0000;">Group</span><span style="color: #0000ff;">="Custom Content Types"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">               <span style="color: #ff0000;">Description</span><span style="color: #0000ff;">="My Content Type"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">               <span style="color: #ff0000;">Inherits</span><span style="color: #0000ff;">="TRUE"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">               <span style="color: #ff0000;">Version</span><span style="color: #0000ff;">="0"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">FieldRefs</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">FieldRef</span> <span style="color: #ff0000;">ID</span><span style="color: #0000ff;">="{f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8}"</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="PublishingPageContent"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">FieldRef</span> <span style="color: #ff0000;">ID</span><span style="color: #0000ff;">="{dcb76480-4735-11e0-ab07-0800200c9a66}"</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="RegionalOffice"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">FieldRef</span> <span style="color: #ff0000;">ID</span><span style="color: #0000ff;">="{9EDAB26E-CC44-4027-AB05-CB44EA3A6F72}"</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="RegionalOfficeTaxHTField0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">FieldRef</span> <span style="color: #ff0000;">ID</span><span style="color: #0000ff;">="{23f27201-bee3-471e-b2e7-b64fd8b7ca38}"</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="TaxKeyword"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">FieldRefs</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">ContentType</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">Elements</span><span style="color: #0000ff;">&gt;</span></pre>
</div>
</div>
<p>Note that unlike the previous post I’m not adding the TaxCatchAll or TaxCatchAllLabel fields to my content type as these are added to the list automatically when you associate the content type with the Pages list (covered in step 3). This step is only required if you are creating a list definition – more details are in the post on <a href="http://www.sharepointconfig.com/2011/03/issues-provisioning-sharepoint-2010-managed-metadata-fields/">issues provisioning SharePoint 2010 managed metadata fields</a>.</p>
<h3>3. Create a page layout that uses the new content type</h3>
<p>To create the page layout you need to create an ASPX page and a module that will deploy this to the masterpage gallery. One way of creating the ASPX page is to use the CKS:Dev Visual Studio extensions that allow you to create this by right clicking on the content type in server explorer.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/09/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="image" src="http://www.sharepointconfig.com/wp-content/uploads/2011/09/image_thumb.png" alt="image" width="325" height="344" border="0" /></a></p>
<p>Alternatively you can just create an empty module and add a standard ASPX page with the mark-up shown below:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 500px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="background-color: #ffff00;">&lt;%@ Page language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full" meta:progid="SharePoint.WebPartPage.Document" %&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="background-color: #ffff00;">&lt;%@ Register Tagprefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="background-color: #ffff00;">&lt;%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="background-color: #ffff00;">&lt;%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="background-color: #ffff00;">&lt;%@ Register Tagprefix="Taxonomy" Namespace="Microsoft.SharePoint.Taxonomy" Assembly="Microsoft.SharePoint.Taxonomy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">asp:Content</span> <span style="color: #ff0000;">ContentPlaceholderID</span><span style="color: #0000ff;">="PlaceHolderPageTitle"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">SharePointWebControls:FieldValue</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="PageTitle"</span> <span style="color: #ff0000;">FieldName</span><span style="color: #0000ff;">="Title"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">asp:Content</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">asp:Content</span> <span style="color: #ff0000;">ContentPlaceholderID</span><span style="color: #0000ff;">="PlaceHolderPageTitleInTitleArea"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">SharePointWebControls:FieldValue</span> <span style="color: #ff0000;">FieldName</span><span style="color: #0000ff;">="Title"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">asp:Content</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">asp:Content</span> <span style="color: #ff0000;">ContentPlaceholderID</span><span style="color: #0000ff;">="PlaceHolderAdditionalPageHead"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">SharePointWebControls:CssRegistration</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="&lt;% $SPUrl:~sitecollection/Style Library/~language/Core Styles/page-layouts-21.css %&gt;"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">PublishingWebControls:EditModePanel</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">&lt;!-- Styles for edit mode only--&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">SharePointWebControls:CssRegistration</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="&lt;% $SPUrl:~sitecollection/Style Library/~language/Core Styles/edit-mode-21.css %&gt;"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #ff0000;">After</span><span style="color: #0000ff;">="&lt;% $SPUrl:~sitecollection/Style Library/~language/Core Styles/page-layouts-21.css %&gt;"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">PublishingWebControls:EditModePanel</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">SharePointWebControls:CssRegistration</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="&lt;% $SPUrl:~sitecollection/Style Library/~language/Core Styles/rca.css %&gt;"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">asp:Content</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">asp:Content</span> <span style="color: #ff0000;">ContentPlaceHolderId</span><span style="color: #0000ff;">="PlaceHolderMain"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">h2</span><span style="color: #0000ff;">&gt;&lt;</span><span style="color: #800000;">SharePointWebControls:TextField</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span> <span style="color: #ff0000;">FieldName</span><span style="color: #0000ff;">="Title"</span><span style="color: #0000ff;">/&gt;&lt;/</span><span style="color: #800000;">h2</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">p</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">strong</span><span style="color: #0000ff;">&gt;&lt;</span><span style="color: #800000;">PublishingWebControls:EditModePanel</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span> <span style="color: #ff0000;">PageDisplayMode</span><span style="color: #0000ff;">="Display"</span><span style="color: #0000ff;">&gt;</span>Regional Office:<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">PublishingWebControls:EditModePanel</span><span style="color: #0000ff;">&gt;&lt;/</span><span style="color: #800000;">strong</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Taxonomy:TaxonomyFieldControl</span> <span style="color: #ff0000;">FieldName</span><span style="color: #0000ff;">="RegionalOffice"</span> <span style="color: #ff0000;">InputFieldLabel</span><span style="color: #0000ff;">="Regional Office"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">&gt;&lt;/</span><span style="color: #800000;">Taxonomy:TaxonomyFieldControl</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">p</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">p</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">strong</span><span style="color: #0000ff;">&gt;&lt;</span><span style="color: #800000;">PublishingWebControls:EditModePanel</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span> <span style="color: #ff0000;">PageDisplayMode</span><span style="color: #0000ff;">="Display"</span><span style="color: #0000ff;">&gt;</span>Tags:<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">PublishingWebControls:EditModePanel</span><span style="color: #0000ff;">&gt;&lt;/</span><span style="color: #800000;">strong</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Taxonomy:TaxonomyFieldControl</span> <span style="color: #ff0000;">FieldName</span><span style="color: #0000ff;">="TaxKeyword"</span> <span style="color: #ff0000;">InputFieldLabel</span><span style="color: #0000ff;">="Tags"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">&gt;&lt;/</span><span style="color: #800000;">Taxonomy:TaxonomyFieldControl</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">p</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">div</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="article-content"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">PublishingWebControls:RichHtmlField</span> <span style="color: #ff0000;">FieldName</span><span style="color: #0000ff;">="PublishingPageContent"</span> <span style="color: #ff0000;">HasInitialFocus</span><span style="color: #0000ff;">="True"</span> <span style="color: #ff0000;">MinimumEditHeight</span><span style="color: #0000ff;">="400px"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">div</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">asp:Content</span><span style="color: #0000ff;">&gt;</span></pre>
</div>
</div>
<p>In your elements.xml file you then configure this page layout to be deployed to the masterpage gallery and use the content type you created in step 1 by using the following mark-up:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 500px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;?</span><span style="color: #800000;">xml</span> <span style="color: #ff0000;">version</span><span style="color: #0000ff;">="1.0"</span> <span style="color: #ff0000;">encoding</span><span style="color: #0000ff;">="utf-8"</span>?<span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Elements</span> <span style="color: #ff0000;">xmlns</span><span style="color: #0000ff;">="http://schemas.microsoft.com/sharepoint/"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Module</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="PageLayouts"</span> <span style="color: #ff0000;">Url</span><span style="color: #0000ff;">="_catalogs/masterpage"</span> <span style="color: #ff0000;">Path</span><span style="color: #0000ff;">="PageLayouts"</span> <span style="color: #ff0000;">RootWebOnly</span><span style="color: #0000ff;">="TRUE"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">File</span> <span style="color: #ff0000;">Url</span><span style="color: #0000ff;">="MetadataPageLayout.aspx"</span> <span style="color: #ff0000;">Type</span><span style="color: #0000ff;">="GhostableInLibrary"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Property</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="Title"</span> <span style="color: #ff0000;">Value</span><span style="color: #0000ff;">="Metadata Page"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Property</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="ContentType"</span> <span style="color: #ff0000;">Value</span><span style="color: #0000ff;">="$Resources:cmscore,contenttype_pagelayout_name;"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Property</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="PublishingPreviewImage"</span> <span style="color: #ff0000;">Value</span><span style="color: #0000ff;">="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/DefaultPageLayout.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/DefaultPageLayout.png"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Property</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="PublishingAssociatedContentType"</span> <span style="color: #ff0000;">Value</span><span style="color: #0000ff;">=";#Metadata Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900e20db8f48c7c44d0938059ab05bace32;#"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">File</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">Module</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">Elements</span><span style="color: #0000ff;">&gt;</span></pre>
</div>
</div>
<h3>4. Create a web scoped feature for the content type association</h3>
<p>At this point you should check your features to make sure the content type and page layout are associated with the Metadata Page site scoped feature. You should also create a web scoped feature to use for the following item.</p>
<h3>5. Associate the content type with the pages library</h3>
<p>The last step is to associate the content type with the pages library. If you miss this step then users can still create pages using your page layout but if they only have contribute permission then the managed metadata functionality is not configured properly within the pages library correctly and you get the following error:</p>
<blockquote><p>Failed to get value of the &#8220;{0}&#8221; column from the &#8220;Managed Metadata&#8221; field type control. See details in log. Exception message: Invalid field name. {1}</p></blockquote>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/09/error-sharepoint-publishing-page-metadata.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="error-sharepoint-publishing-page-metadata" src="http://www.sharepointconfig.com/wp-content/uploads/2011/09/error-sharepoint-publishing-page-metadata_thumb.png" alt="error-sharepoint-publishing-page-metadata" width="582" height="285" border="0" /></a></p>
<p>To create this association create an empty module element with the following mark-up:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 500px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;?</span><span style="color: #800000;">xml</span> <span style="color: #ff0000;">version</span><span style="color: #0000ff;">="1.0"</span> <span style="color: #ff0000;">encoding</span><span style="color: #0000ff;">="utf-8"</span>?<span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Elements</span> <span style="color: #ff0000;">xmlns</span><span style="color: #0000ff;">="http://schemas.microsoft.com/sharepoint/"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #008000;">&lt;!-- Metadata page binding --&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">ContentTypeBinding</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #ff0000;">ContentTypeId</span><span style="color: #0000ff;">="0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900e20db8f48c7c44d0938059ab05bace32"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #ff0000;">ListUrl</span><span style="color: #0000ff;">="Pages"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">Elements</span><span style="color: #0000ff;">&gt;</span></pre>
</div>
</div>
<p>The web scoped feature that is used for this should be activated on all sites that will use the page layout you created earlier. It tells SharePoint to add the content type to the pages library as well as all associated fields and will correctly configure the managed metadata functionality when this is activated. To setup this association you might want to add this feature in your custom web templates (or site definitions) or use a <a href="http://msdn.microsoft.com/en-us/library/aa544552.aspx">FeatureSiteTemplateAssociation</a> to associate your feature with existing site definitions such as the publishing site.</p>
<p>Once this is deployed you should be able to create a new page and select your page layout from the ribbon as shown below:</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/09/sharepoint-publishing-page-layout.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="sharepoint-publishing-page-layout" src="http://www.sharepointconfig.com/wp-content/uploads/2011/09/sharepoint-publishing-page-layout_thumb.png" alt="sharepoint-publishing-page-layout" width="534" height="383" border="0" /></a></p>
<p>I’ve included the code used in the steps above in a <a href="http://www.sharepointconfig.com/downloadPageManagedMetadata.zip">Visual Studio 2010 project to add a managed metadata field to a publishing page layout</a>. This builds on the previous example to create a managed metadata field so it also includes the code to create a list definition.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/09/sharepoint-publishing-page-managed-metadata-field1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="sharepoint-publishing-page-managed-metadata-field" src="http://www.sharepointconfig.com/wp-content/uploads/2011/09/sharepoint-publishing-page-managed-metadata-field_thumb1.png" alt="sharepoint-publishing-page-managed-metadata-field" width="599" height="423" border="0" /></a></p>
<p><a href="http://www.sharepointconfig.com/2011/09/adding-managed-metadata-fields-to-sharepoint-publishing-pages/">Adding Managed Metadata Fields to SharePoint Publishing Pages</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
     <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AriBakker?a=pgnRyO8TpbA:kII2aFwrM2k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=pgnRyO8TpbA:kII2aFwrM2k:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=pgnRyO8TpbA:kII2aFwrM2k:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=pgnRyO8TpbA:kII2aFwrM2k:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=pgnRyO8TpbA:kII2aFwrM2k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=pgnRyO8TpbA:kII2aFwrM2k:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=pgnRyO8TpbA:kII2aFwrM2k:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AriBakker/~4/pgnRyO8TpbA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointconfig.com/2011/09/adding-managed-metadata-fields-to-sharepoint-publishing-pages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.sharepointconfig.com/2011/09/adding-managed-metadata-fields-to-sharepoint-publishing-pages/</feedburner:origLink></item>
		<item>
		<title>Error with published links to Office client applications</title>
		<link>http://feedproxy.google.com/~r/AriBakker/~3/siX1JUlFKWM/</link>
		<comments>http://www.sharepointconfig.com/2011/06/error-with-published-links-to-office-client-applications/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 11:30:37 +0000</pubDate>
		<dc:creator>Ari Bakker</dc:creator>
				<category><![CDATA[2010]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[Published Links]]></category>

		<guid isPermaLink="false">http://www.sharepointconfig.com/?p=1025</guid>
		<description><![CDATA[SharePoint allows you to publish SharePoint links so that they appear in Office ‘Save As’ dialog boxes. This is useful if you want to encourage users to save Word, Excel and other Office documents directly into SharePoint rather than the file system as this dialog is shown the first time you save a new file. [...]<p><a href="http://www.sharepointconfig.com/2011/06/error-with-published-links-to-office-client-applications/">Error with published links to Office client applications</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
]]></description>
			<content:encoded><![CDATA[<p>SharePoint allows you to <a href="http://technet.microsoft.com/en-us/library/cc263102.aspx">publish SharePoint links</a> so that they appear in Office ‘Save As’ dialog boxes. This is useful if you want to encourage users to save Word, Excel and other Office documents directly into SharePoint rather than the file system as this dialog is shown the first time you save a new file. It allows you to create targeted shortcuts so relevant document libraries and sites are easily accessible when saving Office documents.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/06/office-save-as-sharepoint-sites.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="office-save-as-sharepoint-sites" src="http://www.sharepointconfig.com/wp-content/uploads/2011/06/office-save-as-sharepoint-sites_thumb.png" border="0" alt="office-save-as-sharepoint-sites" width="696" height="510" /></a></p>
<p>In SharePoint 2010 these published links are managed under the user profile service application in a page called ‘Published links to Office client applications’.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/06/sharepoint-2010-published-links-office.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sharepoint-2010-published-links-office" src="http://www.sharepointconfig.com/wp-content/uploads/2011/06/sharepoint-2010-published-links-office_thumb.png" border="0" alt="sharepoint-2010-published-links-office" width="644" height="340" /></a></p>
<p>We had an issue this week, however, where a client encountered the following error when trying to browse to this page.</p>
<p>The error message stated:</p>
<blockquote><p>Your search encountered an error. If the problem persists, contact the portal site administrator.</p></blockquote>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/06/sharepoint-2010-published-links-office-error.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="sharepoint-2010-published-links-office-error" src="http://www.sharepointconfig.com/wp-content/uploads/2011/06/sharepoint-2010-published-links-office-error_thumb.png" border="0" alt="sharepoint-2010-published-links-office-error" width="644" height="256" /></a></p>
<p>There was nothing obvious in the event logs or the ULS logs about this message making it a bit of a mystery as to why it was failing.</p>
<p>After some investigation I found that the problem could be recreated by creating a published link that related to an audience and then deleting that audience. Yes that’s right, there is some really shoddy coding going on there and simply deleting the audience through the UI causes the entire published links screen to stop working! As you can’t see the links anymore you cannot delete the affected links. You also can’t undo the audience deletion so you are essentially stuck.</p>
<p>With some digging I found the values are stored in the SharedListSync table of the Profile DB relating to the user profile service application. As deleting information out of the SharePoint databases risks causing worse problems (not to mention leaving your farm in an unsupported state) I had a look at how the UI handles the deletion when the page is working and found a much better workaround.</p>
<p>If you add a checkbox to the page with a value that matches the ID of the link in the database you can delete the affected links. This is basically mimicking the checkboxes that would be on the page if it rendered correctly. You can then select the checkbox and use the delete button in exactly the same way SharePoint allows you to i.e. in a supported manner. This is shown below:</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/06/sharepoint-2010-published-links-office-checkbox.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="sharepoint-2010-published-links-office-checkbox" src="http://www.sharepointconfig.com/wp-content/uploads/2011/06/sharepoint-2010-published-links-office-checkbox_thumb.png" border="0" alt="sharepoint-2010-published-links-office-checkbox" width="612" height="554" /></a></p>
<p>Note the highlighted checkbox that has been manually inserted into the DOM by editing the HTML mark up. The <strong>value=”1”</strong> will mean that the link with the ItemId of 1 in the database will be deleted. Determining the ID’s to delete does require access to the Profile DB but this can be done by taking a backup of the affected database and restoring it in a test environment if you don’t have access to live data. What you need to look for is the ItemId field in the SharedListSync table.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/06/sql-sharedlistsync-table.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="sql-sharedlistsync-table" src="http://www.sharepointconfig.com/wp-content/uploads/2011/06/sql-sharedlistsync-table_thumb.png" border="0" alt="sql-sharedlistsync-table" width="609" height="77" /></a></p>
<p>The values in the TargetTo column relate to an audience stored in the Profile_SearchAudienceTable. In this case we can see that the row with an ItemId of 2 has an audience so this would be the item to delete if there was a problem.</p>
<p>To add the checkbox to the page you can use tools such as Firebug for Firefox or the IE Developer toolbar. In either tool you just need to select the HTML tab, click edit and insert an input element with type=”checkbox” and a value matching the ItemId of the row to delete. For example to delete the row with ItemId of 2 you could insert the following.</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 500px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">input</span> <span style="color: #ff0000;">type</span><span style="color: #0000ff;">="checkbox"</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="CheckedLinks1"</span> <span style="color: #ff0000;">value</span><span style="color: #0000ff;">="2"</span><span style="color: #0000ff;">&gt;</span></pre>
<p><!--CRLF--></p>
</div>
</div>
<p>You need to make sure the input element is within the FORM tag of the page but it doesn’t matter where you put it. For example the screen shot below shows how you can edit the HTML using the IE developer toolbar to add the tag directly after the opening FORM element. This will place the checkbox to delete the item at the very top of the page.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/06/ie-dev-toolbar-published-links-checkbox.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="ie-dev-toolbar-published-links-checkbox" src="http://www.sharepointconfig.com/wp-content/uploads/2011/06/ie-dev-toolbar-published-links-checkbox_thumb.png" border="0" alt="ie-dev-toolbar-published-links-checkbox" width="644" height="394" /></a></p>
<p>If you have multiple items to remove you can add in multiple input elements, select all the items and delete them at once. Once you have deleted the links with missing audiences the screen should return to a usable state.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/06/sharepoint-2010-published-links-office-working.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="sharepoint-2010-published-links-office-working" src="http://www.sharepointconfig.com/wp-content/uploads/2011/06/sharepoint-2010-published-links-office-working_thumb.png" border="0" alt="sharepoint-2010-published-links-office-working" width="623" height="304" /></a></p>
<p><a href="http://www.sharepointconfig.com/2011/06/error-with-published-links-to-office-client-applications/">Error with published links to Office client applications</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
     <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AriBakker?a=siX1JUlFKWM:o_Hu6l0WX_k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=siX1JUlFKWM:o_Hu6l0WX_k:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=siX1JUlFKWM:o_Hu6l0WX_k:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=siX1JUlFKWM:o_Hu6l0WX_k:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=siX1JUlFKWM:o_Hu6l0WX_k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=siX1JUlFKWM:o_Hu6l0WX_k:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=siX1JUlFKWM:o_Hu6l0WX_k:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AriBakker/~4/siX1JUlFKWM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointconfig.com/2011/06/error-with-published-links-to-office-client-applications/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.sharepointconfig.com/2011/06/error-with-published-links-to-office-client-applications/</feedburner:origLink></item>
		<item>
		<title>SharePoint 2010 People Directory Part 2 – Table Layout</title>
		<link>http://feedproxy.google.com/~r/AriBakker/~3/6gZm6Us-vx4/</link>
		<comments>http://www.sharepointconfig.com/2011/06/create-a-sharepoint-2010-people-directory-with-a-table-layout/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 20:28:20 +0000</pubDate>
		<dc:creator>Ari Bakker</dc:creator>
				<category><![CDATA[2010]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[No code]]></category>
		<category><![CDATA[people]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.sharepointconfig.com/?p=1003</guid>
		<description><![CDATA[I’ve had a couple of requests to extend the people directory I covered in a previous article on <a href="http://www.sharepointconfig.com/2011/05/how-to-create-a-simple-sharepoint-2010-people-directory/">How to: Create a Simple SharePoint 2010 People Directory</a>. One request was to show how to display the results in a table based layout. Displaying a basic table like the one shown below is really straightforward and simply involves some modifications to the XSL property of the search results web part. 
 
<a href="http://www.sharepointconfig.com/2011/06/create-a-sharepoint-2010-people-directory-with-a-table-layout/"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="people-search-table-layout" src="http://www.sharepointconfig.com/wp-content/uploads/2011/06/people-search-table-layout_thumb.png" border="0" alt="people-search-table-layout" width="644" height="484" /></a> <p><a href="http://www.sharepointconfig.com/2011/06/create-a-sharepoint-2010-people-directory-with-a-table-layout/">SharePoint 2010 People Directory Part 2 &#8211; Table Layout</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I’ve had a couple of requests to extend the people directory I covered in a previous article on <a href="http://www.sharepointconfig.com/2011/05/how-to-create-a-simple-sharepoint-2010-people-directory/">How to: Create a Simple SharePoint 2010 People Directory</a>. One request was to show how to display the results in a table based layout. Displaying a basic table like the one shown below is really straightforward and simply involves some modifications to the XSL property of the search results web part.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/06/people-search-table-layout.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="people-search-table-layout" src="http://www.sharepointconfig.com/wp-content/uploads/2011/06/people-search-table-layout_thumb.png" border="0" alt="people-search-table-layout" width="644" height="484" /></a></p>
<p>The XSLT used in the example above is shown below.</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;?</span><span style="color: #800000;">xml</span> <span style="color: #ff0000;">version</span><span style="color: #0000ff;">="1.0"</span> <span style="color: #ff0000;">encoding</span><span style="color: #0000ff;">="utf-8"</span>?<span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:stylesheet</span> <span style="color: #ff0000;">version</span><span style="color: #0000ff;">="1.0"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #ff0000;">xmlns:xsl</span><span style="color: #0000ff;">="http://www.w3.org/1999/XSL/Transform"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #ff0000;">xmlns:ddwrt</span><span style="color: #0000ff;">="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #ff0000;">xmlns:asp</span><span style="color: #0000ff;">="http://schemas.microsoft.com/ASPNET/20"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #ff0000;">xmlns:SEARCHWC</span><span style="color: #0000ff;">="http://schemas.microsoft.com/searchserver/"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:output</span> <span style="color: #ff0000;">method</span><span style="color: #0000ff;">="xml"</span> <span style="color: #ff0000;">indent</span><span style="color: #0000ff;">="no"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SortBy"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="DropDownOption"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="RelevanceSortUrl"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="RelevanceSortLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SocialDistanceSortUrl"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SocialDistanceSortLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="NameSortUrl"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="NameSortLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="IsNoKeyword"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="IsFixedQuery"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="ShowMoreLink"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="MoreLinkLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="MoreLink"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="AlertMeLink"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="AlertMeText"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SrchRSSText"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SrchRSSLink"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="ShowMessage"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="ShowActionLinks"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SearchProviderText"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SearchProviderLink"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="IsPeopleCoreResultsWebPart"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="NoFixedQuery"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="NoKeyword"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="NoPeopleResults"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="NoPeopleResults1"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="NoPeopleResults2"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="NoPeopleResults3"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="NoPeopleResults4"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="ParentOrgsLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="ViewHiearchyLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="RecentContentLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="ResponsibilitiesLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SkillsLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="InterestsLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="PastProjectsLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SchoolLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="MembershipLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="AboutMeLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="BaseOfficeLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SummaryLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="ProfileViewLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="UpdateProfileLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="QueriesFoundYouLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="UpdateProfileKeywordLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SelfSearchLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="NoKeywordLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="AddToMyColleaguesText"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="PopupFetcingResultLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="IdPrefix"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="LangPickerHeading"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="LangPickerNodeSet"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="FilterNodeSet"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="ShowPeopleSortDropdown"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="RecentUpdateTabLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #008000;">&lt;!-- When there is no keywory to issue the search --&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="dvt_1.noKeyword"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">span</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-sbplain"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:when</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$IsFixedQuery"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$NoFixedQuery"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:when</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:otherwise</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$NoKeyword"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:otherwise</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">span</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #008000;">&lt;!-- When empty result set is returned from search --&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="dvt_1.empty"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">div</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="psrch-results"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$ShowActionLinks"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:call-template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="ActionBarTemplate"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">div</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">span</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="srch-description"</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="CSR_NO_RESULTS"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$NoPeopleResults"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">ol</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">li</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$NoPeopleResults1"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">li</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">li</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$NoPeopleResults2"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">li</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">li</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$NoPeopleResults3"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">li</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">li</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$NoPeopleResults4"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">li</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">ol</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">span</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #008000;">&lt;!-- Main body template--&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="dvt_1.body"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">div</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="psrch-results"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$ShowActionLinks"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">div</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="srch-sort-right2"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$LangPickerNodeSet and count($LangPickerNodeSet) &amp;gt; 0"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">label</span> <span style="color: #ff0000;">for</span><span style="color: #0000ff;">="langpickerdd"</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="langpickerddlabel"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$LangPickerHeading"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">label</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">select</span> <span style="color: #ff0000;">title</span><span style="color: #0000ff;">="{$LangPickerHeading}"</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="srch-dropdown"</span> <span style="color: #ff0000;">onchange</span><span style="color: #0000ff;">="window.location.href=this.value"</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="langpickerdd"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:for-each</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$LangPickerNodeSet"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:element</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="option"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:attribute</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="value"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="@url"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:attribute</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="@selected = 'true'"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:attribute</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="selected"</span><span style="color: #0000ff;">&gt;</span>selected<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:attribute</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="@title"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:element</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:for-each</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">select</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:text</span> <span style="color: #ff0000;">disable-output-escaping</span><span style="color: #0000ff;">="yes"</span><span style="color: #0000ff;">&gt;</span>&amp;#8195;<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:text</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$ShowPeopleSortDropdown"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">label</span> <span style="color: #ff0000;">for</span><span style="color: #0000ff;">="sortbydd"</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="sortbyddlabel"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$SortBy"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">label</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">select</span> <span style="color: #ff0000;">title</span><span style="color: #0000ff;">="{$SortBy}"</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="dropdown"</span> <span style="color: #ff0000;">onchange</span><span style="color: #0000ff;">="window.location.href=this.value"</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="srch-dropdown"</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="sortbydd"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:element</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="option"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:attribute</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="value"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string($RelevanceSortUrl)"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:attribute</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$DropDownOption = '0'"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:attribute</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="selected"</span><span style="color: #0000ff;">&gt;</span>selected<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:attribute</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$RelevanceSortLabel"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:element</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="string-length($SocialDistanceSortUrl) &amp;gt; 0 and string-length($SocialDistanceSortLabel) &amp;gt; 0"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:element</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="option"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:attribute</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="value"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string($SocialDistanceSortUrl)"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:attribute</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$DropDownOption = '1'"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:attribute</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="selected"</span><span style="color: #0000ff;">&gt;</span>selected<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:attribute</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$SocialDistanceSortLabel"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:element</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:element</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="option"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:attribute</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="value"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string($NameSortUrl)"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:attribute</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$DropDownOption = '2'"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:attribute</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="selected"</span><span style="color: #0000ff;">&gt;</span>selected<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:attribute</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$NameSortLabel"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:element</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">select</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:text</span> <span style="color: #ff0000;">disable-output-escaping</span><span style="color: #0000ff;">="yes"</span><span style="color: #0000ff;">&gt;</span>&amp;#8195;<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:text</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:call-template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="ActionBarTemplate"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">div</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">table</span> <span style="color: #ff0000;">width</span><span style="color: #0000ff;">="100%"</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-listviewtable"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">thead</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">tr</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-viewheadertr ms-vhltr"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Name<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Phone<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Email<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Job title<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Department<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Office<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">tr</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">thead</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:for-each</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="All_Results/Result"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:call-template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SingleResult"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:for-each</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">table</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:call-template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="MoreLinkTemplate"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">div</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #008000;">&lt;!-- This template is called for each result --&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SingleResult"</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:call-template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SingleResultInternal"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SingleResultInternal"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="id"</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="id"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="currentId"</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="concat($IdPrefix,$id)"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="url"</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="url"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="email"</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="workemail"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="sip"</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="sipaddress"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="prefix"</span><span style="color: #0000ff;">&gt;</span>IMNRC('<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:variable</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="suffix"</span><span style="color: #0000ff;">&gt;</span>')<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:variable</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hassip"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length($sip) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasemail"</span>     <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length($email) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="haspn"</span>        <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(preferredname) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasydn"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(yomidisplayname) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasjt"</span>        <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(jobtitle) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasdp"</span>        <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(department) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasorg"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(orgnames) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="haswph"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(workphone) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasonum"</span>      <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(officenumber) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hascol"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(colleaguecategory) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasacu"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(addtomycolleaguesurl) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hashier"</span>      <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(hierarchyurl) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasabme"</span>      <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(aboutme) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasresp"</span>      <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(responsibility) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hassk"</span>        <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="($FilterNodeSet and $FilterNodeSet/@title='SPShSkills') or hithighlightedproperties/skills/@hashh &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasint"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="($FilterNodeSet and $FilterNodeSet/@title='SPShInterests') or hithighlightedproperties/interests/@hashh &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasorgparent"</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="($FilterNodeSet and $FilterNodeSet/@title='OrgParentNames') or hithighlightedproperties/orgparentnames/@hashh &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasmem"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="($FilterNodeSet and $FilterNodeSet/@title='Memberships') or hithighlightedproperties/memberships/@hashh &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="haspp"</span>        <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="($FilterNodeSet and $FilterNodeSet/@title='SPShPastProjects') or hithighlightedproperties/pastprojects/@hashh &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasbol"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="($FilterNodeSet and $FilterNodeSet/@title='SPShLocation') or hithighlightedproperties/baseofficelocation/@hashh &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hassch"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="($FilterNodeSet and $FilterNodeSet/@title='SPShSchool') or hithighlightedproperties/schools/@hashh &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hassum"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="count(hithighlightedsummary/c0) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasvlm"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(profileviewlastmonth) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasvlw"</span>       <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(profileviewlastweek) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hasquery"</span>     <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="string-length(queriesfoundyou) &amp;gt; 0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">tr</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vb2"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$haspn"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">a</span> <span style="color: #ff0000;">href</span><span style="color: #0000ff;">="{string($url)}"</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="{concat($currentId, '_CSR')}"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="hithighlightedproperties/preferredname"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">a</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vb2"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="hithighlightedproperties/workphone"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vb2"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:when</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$hassip"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">a</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="{concat($currentId, '_EmailLink')}"</span> <span style="color: #ff0000;">href</span><span style="color: #0000ff;">="{concat('mailto:', $sip)}"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="hithighlightedproperties/sipaddress"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">a</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:when</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:otherwise</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">a</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="{concat($currentId, '_EmailLink')}"</span> <span style="color: #ff0000;">href</span><span style="color: #0000ff;">="{concat('mailto:', $email)}"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="hithighlightedproperties/workemail"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">a</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:otherwise</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vb2"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="hithighlightedproperties/jobtitle"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vb2"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="hithighlightedproperties/department"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vb2"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="hithighlightedproperties/officenumber"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">tr</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #008000;">&lt;!-- XSL transformation starts here --&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="/"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$AlertMeLink and $ShowActionLinks"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">input</span> <span style="color: #ff0000;">type</span><span style="color: #0000ff;">="hidden"</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="P_Query"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">input</span> <span style="color: #ff0000;">type</span><span style="color: #0000ff;">="hidden"</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="P_LastNotificationTime"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">div</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="psrch-Main"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:when</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$IsNoKeyword = 'True'"</span> <span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:call-template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="dvt_1.noKeyword"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:when</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:when</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$ShowMessage = 'True'"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:call-template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="dvt_1.empty"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:when</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:otherwise</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:call-template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="dvt_1.body"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:otherwise</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$IsPeopleCoreResultsWebPart and (count(All_Results/Result) &amp;gt; 0 or count(All_Results/FakeResult) &amp;gt; 0)"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">asp:Panel</span> <span style="color: #ff0000;">ID</span><span style="color: #0000ff;">="PopupPanelPeopleCore"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span> <span style="color: #ff0000;">CssClass</span><span style="color: #0000ff;">="psrch-PopupPanel"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">div</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="PopupContainer"</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="psrch-PopupContainer"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">asp:UpdatePanel</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span> <span style="color: #ff0000;">ID</span><span style="color: #0000ff;">="UpdatePanelPeopleCore"</span> <span style="color: #ff0000;">UpdateMode</span><span style="color: #0000ff;">="Conditional"</span> <span style="color: #ff0000;">ChildrenAsTriggers</span><span style="color: #0000ff;">="true"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">ContentTemplate</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">SEARCHWC:PeopleCoreResultPopupControl</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="PopupControl51A944753DF0430C8FE1EBAA70F3E945"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">/&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">div</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="PopupFooter"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">asp:UpdateProgress</span> <span style="color: #ff0000;">ID</span><span style="color: #0000ff;">="UpdateProgress"</span> <span style="color: #ff0000;">DisplayAfter</span><span style="color: #0000ff;">="0"</span> <span style="color: #ff0000;">AssociatedUpdatePanelID</span><span style="color: #0000ff;">="UpdatePanelPeopleCore"</span> <span style="color: #ff0000;">runat</span><span style="color: #0000ff;">="server"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">ProgressTemplate</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">span</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="Progress"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">img</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="psrch-UpdateGraphics"</span> <span style="color: #ff0000;">src</span><span style="color: #0000ff;">="/_layouts/images/hig_progcircle_loading24.gif"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$PopupFetcingResultLabel"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">span</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">ProgressTemplate</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">asp:UpdateProgress</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">div</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">ContentTemplate</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">asp:UpdatePanel</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">div</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">asp:Panel</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">div</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="ActionBarTemplate"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="string-length($AlertMeLink) &amp;gt; 0"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">a</span> <span style="color: #ff0000;">href</span><span style="color: #0000ff;">="{$AlertMeLink}"</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="CSR_AM"</span> <span style="color: #ff0000;">title</span><span style="color: #0000ff;">="{$AlertMeText}"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">img</span> <span style="color: #ff0000;">src</span><span style="color: #0000ff;">="/_layouts/images/bell.gif"</span> <span style="color: #ff0000;">alt</span><span style="color: #0000ff;">="{$AlertMeText}"</span> <span style="color: #ff0000;">border</span><span style="color: #0000ff;">="0"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">a</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:text</span> <span style="color: #ff0000;">disable-output-escaping</span><span style="color: #0000ff;">="yes"</span><span style="color: #0000ff;">&gt;</span>&amp;#8195;<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:text</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="string-length($SrchRSSLink) &amp;gt; 0"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">a</span> <span style="color: #ff0000;">type</span><span style="color: #0000ff;">="application/rss+xml"</span> <span style="color: #ff0000;">href</span><span style="color: #0000ff;">="{string($SrchRSSLink)}"</span> <span style="color: #ff0000;">title</span><span style="color: #0000ff;">="{$SrchRSSText}"</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="SRCHRSSL"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">img</span> <span style="color: #ff0000;">border</span><span style="color: #0000ff;">="0"</span> <span style="color: #ff0000;">src</span><span style="color: #0000ff;">="/_layouts/images/rss.gif"</span> <span style="color: #ff0000;">alt</span><span style="color: #0000ff;">="{$SrchRSSText}"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">a</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:text</span> <span style="color: #ff0000;">disable-output-escaping</span><span style="color: #0000ff;">="yes"</span><span style="color: #0000ff;">&gt;</span>&amp;#8195;<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:text</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="string-length($SearchProviderLink) &amp;gt; 0"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">a</span> <span style="color: #ff0000;">href</span><span style="color: #0000ff;">="{string($SearchProviderLink)}"</span> <span style="color: #ff0000;">title</span><span style="color: #0000ff;">="{$SearchProviderText}"</span> <span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">img</span> <span style="color: #ff0000;">border</span><span style="color: #0000ff;">="0"</span> <span style="color: #ff0000;">src</span><span style="color: #0000ff;">="/_layouts/images/searchfolder.png"</span> <span style="color: #ff0000;">alt</span><span style="color: #0000ff;">="{$SearchProviderText}"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">a</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:text</span> <span style="color: #ff0000;">disable-output-escaping</span><span style="color: #0000ff;">="yes"</span><span style="color: #0000ff;">&gt;</span>&amp;#8195;<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:text</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="GetPicUrl"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="PicUrl"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="PlaceHolderUrl"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:when</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="string-length($PicUrl) &amp;lt; 1 or starts-with($PicUrl, 'file:') or starts-with($PicUrl, '\\') or starts-with($PicUrl, '//')"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$PlaceHolderUrl"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:when</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:otherwise</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$PicUrl"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:otherwise</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="MoreLinkTemplate"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$ShowMoreLink = true() and string-length($MoreLink) &amp;gt; 0"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">div</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="MoreLink"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">a</span> <span style="color: #ff0000;">href</span><span style="color: #0000ff;">="{string($MoreLink)}"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$MoreLinkLabel"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">a</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">div</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="RenderNameUrlMultivalue"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="names"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="urls"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="currentId"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:for-each</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$names"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="p"</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="position()"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="string-length(.) &amp;gt; 0"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$p &amp;gt; 1"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">span</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="psrch-TextSeparator"</span><span style="color: #0000ff;">&gt;</span> :: <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">span</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:when</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="string-length($urls[$p]) &amp;gt; 0"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">a</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="{concat($currentId, '_MultivalueUrl')}"</span> <span style="color: #ff0000;">href</span><span style="color: #0000ff;">="{string($urls[$p])}"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">a</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:when</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:otherwise</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:otherwise</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:for-each</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="RenderSimpleMultivalue"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="multivalue"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="cutoff"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:for-each</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$multivalue"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:sort</span> <span style="color: #ff0000;">data-type</span><span style="color: #0000ff;">="number"</span> <span style="color: #ff0000;">order</span><span style="color: #0000ff;">="descending"</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="@hashh"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:variable</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="p"</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="position()"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:if</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="string-length(.) &amp;gt; 0"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:when</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$p = 1"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">span</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="Multivalue"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">span</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:when</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:when</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$p &amp;gt; 1 and $p &amp;lt;= $cutoff"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">span</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="psrch-TextSeparator"</span><span style="color: #0000ff;">&gt;</span> :: <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">span</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">span</span> <span style="color: #ff0000;">id</span><span style="color: #0000ff;">="Multivalue"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">              <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">span</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:when</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:when</span> <span style="color: #ff0000;">test</span><span style="color: #0000ff;">="$p = $cutoff + 1"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            &amp;#8230;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">          <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:when</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:choose</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:if</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:for-each</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="HitHighlighting"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="hh"</span> <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:apply-templates</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="$hh"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="ddd"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    &amp;#8230;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="c0"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="c1"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="c2"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="c3"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="c4"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="c5"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="c6"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="c7"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="c8"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:template</span> <span style="color: #ff0000;">match</span><span style="color: #0000ff;">="c9"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:value-of</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="."</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">b</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:template</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:stylesheet</span><span style="color: #0000ff;">&gt;</span></pre>
</div>
</div>
<p>To get a search results page to use this simply copy and paste it into the XSL Editor property of the people search core results web part. Note that you need to uncheck the &#8216;use location visualization&#8217; checkbox before the XSL Editor property is enabled.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/06/people-search-xsl.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="people-search-xsl" src="http://www.sharepointconfig.com/wp-content/uploads/2011/06/people-search-xsl_thumb.png" border="0" alt="people-search-xsl" width="262" height="512" /></a></p>
<p>A couple of other properties you may want to change are the Default Results Sorting (e.g. to sort by name) and the Results Per Page properties.</p>
<p>If you want to make further changes to the layout (to add further columns for example) you just need to change two places in the XSL file. The first is the <strong>dvt_1.body</strong> template that is marked with &lt;!&#8211; Main body template&#8211;&gt;. This template defines the column headings to use as shown below:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">table</span> <span style="color: #ff0000;">width</span><span style="color: #0000ff;">="100%"</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-listviewtable"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">thead</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">tr</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-viewheadertr ms-vhltr"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Name<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Phone<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Email<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Job title<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Department<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vh2"</span><span style="color: #0000ff;">&gt;</span>Office<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">tr</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">thead</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:for-each</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="All_Results/Result"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:call-template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="SingleResult"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:for-each</span><span style="color: #0000ff;">&gt;</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">table</span><span style="color: #0000ff;">&gt;</span></pre>
</div>
</div>
<p>Adding a new td row will make a new column heading show up. To add the data in each result row we also need to update the <strong>SingleResultInternal</strong> template in the XSL file. I would suggest looking at the default XSL file and copying the relevant data into the custom XSL. For example to add a ‘Skills’ column you would add the following markup to the end of the template:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">td</span> <span style="color: #ff0000;">class</span><span style="color: #0000ff;">="ms-vb2"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:call-template</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="RenderSimpleMultivalue"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:with-param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="multivalue"</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="hithighlightedproperties/skills"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">xsl:with-param</span> <span style="color: #ff0000;">name</span><span style="color: #0000ff;">="cutoff"</span> <span style="color: #ff0000;">select</span><span style="color: #0000ff;">="5"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">xsl:call-template</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">td</span><span style="color: #0000ff;">&gt;</span></pre>
</div>
</div>
<p>Note that in this example I’ve removed a lot of the default XSL code so many of the properties that are normally displayed for each result are not included. You can obviously add these back in by reviewing the default XSL file and adding the ones you find useful in your scenario.</p>
<p>The column headings are also simply static text and don’t allow sorting or filtering in the way lists and library views do. In a subsequent post I hope to show how to get some additional sorting options working with this layout such as sorting by last name.</p>
<p><a href="http://www.sharepointconfig.com/2011/06/create-a-sharepoint-2010-people-directory-with-a-table-layout/">SharePoint 2010 People Directory Part 2 &#8211; Table Layout</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
     <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AriBakker?a=6gZm6Us-vx4:MavzjgmPdKU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=6gZm6Us-vx4:MavzjgmPdKU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=6gZm6Us-vx4:MavzjgmPdKU:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=6gZm6Us-vx4:MavzjgmPdKU:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=6gZm6Us-vx4:MavzjgmPdKU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=6gZm6Us-vx4:MavzjgmPdKU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=6gZm6Us-vx4:MavzjgmPdKU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AriBakker/~4/6gZm6Us-vx4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointconfig.com/2011/06/create-a-sharepoint-2010-people-directory-with-a-table-layout/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		<feedburner:origLink>http://www.sharepointconfig.com/2011/06/create-a-sharepoint-2010-people-directory-with-a-table-layout/</feedburner:origLink></item>
		<item>
		<title>SharePoint 2010 Microsoft Office Specialist Beta Exam 77-886</title>
		<link>http://feedproxy.google.com/~r/AriBakker/~3/ymH2Zu5bJlM/</link>
		<comments>http://www.sharepointconfig.com/2011/05/sharepoint-2010-microsoft-office-specialist-beta-exam-77-886/#comments</comments>
		<pubDate>Wed, 18 May 2011 15:00:31 +0000</pubDate>
		<dc:creator>Ari Bakker</dc:creator>
				<category><![CDATA[2010]]></category>
		<category><![CDATA[exams]]></category>

		<guid isPermaLink="false">http://www.sharepointconfig.com/?p=988</guid>
		<description><![CDATA[Microsoft will shortly be releasing a new SharePoint 2010 exam that targets “Information Workers”. Between now and the 1st of June you have the opportunity to take the exam for free while it is in a beta testing stage. While it isn’t explicitly stated I imagine this works like most new exams and the beta period is used to evaluate the exam content but if you pass the beta exam you gain the full certification. 
 
This exam isn’t particularly technical and is focused on power users more than developers/IT pros so is open to a wide range of people. <p><a href="http://www.sharepointconfig.com/2011/05/sharepoint-2010-microsoft-office-specialist-beta-exam-77-886/">SharePoint 2010 Microsoft Office Specialist Beta Exam 77-886</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Microsoft will shortly be releasing a new SharePoint 2010 exam that targets “Information Workers”. Between now and the 1<sup>st</sup> of June you have the opportunity to take the exam for free while it is in a beta testing stage. While it isn’t explicitly stated I imagine this works like most new exams and the beta period is used to evaluate the exam content but if you pass the beta exam you gain the full certification.</p>
<p>This exam isn’t particularly technical and is focused on power users more than developers/IT pros so is open to a wide range of people. It also covers a lot of the basic features so if you are starting out with SharePoint 2010 you could use the exam as a motivator to get up to speed with the core SharePoint functionality. The <a href="http://www.microsoft.com/learning/en/us/Exam.aspx?ID=77-886">Exam 77-886: SharePoint 2010 exam overview</a> states the intended audience as:</p>
<blockquote><p>Candidates for this exam are users who provide structure for information, extend out-of-the-box site features, solve business problems through composite applications, and facilitate collaboration with other site users.</p>
<p>Users perform all site user tasks. They optimize Web Part pages for team use by adding and configuring Web Parts from the Web Part gallery. They customize dashboards to target the information presented. Users focus on adapting SharePoint sites to their teams’ needs and improving productivity.</p></blockquote>
<p>In regards to the beta program the <a href="http://borntolearn.mslearn.net/btl/b/weblog/archive/2011/05/12/calling-all-sharepoint-aficionados-take-the-mos-beta-exam.aspx">Born to Learn blog</a> contains more details and a <a href="http://www.certiport.com/Portal/Common/DocumentLibrary/sharepointpublicbetacenters.pdf">list of participating test centres</a>. You will need to contact your local test centre to get a voucher for the beta and schedule in a time slot. If you don’t have a test centre nearby you can email Certiport&#8217;s beta coordinator, Stacey Tilley, at <a href="mailto:betacoordinator@certiport.com">betacoordinator@certiport.com</a> to see if one can be organised in your region.</p>
<p>For more details about what the exam covers have a look at the <a href="http://www.microsoft.com/learning/en/us/Exam.aspx?ID=77-886&amp;Locale=en-us#tab2">skills measured</a> on the official exam detail page. The exam contains 87 questions (most items are simulations but there are some multiple choice items) and you have 3 hours to complete everything.</p>
<p>[Update] If you are in the UK the test can be arranged at the following test centres (note you will also need to get a voucher by emailing <a href="mailto:learning@prodigysolutions.com">learning@prodigysolutions.com</a>):</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="321" valign="top"><strong><span style="text-decoration: underline;">Centre Name</span></strong></td>
<td width="104" valign="top"><strong>Location</strong></td>
<td width="233" valign="top"><strong><span style="text-decoration: underline;">Contact</span></strong></td>
<td width="255" valign="top"><strong>Website</strong></td>
</tr>
<tr>
<td width="321" valign="top">Bournemouth University</td>
<td width="104" valign="top">Bournemouth</td>
<td width="233" valign="top">Su Kensley<br />
<a href="mailto:SKensley@bournemouth.ac.uk">SKensley@bournemouth.ac.uk</a><br />
0120 296 5515</td>
<td width="255" valign="top"><span style="text-decoration: underline;"><a href="http://www.bournemouth.ac.uk/itservices">www.bournemouth.ac.uk/itservices </a></span></td>
</tr>
<tr>
<td width="321" valign="top">ECTA</td>
<td width="104" valign="top">Edinburgh</td>
<td width="233" valign="top">Karen Malone<br />
<a href="mailto:Karen.Malone@edinburghchamber.co.uk">Karen.Malone@edinburghchamber.co.uk</a><br />
0131 442 1400</td>
<td width="255" valign="top"><span style="text-decoration: underline;"><a href="http://www.ecta.org.uk/ecta">http://www.ecta.org.uk/ecta</a></span></td>
</tr>
<tr>
<td width="321" valign="top">S&amp;G</td>
<td width="104" valign="top">London</td>
<td width="233" valign="top">Nicola Joyce<br />
<a href="mailto:nicola@sandg.co.uk">nicola@sandg.co.uk</a><br />
0207 831 4546</td>
<td width="255" valign="top"><span style="text-decoration: underline;"><a href="http://www.computercourses.co.uk/">http://www.computercourses.co.uk/</a></span></td>
</tr>
<tr>
<td width="321" valign="top">The Training Foundry Sheffield Hallam University</td>
<td width="104" valign="top">Sheffield</td>
<td width="233" valign="top">Dave Rotherham<br />
<a href="mailto:d.rotherham@shu.ac.uk">d.rotherham@shu.ac.uk</a><br />
0114 225 5888</td>
<td width="255" valign="top"><span style="text-decoration: underline;"><a href="http://www.thetrainingfoundry.co.uk/">www.thetrainingfoundry.co.uk</a></span></td>
</tr>
<tr>
<td width="321" valign="top">**University of the West Of Scotland</td>
<td width="104" valign="top">Paisley</td>
<td width="233" valign="top">Mary Kennedy<br />
<a href="mailto:mary.kennedy@uws.ac.uk">mary.kennedy@uws.ac.uk</a><br />
0141 848 3735</td>
<td width="255" valign="top"><span style="text-decoration: underline;"><a href="http://www.uws.ac.uk/">www.uws.ac.uk</a></span></td>
</tr>
<tr>
<td width="321" valign="top">Walsall College</td>
<td width="104" valign="top">Walsall</td>
<td width="233" valign="top">Matt Lloyd<br />
<a href="mailto:mlloyd@walsallcollege.ac.uk">mlloyd@walsallcollege.ac.uk<br />
</a>0192 268 8572</td>
<td width="255" valign="top"><span style="text-decoration: underline;"><a href="http://www.walsallcollege.ac.uk/">www.walsallcollege.ac.uk</a></span></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://www.sharepointconfig.com/2011/05/sharepoint-2010-microsoft-office-specialist-beta-exam-77-886/">SharePoint 2010 Microsoft Office Specialist Beta Exam 77-886</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
     <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AriBakker?a=ymH2Zu5bJlM:WpqOj4CPX74:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=ymH2Zu5bJlM:WpqOj4CPX74:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=ymH2Zu5bJlM:WpqOj4CPX74:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=ymH2Zu5bJlM:WpqOj4CPX74:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=ymH2Zu5bJlM:WpqOj4CPX74:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=ymH2Zu5bJlM:WpqOj4CPX74:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=ymH2Zu5bJlM:WpqOj4CPX74:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AriBakker/~4/ymH2Zu5bJlM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointconfig.com/2011/05/sharepoint-2010-microsoft-office-specialist-beta-exam-77-886/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sharepointconfig.com/2011/05/sharepoint-2010-microsoft-office-specialist-beta-exam-77-886/</feedburner:origLink></item>
		<item>
		<title>How to: Create a Simple SharePoint 2010 People Directory</title>
		<link>http://feedproxy.google.com/~r/AriBakker/~3/DzI9l-qpv8o/</link>
		<comments>http://www.sharepointconfig.com/2011/05/how-to-create-a-simple-sharepoint-2010-people-directory/#comments</comments>
		<pubDate>Mon, 16 May 2011 13:00:08 +0000</pubDate>
		<dc:creator>Ari Bakker</dc:creator>
				<category><![CDATA[2010]]></category>
		<category><![CDATA[No code]]></category>
		<category><![CDATA[people]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.sharepointconfig.com/?p=977</guid>
		<description><![CDATA[I’ve had a few clients ask for a page on their intranet that allows users to browse a list of people within the organisation without having to enter a search query. They then want to see a list of filters such as Department or Job Title to allow them to filter the results. This is really easy to set up using the default SharePoint 2010 search web parts and doesn’t require writing a single line of code. An example of what this can look like is shown below (note no query is specified, we have just clicked on the 'people directory' link in the top nav): 
 
<a href="http://www.sharepointconfig.com/2011/05/how-to-create-a-simple-sharepoint-2010-people-directory/"><img class="excerpt" title="sharepoint-2010-people-directory" src="http://www.sharepointconfig.com/wp-content/uploads/2011/05/sharepoint-2010-people-directory_thumb1.png" border="0" alt="sharepoint-2010-people-directory" width="468" height="500" /></a><p><a href="http://www.sharepointconfig.com/2011/05/how-to-create-a-simple-sharepoint-2010-people-directory/">How to: Create a Simple SharePoint 2010 People Directory</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I’ve had a few clients ask for a page on their intranet that allows users to browse a list of people within the organisation without having to enter a search query. They then want to see a list of filters such as Department or Job Title to allow them to filter the results. This is really easy to set up using the default SharePoint 2010 search web parts and doesn’t require writing a single line of code. An example of what this can look like is shown below (note no query is specified, we have just clicked on the &#8216;people directory&#8217; link in the top nav):</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/05/sharepoint-2010-people-directory.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0pt none;" title="sharepoint-2010-people-directory" src="http://www.sharepointconfig.com/wp-content/uploads/2011/05/sharepoint-2010-people-directory_thumb.png" alt="sharepoint-2010-people-directory" width="651" height="695" border="0" /></a></p>
<p>Especially when the organisation only contains a few hundred people this can help users discover people in the organisation without necessarily knowing their names. The steps to create this are as follow (assuming the user profile and search services are running successfully):</p>
<ol>
<li>Assuming you have an enterprise search center set up the first step to create the people directory is to create a new page. This can be done by navigating to the pages library and selecting New Document &gt; Page from the ribbon.<br />
<a href="http://www.sharepointconfig.com/wp-content/uploads/2011/05/create-search-page.png"><br />
<img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="create-search-page" src="http://www.sharepointconfig.com/wp-content/uploads/2011/05/create-search-page_thumb.png" alt="create-search-page" width="448" height="395" border="0" /></a></li>
<li>On the create page screen select the People search results page layout to create a page that contains the people search results web parts.<a href="http://www.sharepointconfig.com/wp-content/uploads/2011/05/create-page.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="create-page" src="http://www.sharepointconfig.com/wp-content/uploads/2011/05/create-page_thumb.png" alt="create-page" width="644" height="484" border="0" /></a></li>
<li>The standard search result web part does not show any results unless a query is specified. To get all people to show up by default we need to specify either a fixed keyword query or append text to the query in the People Search Core Results web part properties. If we specify a <strong>fixed keyword query</strong> the web part will always display results for the specified search query on the page regardless of whether the user has entered a search query. If we select <strong>append text to query </strong>then when the user types a query we will see results from a search query that includes both the text the user entered and the text in the web part properties. For our people directory we can use this to show a default set of results (i.e. all people) but let the user refine this further by entering text (e.g. a person’s name or a department). The query we need to enter to retrieve all people is <strong>contentclass:spspeople</strong>.<br />
<a href="http://www.sharepointconfig.com/wp-content/uploads/2011/05/keyword-query.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="keyword-query" src="http://www.sharepointconfig.com/wp-content/uploads/2011/05/keyword-query_thumb.png" alt="keyword-query" width="233" height="529" border="0" /></a></li>
<li>We now have a list of people that will be displayed as soon as the user navigates to our custom people results page. By default we also have some refinements that appear if matching metadata is found within the result set. These are View matches by Name or Profile, Job Title, Organization and Managed Metadata columns (these pull out information such as Past projects, Ask Me About and other Managed Metadata fields contained in the edit profile screen). We can change these to show other metadata properties that are defined in our search centre. Some other properties that might be relevant are Department, Job Title and/or Past Projects.</li>
<li><span style="color: #ff0000;">[Update 10 June 2011] Note that the default Department managed property does not work correctly when used in the refinement panel (no results are displayed). To get this to work we need to create a new managed property that maps to the People:Department crawled property. This involves navigating to the &#8216;Metadata properties&#8217; page of your search service application and creating a new Managed property. In this example I&#8217;ve named it DepartmentRefinement and mapped it to the People:Department(Text) property as shown below.</span><br />
<a href="http://www.sharepointconfig.com/2011/05/how-to-create-a-simple-sharepoint-2010-people-directory/department-refinement/" rel="attachment wp-att-994"><img class="aligncenter size-full wp-image-994" title="department-refinement" src="http://www.sharepointconfig.com/wp-content/uploads/2011/05/department-refinement.png" alt="" width="684" height="381" /></a></li>
<li>To change these we can edit the ‘Filter Category Definition’ property of the refinement panel to include the XML shown below. [Updated 10 June 2011 to correct department refinement]
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;?</span><span style="color: #800000;">xml</span> <span style="color: #ff0000;">version</span><span style="color: #0000ff;">="1.0"</span> <span style="color: #ff0000;">encoding</span><span style="color: #0000ff;">="utf-8"</span>?<span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">FilterCategories</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Category</span> <span style="color: #ff0000;">Title</span><span style="color: #0000ff;">="spshjobtitle"</span> <span style="color: #ff0000;">Description</span><span style="color: #0000ff;">="Use this filter to restrict results to a specific job title"</span>    <span style="color: #ff0000;">Type</span><span style="color: #0000ff;">="Microsoft.Office.Server.Search.WebControls.TaxonomyFilterGenerator"</span>    <span style="color: #ff0000;">MetadataThreshold</span><span style="color: #0000ff;">="3"</span>    <span style="color: #ff0000;">NumberOfFiltersToDisplay</span><span style="color: #0000ff;">="3"</span>    <span style="color: #ff0000;">MaxNumberOfFilters</span><span style="color: #0000ff;">="50"</span>        <span style="color: #ff0000;">ShowMoreLink</span><span style="color: #0000ff;">="True"</span>    <span style="color: #ff0000;">MappedProperty</span><span style="color: #0000ff;">="ows_MetadataFacetInfo"</span>    <span style="color: #ff0000;">MoreLinkText</span><span style="color: #0000ff;">="show more"</span>        <span style="color: #ff0000;">LessLinkText</span><span style="color: #0000ff;">="show fewer"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Category</span> <span style="color: #ff0000;">Title</span><span style="color: #0000ff;">="Department"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #ff0000;"> Description</span><span style="color: #0000ff;">="Use this filter to restrict results to a specific department"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #ff0000;"> Type</span><span style="color: #0000ff;">="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #ff0000;"> MetadataThreshold</span><span style="color: #0000ff;">="5"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #ff0000;"> NumberOfFiltersToDisplay</span><span style="color: #0000ff;">="4"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;"> </span>    <span style="color: #ff0000;">MaxNumberOfFilters</span><span style="color: #0000ff;">="20"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;"> </span>    <span style="color: #ff0000;">SortBy</span><span style="color: #0000ff;">="Frequency"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;"> </span>    <span style="color: #ff0000;">SortByForMoreFilters</span><span style="color: #0000ff;">="Name"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;"> </span>    <span style="color: #ff0000;">SortDirection</span><span style="color: #0000ff;">="Descending"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;"> </span>    <span style="color: #ff0000;">SortDirectionForMoreFilters</span><span style="color: #0000ff;">="Ascending"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;"> </span>    <span style="color: #ff0000;">ShowMoreLink</span><span style="color: #0000ff;">="True"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <strong><span style="color: #ff0000;">MappedProperty</span><span style="color: #0000ff;">="DepartmentRefinement"</span></strong></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #ff0000;">MoreLinkText</span><span style="color: #0000ff;">="show more"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #ff0000;">LessLinkText</span><span style="color: #0000ff;">="show fewer"</span>    <span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Category</span> <span style="color: #ff0000;">Title</span><span style="color: #0000ff;">="Organization"</span> <span style="color: #ff0000;">Description</span><span style="color: #0000ff;">="Use this filter to restrict results to a specific organization"</span>        <span style="color: #ff0000;">Type</span><span style="color: #0000ff;">="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"</span>        <span style="color: #ff0000;">MetadataThreshold</span><span style="color: #0000ff;">="5"</span>        <span style="color: #ff0000;">NumberOfFiltersToDisplay</span><span style="color: #0000ff;">="4"</span>        <span style="color: #ff0000;">MaxNumberOfFilters</span><span style="color: #0000ff;">="50"</span>        <span style="color: #ff0000;">SortBy</span><span style="color: #0000ff;">="Frequency"</span>        <span style="color: #ff0000;">SortDirection</span><span style="color: #0000ff;">="Descending"</span>    <span style="color: #ff0000;">SortByForMoreFilters</span><span style="color: #0000ff;">="Name"</span>    <span style="color: #ff0000;">SortDirectionForMoreFilters</span><span style="color: #0000ff;">="Ascending"</span>    <span style="color: #ff0000;">ShowMoreLink</span><span style="color: #0000ff;">="True"</span>        <span style="color: #ff0000;">MappedProperty</span><span style="color: #0000ff;">="OrgNames"</span>        <span style="color: #ff0000;">MoreLinkText</span><span style="color: #0000ff;">="show more"</span>        <span style="color: #ff0000;">LessLinkText</span><span style="color: #0000ff;">="show fewer"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Category</span> <span style="color: #ff0000;">Title</span><span style="color: #0000ff;">="Managed Metadata Columns"</span> <span style="color: #ff0000;">Description</span><span style="color: #0000ff;">="Managed metadata of the documents"</span>    <span style="color: #ff0000;">Type</span><span style="color: #0000ff;">="Microsoft.Office.Server.Search.WebControls.TaxonomyFilterGenerator"</span>    <span style="color: #ff0000;">MetadataThreshold</span><span style="color: #0000ff;">="3"</span>    <span style="color: #ff0000;">NumberOfFiltersToDisplay</span><span style="color: #0000ff;">="3"</span>    <span style="color: #ff0000;">MaxNumberOfFilters</span><span style="color: #0000ff;">="50"</span>        <span style="color: #ff0000;">ShowMoreLink</span><span style="color: #0000ff;">="True"</span>    <span style="color: #ff0000;">MappedProperty</span><span style="color: #0000ff;">="ows_MetadataFacetInfo"</span>    <span style="color: #ff0000;">MoreLinkText</span><span style="color: #0000ff;">="show more"</span>        <span style="color: #ff0000;">LessLinkText</span><span style="color: #0000ff;">="show fewer"</span><span style="color: #0000ff;">/&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">FilterCategories</span><span style="color: #0000ff;">&gt;</span></pre>
</div>
</div>
</li>
<li>The important things to note here is that we are adding a new Category element with Title=Department (this will be used as the category heading) and MappedProperty=Department<span style="color: #ff0000;">Refinement</span>. The MappedProperty attribute needs to match a <a href="http://technet.microsoft.com/en-us/library/ff621097.aspx">managed property</a> in the search service application. <del>Department is added as a managed property by default but</del> if you want to include other properties such as Office you will need to make sure there is a managed property that contains this information.</li>
<li>To ensure our custom Filter Category Definition is used we also need to ensure the Use Default Configuration is unchecked. Optionally we can also change the Accuracy Index to tweak the number of results that are inspected to generate refinements (higher values incurring a greater performance penalty but making refinements more accurate). For more details see the article &#8220;<a href="http://technet.microsoft.com/en-us/library/gg549985.aspx">Change what appears in the Refinement Panel Web Part</a>&#8221; on TechNet.<a href="http://www.sharepointconfig.com/wp-content/uploads/2011/05/people-refinement-panel.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="people-refinement-panel" src="http://www.sharepointconfig.com/wp-content/uploads/2011/05/people-refinement-panel_thumb.png" alt="people-refinement-panel" width="236" height="403" border="0" /></a></li>
<li>Once this is in place we get an updated refinement panel and we now have a simple people directory page that people can use to discover individuals within the organization without having to enter a search query.<a href="http://www.sharepointconfig.com/wp-content/uploads/2011/05/sharepoint-2010-people-directory1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0pt none;" title="sharepoint-2010-people-directory" src="http://www.sharepointconfig.com/wp-content/uploads/2011/05/sharepoint-2010-people-directory_thumb1.png" alt="sharepoint-2010-people-directory" width="651" height="695" border="0" /></a></li>
</ol>
<p>This isn&#8217;t the most sophisticated people directory but it can be achieved in a few minutes without writing any code. With a little more effort we could change the rendering of the results (so they are displayed in a table layout for example) or provide additional filtering options such as an A-Z filter on the name field. If anyone is interested or has made other interesting additions to this search driven people directory please let me know in the comments below.</p>
<p><a href="http://www.sharepointconfig.com/2011/05/how-to-create-a-simple-sharepoint-2010-people-directory/">How to: Create a Simple SharePoint 2010 People Directory</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
     <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AriBakker?a=DzI9l-qpv8o:wvaJjH31_t4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=DzI9l-qpv8o:wvaJjH31_t4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=DzI9l-qpv8o:wvaJjH31_t4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=DzI9l-qpv8o:wvaJjH31_t4:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=DzI9l-qpv8o:wvaJjH31_t4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=DzI9l-qpv8o:wvaJjH31_t4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=DzI9l-qpv8o:wvaJjH31_t4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AriBakker/~4/DzI9l-qpv8o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointconfig.com/2011/05/how-to-create-a-simple-sharepoint-2010-people-directory/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		<feedburner:origLink>http://www.sharepointconfig.com/2011/05/how-to-create-a-simple-sharepoint-2010-people-directory/</feedburner:origLink></item>
		<item>
		<title>European SharePoint Best Practices Conference Slides</title>
		<link>http://feedproxy.google.com/~r/AriBakker/~3/wvFldLXgYH4/</link>
		<comments>http://www.sharepointconfig.com/2011/04/european-sharepoint-best-practices-conference-slides/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 12:24:33 +0000</pubDate>
		<dc:creator>Ari Bakker</dc:creator>
				<category><![CDATA[2010]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Information Architecture]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Conference]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[Slides]]></category>

		<guid isPermaLink="false">http://www.sharepointconfig.com/?p=953</guid>
		<description><![CDATA[On the 13th of April I presented at the European SharePoint Best Practices conference 2011. The session was titled Search Driven Knowledge Management and in the session we covered some of the SharePoint features available for structuring information so content is easy to find. As this was a community track session we looked at some real world projects that had information architecture requirements that didn’t line up with the out-of-the box SharePoint features. We looked at the requirements for these projects and I showed how solutions were built using a combination of the SharePoint features and customisations built on top of the SharePoint platform. This included using a search driven architecture and automating the tagging of content using the new content management features of SharePoint 2010. 
 
<a href="http://www.sharepointconfig.com/2011/04/european-sharepoint-best-practices-conference-slides/"><img class="excerpt" src="http://www.sharepointconfig.com/wp-content/uploads/2011/05/best-practices-search-driven-km.png" border="0" alt="best practice slides" /></a><p><a href="http://www.sharepointconfig.com/2011/04/european-sharepoint-best-practices-conference-slides/">European SharePoint Best Practices Conference Slides</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
]]></description>
			<content:encoded><![CDATA[<p>On the 13<sup>th</sup> of April I presented at the European SharePoint Best Practices conference 2011. The session was titled Search Driven Knowledge Management and in the session we covered some of the SharePoint features available for structuring information so content is easy to find. As this was a community track session we looked at some real world projects that had information architecture requirements that didn’t line up with the out-of-the box SharePoint features. We looked at the requirements for these projects and I showed how solutions were built using a combination of the SharePoint features and customisations built on top of the SharePoint platform. This included using a search driven architecture and automating the tagging of content using the new content management features of SharePoint 2010.</p>
<p>I’ve posted the slides below as well as on SlideShare and will add some follow up posts covering the concepts and features I talked about to this blog in the near future.</p>
<div style="width:425px;display:block;margin-left:auto;margin-right:auto;" id="__ss_7632291"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/aribakker/search-driven-knowledge-management" title="Search driven knowledge management">Search driven knowledge management</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/7632291" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/aribakker">Ari Bakker</a> </div>
</p></div>
<p><a href="http://www.sharepointconfig.com/2011/04/european-sharepoint-best-practices-conference-slides/">European SharePoint Best Practices Conference Slides</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
     <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AriBakker?a=wvFldLXgYH4:gBG2ksLcAv8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=wvFldLXgYH4:gBG2ksLcAv8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=wvFldLXgYH4:gBG2ksLcAv8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=wvFldLXgYH4:gBG2ksLcAv8:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=wvFldLXgYH4:gBG2ksLcAv8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=wvFldLXgYH4:gBG2ksLcAv8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=wvFldLXgYH4:gBG2ksLcAv8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AriBakker/~4/wvFldLXgYH4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointconfig.com/2011/04/european-sharepoint-best-practices-conference-slides/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sharepointconfig.com/2011/04/european-sharepoint-best-practices-conference-slides/</feedburner:origLink></item>
		<item>
		<title>Creating SharePoint 2010 search scopes programmatically</title>
		<link>http://feedproxy.google.com/~r/AriBakker/~3/cxQ3zSsa07M/</link>
		<comments>http://www.sharepointconfig.com/2011/04/creating-sharepoint-2010-search-scopes-programmatically/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 13:39:56 +0000</pubDate>
		<dc:creator>Ari Bakker</dc:creator>
				<category><![CDATA[2010]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Display group]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Scope]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.sharepointconfig.com/?p=943</guid>
		<description><![CDATA[Search scopes improve the SharePoint search experience by letting users search over a subset of information within an organisation. For example you can create a search scope for a specific project or a group such as Legal or Marketing. Search scopes can either be created at the search service application level and ‘shared’ by all site collections, or defined within a specific site collection. 

Shared search scopes in SharePoint 2010 can easily be created using PowerShell commands such as New-SPEnterpriseSearchQueryScope. Corey Roth covers this in his article on <a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/07/29/creating-enterprise-search-scopes-with-powershell.aspx">Creating Enterprise Search Scopes with PowerShell</a>. While the PowerShell method can also be used to create site collection related search scopes you might also want to do this programmatically in a feature receiver when the site collection is created. Another thing you might want to do programmatically is to associate a search scope with a display group such as the ‘Search Dropdown’ so it appears in options next to the search box. I’ll cover both these scenarios in this article.

<a href="http://www.sharepointconfig.com/2011/04/creating-sharepoint-2010-search-scopes-programmatically/"><img class="excerpt" src="http://www.sharepointconfig.com/wp-content/uploads/2011/04/custom-search-scope_thumb1.png" border="0" alt="custom search scope" /></a><p><a href="http://www.sharepointconfig.com/2011/04/creating-sharepoint-2010-search-scopes-programmatically/">Creating SharePoint 2010 search scopes programmatically</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Search scopes improve the SharePoint search experience by letting users search over a subset of information within an organisation. For example you can create a search scope for a specific project or a group such as Legal or Marketing. Search scopes can either be created at the search service application level and ‘shared’ by all site collections, or defined within a specific site collection.</p>
<h3>Creating shared search scopes</h3>
<p>Shared search scopes in SharePoint 2010 can easily be created using PowerShell commands such as New-SPEnterpriseSearchQueryScope. Corey Roth covers this in his article on <a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/07/29/creating-enterprise-search-scopes-with-powershell.aspx">Creating Enterprise Search Scopes with PowerShell</a>. While the PowerShell method can also be used to create site collection related search scopes you might also want to do this programmatically in a feature receiver when the site collection is created. Another thing you might want to do programmatically is to associate a search scope with a display group such as the ‘Search Dropdown’ so it appears in options next to the search box. I’ll cover both these scenarios in this article.</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/04/custom-search-scope1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="custom-search-scope" src="http://www.sharepointconfig.com/wp-content/uploads/2011/04/custom-search-scope_thumb1.png" border="0" alt="custom-search-scope" width="415" height="38" /></a></p>
<h3>Creating site collection level search scopes and display groups</h3>
<p>As I mentioned in the previous article on <a href="http://www.sharepointconfig.com/2011/04/issues-creating-sharepoint-2010-search-scopes-programmatically/">Issues creating SharePoint 2010 search scopes programmatically</a> there are several ways of doing creating scopes and display groups programmatically. To summarise the previous article the classes are:</p>
<ul>
<li>SearchContext – this is now obsolete (and can also cause permission issues)</li>
<li>SearchServiceApplication – this can lead to permission issues if called from within a feature receiver as it doesn’t use the search web service</li>
<li>SearchServiceApplicationProxy – this uses the search web service but requires much more code and is difficult to work with</li>
<li>RemoteScopes – this uses the search web service and is easy to work with</li>
</ul>
<p>So the RemoteScopes is the class that I’ve used in this article. To use this class to add both a <strong>site collection level scope </strong>and a display group that contains the scope you can use a feature receiver similar to the one shown below:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 500px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> System;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> System.Linq;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> System.Runtime.InteropServices;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> System.Security.Permissions;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> Microsoft.SharePoint;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> Microsoft.SharePoint.Security;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> Microsoft.Office.Server.Search.Administration;</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">namespace</span> SharePointProject.Features.CreateSearchScope</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">{</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #008000;">/// &lt;summary&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #008000;">/// This class handles events raised during feature activation, deactivation, installation, uninstallation, and upgrade.</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #008000;">/// &lt;/summary&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">public</span> <span style="color: #0000ff;">class</span> CreateSearchScopeEventReceiver : SPFeatureReceiver</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    {</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">private</span> <span style="color: #0000ff;">string</span> scopeName = <span style="color: #006080;">"Custom Scope"</span>;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">private</span> <span style="color: #0000ff;">string</span> displayGroupName = <span style="color: #006080;">"Custom Display Group"</span>;</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">public</span> <span style="color: #0000ff;">override</span> <span style="color: #0000ff;">void</span> FeatureActivated(SPFeatureReceiverProperties properties)</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        {</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            SPSite site = properties.Feature.Parent <span style="color: #0000ff;">as</span> SPSite;</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// remotescopes class retrieves information via search web service so we run this as the search service account</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            RemoteScopes remoteScopes = <span style="color: #0000ff;">new</span> RemoteScopes(SPServiceContext.GetContext(site));</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// see if there is an existing scope</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            Scope scope = (from s</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           <span style="color: #0000ff;">in</span> remoteScopes.GetScopesForSite(<span style="color: #0000ff;">new</span> Uri(site.Url)).Cast&lt;Scope&gt;()</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           <span style="color: #0000ff;">where</span> s.Name == scopeName</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           select s).FirstOrDefault();</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// only add if the scope doesn't exist already</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">if</span> (scope == <span style="color: #0000ff;">null</span>)</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            {</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                scope = remoteScopes.AllScopes.Create(scopeName, <span style="color: #006080;">""</span>, <span style="color: #0000ff;">new</span> Uri(site.Url), <span style="color: #0000ff;">true</span>, <span style="color: #006080;">"results.aspx"</span>, ScopeCompilationType.AlwaysCompile);</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                scope.Rules.CreateUrlRule(ScopeRuleFilterBehavior.Require, UrlScopeRuleType.Folder, site.Url);</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            }</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// see if there is an existing display group         </span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            ScopeDisplayGroup displayGroup = (from d</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              <span style="color: #0000ff;">in</span> remoteScopes.GetDisplayGroupsForSite(<span style="color: #0000ff;">new</span> Uri(site.Url)).Cast&lt;ScopeDisplayGroup&gt;()</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              <span style="color: #0000ff;">where</span> d.Name == displayGroupName</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              select d).FirstOrDefault();</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// add if the display group doesn't exist</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">if</span> (displayGroup == <span style="color: #0000ff;">null</span>)</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                displayGroup = remoteScopes.AllDisplayGroups.Create(displayGroupName, <span style="color: #006080;">""</span>, <span style="color: #0000ff;">new</span> Uri(site.Url), <span style="color: #0000ff;">true</span>);</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// add scope to display group if not already added</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">if</span> (!displayGroup.Contains(scope))</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            {</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                displayGroup.Add(scope);</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                displayGroup.Default = scope;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                displayGroup.Update();</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            }</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// optionally force a scope compilation so this is available immediately</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            remoteScopes.StartCompilation();</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        }</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">public</span> <span style="color: #0000ff;">override</span> <span style="color: #0000ff;">void</span> FeatureDeactivating(SPFeatureReceiverProperties properties)</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        {</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            SPSite site = properties.Feature.Parent <span style="color: #0000ff;">as</span> SPSite;</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// remotescopes class retrieves information via search web service so we run this as the search service account</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            RemoteScopes remoteScopes = <span style="color: #0000ff;">new</span> RemoteScopes(SPServiceContext.GetContext(site));</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// delete scope if found</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            Scope scope = (from s</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           <span style="color: #0000ff;">in</span> remoteScopes.GetScopesForSite(<span style="color: #0000ff;">new</span> Uri(site.Url)).Cast&lt;Scope&gt;()</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           <span style="color: #0000ff;">where</span> s.Name == scopeName</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           select s).FirstOrDefault();</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">if</span> (scope != <span style="color: #0000ff;">null</span>)</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                scope.Delete();</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// delete display group if found</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            ScopeDisplayGroup displayGroup = (from d</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              <span style="color: #0000ff;">in</span> remoteScopes.GetDisplayGroupsForSite(<span style="color: #0000ff;">new</span> Uri(site.Url)).Cast&lt;ScopeDisplayGroup&gt;()</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              <span style="color: #0000ff;">where</span> d.Name == displayGroupName</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              select d).FirstOrDefault();</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">if</span> (displayGroup != <span style="color: #0000ff;">null</span>)</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                displayGroup.Delete();</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        }</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">// Uncomment the method below to handle the event raised after a feature has been installed.</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//public override void FeatureInstalled(SPFeatureReceiverProperties properties)</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//{</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//}</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">// Uncomment the method below to handle the event raised before a feature is uninstalled.</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//public override void FeatureUninstalling(SPFeatureReceiverProperties properties)</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//{</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//}</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">// Uncomment the method below to handle the event raised when a feature is upgrading.</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//public override void FeatureUpgrading(SPFeatureReceiverProperties properties, string upgradeActionName, System.Collections.Generic.IDictionary&lt;string, string&gt; parameters)</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//{</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//}</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    }</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">}</pre>
</div>
</div>
<p>Note that when we check for an existing <strong>site collection level</strong> scope we use the <strong>GetScopesForSite</strong> method. This ensures that the scope relates to the site collection we are running under. We also pass in the URL to the site when creating the scope to create a site collection specific scope.</p>
<p>If you are creating search scope display groups one thing you might want to do is configure the search box to use your display group (to only show the scopes you define).</p>
<p><a rel="attachment wp-att-945" href="http://www.sharepointconfig.com/2011/04/creating-sharepoint-2010-search-scopes-programmatically/custom-search-scope-display-group/"><img class="aligncenter size-full wp-image-945" title="custom-search-scope-display-group" src="http://www.sharepointconfig.com/wp-content/uploads/2011/04/custom-search-scope-display-group.png" alt="" width="405" height="52" /></a></p>
<p>This can be done via the use of a <a href="http://msdn.microsoft.com/en-us/library/ms463169.aspx">delegate control</a> as shown below:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 500px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;?</span><span style="color: #800000;">xml</span> <span style="color: #ff0000;">version</span><span style="color: #0000ff;">="1.0"</span> <span style="color: #ff0000;">encoding</span><span style="color: #0000ff;">="utf-8"</span>?<span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Elements</span> <span style="color: #ff0000;">xmlns</span><span style="color: #0000ff;">="http://schemas.microsoft.com/sharepoint/"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Control</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #ff0000;">Id</span><span style="color: #0000ff;">="SmallSearchInputBox"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #ff0000;">Sequence</span><span style="color: #0000ff;">="20"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #ff0000;">ControlAssembly</span><span style="color: #0000ff;">="Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #ff0000;">ControlClass</span><span style="color: #0000ff;">="Microsoft.SharePoint.Portal.WebControls.SearchBoxEx"</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Property</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="ScopeDisplayGroupName"</span><span style="color: #0000ff;">&gt;</span>Custom Display Group<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">Property</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">      <span style="color: #0000ff;">&lt;</span><span style="color: #800000;">Property</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="FrameType"</span><span style="color: #0000ff;">&gt;</span>None<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">Property</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">  <span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">Control</span><span style="color: #0000ff;">&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">Elements</span><span style="color: #0000ff;">&gt;</span></pre>
</div>
</div>
<p>Note that we can continue to use the same search control we just set the ScopeDisplayGroupName property on this control and give it a lower sequence number than the existing control. For more information about delegate controls have a look at the article <a href="http://msdn.microsoft.com/en-us/library/ms463169.aspx">Delegate Control (Control Templatization)</a> on MSDN.</p>
<h3>Adding a shared scope to a scope display group</h3>
<p>Adding a <strong>shared</strong> scope to a scope display group is similar but we use the GetSharedScopes method of the RemoteScopes class as shown below:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 500px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> System;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> System.Linq;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> System.Runtime.InteropServices;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> System.Security.Permissions;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> Microsoft.SharePoint;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> Microsoft.SharePoint.Security;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">using</span> Microsoft.Office.Server.Search.Administration;</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #0000ff;">namespace</span> SharePointProject.Features.CreateSearchScope</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">{</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #008000;">/// &lt;summary&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #008000;">/// This class handles events raised during feature activation, deactivation, installation, uninstallation, and upgrade.</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #008000;">/// &lt;/summary&gt;</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    <span style="color: #0000ff;">public</span> <span style="color: #0000ff;">class</span> CreateSearchScope : SPFeatureReceiver</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    {</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">private</span> <span style="color: #0000ff;">string</span> scopeName = <span style="color: #006080;">"Shared Scope"</span>;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">private</span> <span style="color: #0000ff;">string</span> displayGroupName = <span style="color: #006080;">"Search Dropdown"</span>;</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">public</span> <span style="color: #0000ff;">override</span> <span style="color: #0000ff;">void</span> FeatureActivated(SPFeatureReceiverProperties properties)</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        {</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            SPSite site = properties.Feature.Parent <span style="color: #0000ff;">as</span> SPSite;</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// remotescopes class adds the scope via search web service so we run this as the search service account</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            RemoteScopes remoteScopes = <span style="color: #0000ff;">new</span> RemoteScopes(SPServiceContext.GetContext(site));</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// see if there is an existing scope</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            Scope scope = (from s</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           <span style="color: #0000ff;">in</span> remoteScopes.GetSharedScopes().Cast&lt;Scope&gt;()</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           <span style="color: #0000ff;">where</span> s.Name == scopeName</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           select s).FirstOrDefault();</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// see if there is an existing display group         </span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            ScopeDisplayGroup displayGroup = (from d</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              <span style="color: #0000ff;">in</span> remoteScopes.GetDisplayGroupsForSite(<span style="color: #0000ff;">new</span> Uri(site.Url)).Cast&lt;ScopeDisplayGroup&gt;()</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              <span style="color: #0000ff;">where</span> d.Name == displayGroupName</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              select d).FirstOrDefault();</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// only add if the scope and display group exist</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">if</span> (scope != <span style="color: #0000ff;">null</span> &amp;&amp; displayGroup != <span style="color: #0000ff;">null</span> &amp;&amp; !displayGroup.Contains(scope))</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            {</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                displayGroup.Insert(0, scope);</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                displayGroup.Default = scope;</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                displayGroup.Update();</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            }</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">else</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            {</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                <span style="color: #008000;">// optionally log warning or error message</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            }</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        }</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #0000ff;">public</span> <span style="color: #0000ff;">override</span> <span style="color: #0000ff;">void</span> FeatureDeactivating(SPFeatureReceiverProperties properties)</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        {</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            SPSite site = properties.Feature.Parent <span style="color: #0000ff;">as</span> SPSite;</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// remotescopes class retrieves information via search web service so we run this as the search service account</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            RemoteScopes remoteScopes = <span style="color: #0000ff;">new</span> RemoteScopes(SPServiceContext.GetContext(site));</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// see if there is an existing scope</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            Scope scope = (from s</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           <span style="color: #0000ff;">in</span> remoteScopes.GetSharedScopes().Cast&lt;Scope&gt;()</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           <span style="color: #0000ff;">where</span> s.Name == scopeName</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                           select s).FirstOrDefault();</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// see if there is an existing display group         </span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            ScopeDisplayGroup displayGroup = (from d</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              <span style="color: #0000ff;">in</span> remoteScopes.GetDisplayGroupsForSite(<span style="color: #0000ff;">new</span> Uri(site.Url)).Cast&lt;ScopeDisplayGroup&gt;()</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              <span style="color: #0000ff;">where</span> d.Name == displayGroupName</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                                              select d).FirstOrDefault();</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #008000;">// remove the scope from the display group</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">            <span style="color: #0000ff;">if</span> (scope != <span style="color: #0000ff;">null</span> &amp;&amp; displayGroup != <span style="color: #0000ff;">null</span> &amp;&amp; displayGroup.Contains(scope))</pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">                displayGroup.Remove(scope);</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        }</pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">// Uncomment the method below to handle the event raised after a feature has been installed.</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//public override void FeatureInstalled(SPFeatureReceiverProperties properties)</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//{</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//}</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">// Uncomment the method below to handle the event raised before a feature is uninstalled.</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//public override void FeatureUninstalling(SPFeatureReceiverProperties properties)</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//{</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//}</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">// Uncomment the method below to handle the event raised when a feature is upgrading.</span></pre>
<p>&nbsp;</p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//public override void FeatureUpgrading(SPFeatureReceiverProperties properties, string upgradeActionName, System.Collections.Generic.IDictionary&lt;string, string&gt; parameters)</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//{</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">        <span style="color: #008000;">//}</span></pre>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">    }</pre>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">}</pre>
</div>
</div>
<p>This code expects a shared scope named ‘Shared Scope’ to exist in the search service application, and a display group named ‘Search Dropdown’ to exist in the site collection we activate the feature on. If these are not present nothing is changed so you would probably want to throw an error or log a warning message depending on the situation.</p>
<p>As we used the <strong>Insert</strong> method to add our scope to the display group our scope now shows up at the top of the list, and because we used the default ‘Search Dropdown’ group we don’t need to use a delegate control – our scope will show up in the drop down automatically (although sometimes this takes a few minutes or an iisreset).</p>
<p><a href="http://www.sharepointconfig.com/wp-content/uploads/2011/04/custom-search-scope-using-dropdown.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="custom-search-scope-using-dropdown" src="http://www.sharepointconfig.com/wp-content/uploads/2011/04/custom-search-scope-using-dropdown_thumb.png" border="0" alt="custom-search-scope-using-dropdown" width="413" height="76" /></a></p>
<p><a href="http://www.sharepointconfig.com/2011/04/creating-sharepoint-2010-search-scopes-programmatically/">Creating SharePoint 2010 search scopes programmatically</a> is a post from: <a href="http://www.sharepointconfig.com">SharePoint Config</a></p>
     <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AriBakker?a=cxQ3zSsa07M:ZkoVqSL1ZcY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=cxQ3zSsa07M:ZkoVqSL1ZcY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=cxQ3zSsa07M:ZkoVqSL1ZcY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=cxQ3zSsa07M:ZkoVqSL1ZcY:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=cxQ3zSsa07M:ZkoVqSL1ZcY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AriBakker?i=cxQ3zSsa07M:ZkoVqSL1ZcY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AriBakker?a=cxQ3zSsa07M:ZkoVqSL1ZcY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AriBakker?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AriBakker/~4/cxQ3zSsa07M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointconfig.com/2011/04/creating-sharepoint-2010-search-scopes-programmatically/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.sharepointconfig.com/2011/04/creating-sharepoint-2010-search-scopes-programmatically/</feedburner:origLink></item>
	</channel>
</rss>

