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

<channel>
	<title>Search Nuggets &#187; ui</title>
	<atom:link href="http://blog.comperiosearch.com/blog/tag/ui/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.comperiosearch.com</link>
	<description>A blog about Search as THE solution</description>
	<lastBuildDate>Mon, 13 Jun 2016 08:59:45 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>SharePoint search display templates made easy</title>
		<link>http://blog.comperiosearch.com/blog/2014/06/23/sharepoint-search-display-templates/</link>
		<comments>http://blog.comperiosearch.com/blog/2014/06/23/sharepoint-search-display-templates/#comments</comments>
		<pubDate>Mon, 23 Jun 2014 10:49:47 +0000</pubDate>
		<dc:creator><![CDATA[Madalina Rogoz]]></dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[display templates]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://blog.comperiosearch.com/?p=2625</guid>
		<description><![CDATA[One of the most interesting features in SharePoint 2013 are the display templates. This blog post will describe how to customize a search display template in order to show the item created date. The display templates are located in the site collection root site, under the _catalogs/Display Templates folder. Each template has two files: the html [...]]]></description>
				<content:encoded><![CDATA[<p>One of the most interesting features in SharePoint 2013 are the display templates. This blog post will describe how to customize a search display template in order to show the item created date.</p>
<p>The display templates are located in the site collection root site, under the _catalogs/Display Templates folder. Each template has two files: the html file and a javascript file. The javascript file is the one that SharePoint uses, while the html exists in order to make it easier for us developers to create and customize the display templates. Once an html file has been modified, SharePoint generates the corresponding updated javascript file, so the process is fully automated.</p>
<p>So what are the steps involved in creating a new display template?</p>
<p>In SharePoint designer, after opening the root website, navigate to the Display Templates folder. Here, in the Search subfolder, you will find the display templates that SharePoint uses for many types of results – documents, web sites, people and others. Choose a display template as a starting point for your own, depending on the result type that you are targeting, copy it and then rename it. Once saved, you will see that SharePoint has already generated the corresponding javascript file. Modify the html file as you wish. What is left to do now is to link the template to an actual result type, so that SharePoint knows what to associate your display template to. This can be done through the interface, by navigating to Site Settings – Search Result Types.</p>
<p>Let’s take it step by step.</p>
<h3>Duplicating an existing display template</h3>
<p>Open the site collection with SharePoint designer. Navigate to the Display Templates folder under <em>_catalogs\masterpage\display templates</em>. Here you will find some Folders that SharePoint uses to group Display Templates together.</p>
<p>The Word item template is in the Search folder. Make a copy of the <em>Item_Word.html</em> and rename it to <em>ComperioItem_Word.html</em></p>
<p><img class="alignnone wp-image-2626 size-full" src="http://blog.comperiosearch.com/wp-content/uploads/2014/06/spdisptemp_01.png" alt="spdisptemp_01" width="509" height="221" /></p>
<p>Edit the file and inside you will see some html and javascript code.</p>
<p>Edit the <strong>title field</strong> so that your custom template has a different display name than the original one.</p>
<p>The <em>&lt;mso:CustomDocumentProperties&gt;</em> tag contains some properties of the template. Some important properties are:</p>
<ul>
<li><em>TargetControlType</em> – tells SharePoint what the template is used for (search results, web parts, filters)</li>
<li><em>ManagedPropertyMapping</em> &#8211; contains a list of the managed properties that are or can be used by the current template</li>
</ul>
<p>The <em>&lt;body&gt;</em> tag contains the rendering logic for the display template.</p>
<p>The template can only recognize the managed properties that are listed in the header. To use another managed property, add it here. We are using the <em>Created</em> property that displays the document created date.</p><pre class="crayon-plain-tag">&lt;mso:ManagedPropertyMapping msdt:dt="string"&gt; 
'Title':'Title','Path':'Path', [………..] , ‘Created’:’Created’ 
&lt;/mso:ManagedPropertyMapping&gt;</pre><p>Now that the template is aware of the property, you can use it by adding it to the body. Add the line below in the Body of the rendering template:</p><pre class="crayon-plain-tag">&lt;div class="ms-descriptiontext"&gt; _#= ctx.CurrentItem.Created =#_ &lt;/div&gt;</pre><p><img class="alignnone wp-image-2627 size-full" src="http://blog.comperiosearch.com/wp-content/uploads/2014/06/spdisptemp_02.png" alt="spdisptemp_02" width="649" height="99" /></p>
<h3>Mapping the display template to a result type</h3>
<p>Now we are going to manually link the display template to a result type, so that we can see that it works.</p>
<p>In order for SharePoint to use your custom template, it needs to know of it. So navigate to Site Actions – Site Settings and under Site Collection Administration choose Search Result Types. Create a New Result Type for your template like below:</p>
<ul>
<li>Choose a Name</li>
<li>Choose Microsoft Word as content to match</li>
<li>Choose your custom display template</li>
</ul>
<p><a href="http://blog.comperiosearch.com/wp-content/uploads/2014/06/spdisptemp_03.png"><img class="alignnone wp-image-2628 size-medium" src="http://blog.comperiosearch.com/wp-content/uploads/2014/06/spdisptemp_03-300x189.png" alt="spdisptemp_03" width="300" height="189" /></a></p>
<p>Now go to the results page and search for a word document. The results should display a date looking like this:</p>
<p><a href="http://blog.comperiosearch.com/wp-content/uploads/2014/06/spdisptemp_04.png"><img class="alignnone size-medium wp-image-2629" src="http://blog.comperiosearch.com/wp-content/uploads/2014/06/spdisptemp_04-300x94.png" alt="spdisptemp_04" width="300" height="94" /></a></p>
<p>We have only been scratching the surface and a lot more customization can be done here, for example formatting the date value in javascript by using a function like <em>format(&#8220;yyyy-MM-dd&#8221;) </em>on a Date object. Combined, SharePoint and javascript have (almost) endless possibilities.</p>
<p>Happy coding!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.comperiosearch.com/blog/2014/06/23/sharepoint-search-display-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ultimate Reading List for Search UX Practitioners</title>
		<link>http://blog.comperiosearch.com/blog/2011/08/29/ultimate-reading-list-search-ux-practitioners/</link>
		<comments>http://blog.comperiosearch.com/blog/2011/08/29/ultimate-reading-list-search-ux-practitioners/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 12:48:07 +0000</pubDate>
		<dc:creator><![CDATA[Vegard Sandvold]]></dc:creator>
				<category><![CDATA[User Experience]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[design patterns]]></category>
		<category><![CDATA[faceted search]]></category>
		<category><![CDATA[findability]]></category>
		<category><![CDATA[inspiration]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[ux]]></category>

		<guid isPermaLink="false">http://nuggets.comperiosearch.com/?p=653</guid>
		<description><![CDATA[Enthusiastic search technology and UX practitioners have no shortage of inspiring books to adorn their bedside tables. Countless books on information architecture, interaction design, user testing and design documentation could keep you occupied well into the next wave of occupational fads. If you have read everything else of interest – and want to pump yourself up [...]]]></description>
				<content:encoded><![CDATA[<p>Enthusiastic search technology and UX practitioners have no shortage of inspiring books to adorn their bedside tables. Countless books on information architecture, interaction design, user testing and design documentation could keep you occupied well into the next wave of occupational fads.</p>
<p>If you have read everything else of interest  – and want to pump yourself up on enterprise search &#8211; look no further. We have compiled our ultimate reading list for search enthusiasts, a comprehensive collection of the most interesting books on search thinking and search doing written to date. Hopefully you&#8217;ll find something worth reading here aswell.</p>
<p>We would love to hear what you think of these book, and please feel free to share your own suggestions in the comments below. <strong>Happy reading!</strong></p>
<h3>Search Thinking</h3>
<p>Lovely books on the softer, more fluffy side of enterprise search.</p>
<p><a href="http://www.everythingismiscellaneous.com/">Everything Is Miscellaneous</a> <span style="color: #888888;">by David Weinberger</span> – the human side of information, and why tagging is better than classification.</p>
<p><a href="http://www.amazon.com/Ambient-Findability-Peter-Morville/dp/0596007655/findability-20/">Ambient Findability</a> <span style="color: #888888;">by Peter Morville</span> – search in a wider perspective, and possible futures.</p>
<p><a href="http://battellemedia.com/thesearch/">The Search</a> <span style="color: #888888;">by John Battelle</span> – the story of how Google revolutionized web search and Internet business.</p>
<h3>Search Doing</h3>
<p>Rock-solid and down-to-earth practical advice on search design and implementation.</p>
<p><a href="http://searchpatterns.org/">Search Patterns</a> <span style="color: #888888;">by Peter Morville</span> – the definitive guide to design patterns for search.</p>
<p><a href="http://searchuserinterfaces.com/">Search Users Interfaces</a> <span style="color: #888888;">by Marti A. Hearst</span> – a textbook packed with useful examples of search user interface designs.</p>
<p><a href="http://www.amazon.com/Designing-Search-Strategies-eCommerce-UXmatters/dp/0470942231/">Designing Search: UX Strategies for eCommerce Success</a> <span style="color: #888888;">by Greg Nudelman</span> – the how-to on eCommerce search design and implementation, with a lot of helpful guidelines.</p>
<p><a href="http://rosenfeldmedia.com/books/searchanalytics/">Search Analytics</a> <span style="color: #888888;">by Louis Rosenfeld</span> – a thorough and comprehensive guide to working with your search logs.</p>
<p><a href="http://thenoisychannel.com/faceted-search-the-book/">Faceted Search</a> <span style="color: #888888;">by Daniel Tunkelang</span> – a crash course in one of the most enigmatic challenges of enterprise search.</p>
<p><a href="http://www.morganclaypool.com/doi/pdf/10.2200/S00174ED1V01Y200901ICR003">Exploratory Search: Beyond the Query-Response Paradigm</a> <span style="color: #888888;">by Ryen W. White &amp; Resa A. Roth</span> – the academic perspective on information seeking behavior and Human-Computer Information Retrieval (HCIR).</p>
<p><strong>Update:</strong></p>
<p><a href="http://www.intranetfocus.com/about/martin-white/publications">Martin White</a> has published two additional books on enterprise search that you may want to check out:</p>
<ul>
<li><a href="http://www.galatea.co.uk/index.php?option=com_content&amp;task=view&amp;id=35&amp;Itemid=53">Successful Enterprise Search Management</a></li>
<li><a href="http://www.facetpublishing.co.uk/title.php?id=602-2">Making Search Work: Implementing web intranet and enterprise search</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.comperiosearch.com/blog/2011/08/29/ultimate-reading-list-search-ux-practitioners/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
