Spssv Integrating Search Driven Content in SharePoint 2013
Upcoming SlideShare
Loading in...5
×
 

Spssv Integrating Search Driven Content in SharePoint 2013

on

  • 1,320 views

Integrating Search Driven Content in SharePoint 2013 ...

Integrating Search Driven Content in SharePoint 2013

One of the most common requirements for business websites is to aggregate and display content such as news and events, recent updates, or popular content. In this session, we will utilize new SharePoint 2013 features to perform content aggregation and roll-ups.

We will demonstrate how to get content from multiple sites by using the new SharePoint 2013 cross-site publishing feature. Then we will create a content roll-up solution by creating custom display templates for SharePoint's Content Search web part. Last, we will look at how to fine tune search queries and customize the display of results in search. We will demonstrate how to use Query Rules and Result Types to improve the search experience.

Statistics

Views

Total Views
1,320
Slideshare-icon Views on SlideShare
1,206
Embed Views
114

Actions

Likes
0
Downloads
11
Comments
0

5 Embeds 114

http://blogs.msdn.com 66
http://ericoverfield.com 44
https://twitter.com 2
http://www.newsblur.com 1
http://www.feedspot.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Introduction slide
  • ROne of the most common requirements for business websites is to aggregate and display content such as news and events, recent updates, or popular content. In this session, we will utilize new SharePoint 2013 features to perform content aggregation and rollups.We will demonstrate how to get content from multiple sites by using the new SharePoint 2013 cross-site publishing feature. Then we will create a content rollup solution by creating custom display templates for SharePoint's Content Search web part. Last, we will look at how to fine tune search queries and customize the display of results in search. We will demonstrate how to use Query Rules and Result Types to improve the search experience.
  • R & Ea Senior Consultant with Microsoft Consulting Services in Northern California. She specializes in Information Worker Solutions and Custom Application Development Technologies. She has extensive experience in working with enterprise customers to deliver end to end SharePoint solutions and custom developed applications from architecture, design, development, to deployment to production.
  • R
  • ETalk about prereqs
  • ETo accomplish this, we need to perform the following steps (for a process diagram of the scenario, refer to Figure 9-1):We need to make the floor plan content in the authoring site available to search so that other sites can consume the content.We need to ensure search is periodically indexing the authoring content to ensure the dynamic content is up to date.From the public spectergroup.com site, we need to consume the floor plan content from search. From the public spectergroup.com site, we need to customize the display of the rolled up content. Content deployment?Extranet users must have (restricted) read permission on authoring site – this is required unless you want to make content anonymous. customer does not agree with allowing external users access to authoring environment (separate farm that also hosts Intranet, etc).XSP only supports pages and lists; as such, assets must be managed in a separate site collection (sub-optimal authoring experience)One of the consequences of using the SharePoint 2013 search-based publishing model is that it only applies to the content that can be indexed. All other assets such as images or files are not included in the search index and therefore it is still your responsibility to ensure that they are available everywhere where the content from a catalog might be published.store all publicly available assets in a separate Site Collection; Using Suggested Content Browser Locations makes it easier for content authors to work with assets stored in a different Site Collection than the one they use for authoring content.the problem is that Content deployment is not only a matter of size. It is more a matter of number of changes, frequency of deployments and concurrency between what gets read and updated while there’s activity on the destination site
  • R
  • RTalk about building identifiers in the URL (SEO)Navigation hierarchy based on a Managed metadata type column with terms
  • RTalk about creating this at site collection level vs. Central admin
  • E
  • R
  • R
  • R
  • E
  • E
  • E
  • Rfine-tuning the query to offer results that we think the users are looking for In SharePoint 2013, we are able to fine-tune search results based on the intent of the user's query. When users enter a query, we help them find what they are really looking for by fine-tuning the query and adding additional information to offer results that we think the users are looking for. Query rules can be created at various levels, in the Search Service application from Central Admin or at the site collection level. They are inherited by default, such that query rules created in the Search Service application are inherited by all the site collections and query rules created at the site collection level are inherited by all sites within the site collection. They can also be deactivated at a level to ensure the rule is never applied for queries submitted at that level.Condition: Set of conditions to match for this rule to fire (example: no conditions means the rule will be fired every time).If multiple conditions are specified, as long as one of the conditions is matched, then the query rule will be invoked. There are six types of conditions to choose from when creating a query rule: Query Matches Keyword Exactly: Query contains a specific word or words.Query Matches Dictionary Exactly: Query contains a word in a specific dictionary.Query Contains Action Term: Query contains an action word that matches a specific phrase or term set.Query More Common in Source: Query is common in a different source (like Videos Results Source).Result Type Commonly Clicked: Results include a common result type (like file type).Advanced Query Text Match: Advanced rule to match across a set of terms, dictionary, regular expression, and so on.For the Specter Group Floor Plans scenario, we are going to configure our query rule for Floor Plans with the condition to match keyword "Floor plans." Next, we need to configure actions to specify what happens when the query rule is applied. We can add multiple actions for each query rule. There are three options for actions:Assign promoted results: A promoted result is a result that appears at the top of the search results. This is similar to Best Bets in SharePoint 2010 or Visual Best Bets in FAST Search for SharePoint 2010. We can promote a result as a link or as a banner, which is a quick and easy way to visually present a certain result to users. Add result block: A result block is several search results displayed as a group. Similar to promoting a search result, we can promote a result block. A result block specifies an additional query to run and how to display the resultsA result block uses a result source, which can be results from the local search index or results from outside of SharePoint, such as Exchange or OpenSearch. Both search scopes and federated locations features from SharePoint 2010 have evolved into result sources. An example of a result source using OpenSearch is federating search results from Bing by providing the OpenSearch URL for its search service. An example of an out-of-the-box result source, Documents, returns all files from the local SharePoint index. While configuring a result block, this feature includes a full query designer for building and testing queries, similar to Query Builder in the Content Search web part.A result block can be configured to use specific custom display templates.Change ranked results by changing the query: Change the way SharePoint handles a particular query by supplementing a query with additional keywords or managed property restrictions. This feature can be used to tune search results. The original query can be changed by modifying the query terms, adding additional terms, applying an XRANK formula to the query, and so on. For the Specter Group Floor Plans scenario, we are going to configure our query rule for Floor Plans with an action to add promoted results for a few beachfront properties.The publishing options for a query rule determine when the rule can be used. By default, a rule is active until it is deactivated. We can also configure a rule to be active during a certain time. A good application of this is when a rule is set up for commerce scenarios. For example, we can set up a rule to promote certain products to the top for sale during a particular period of time, such as the holiday period. In the Specter Group's scenario, we want to show beachfront properties in the summer period.
  • ROn the Add Query Rule page, in the General Information section, in the Rule name field, type Summer Promotion as the name of the new query rule (see Figure 9-62). Expand the Context section and note that the Floor Plan result source is selected by default. Going down the page, in the Query Conditions section, ensure Query Matches Keyword Exactly is selected in the drop-down list. Enter floor plans in the text box as the query phrase to match.In the Actions section, click the Add Promoted Result link to add promotion for a few beachfront properties. In the Add Promoted Result window, shown in Figure 9-63, select the Add new promoted result option. Enter Beachfront property in the Title field, then enter the URL for the promotion banner. Select the Render the URL as a banner instead of as a hyperlink check box to render the image as a banner. Click Save to continue. Continue down the page and expand the Publishing section. Ensure the Is Active check box is selected and enter date values for Start Date and End Date to make sure this query rule is only active during certain dates
  • R
  • Rclick New Result Type at the top. Enter Floor Plans as the name of the new result type. Next to Conditions, select the Floor Plan result source to match (see Figure 9-68). By configuring the result source as its only condition, any result item in the Floor Plan result source will use this result type for rendering. Configure the new result type to use the Best Bet Item display template
  • R
  • E
  • One of the most common requirements for business websites is to aggregate and display content such as news and events, recent updates, or popular content. In this session, we will utilize new SharePoint 2013 features to perform content aggregation and rollups.We demonstrated how to get content from multiple sites by using the new SharePoint 2013 cross-site publishing feature. Created a content rollup solution by creating custom display templates for SharePoint's Content Search web part. Looked at how to fine tune search queries and customize the display of results in search. We will demonstrate how to use Query Rules and Result Types to improve the search experience.
  • Conclusion slide
  • SharePint

Spssv Integrating Search Driven Content in SharePoint 2013 Spssv Integrating Search Driven Content in SharePoint 2013 Presentation Transcript

  • Integrating SearchDriven Content inSharePoint 2013RITA ZHANGERIC OVERFIELD
  • About Us Founder and SharePointBranding/UI Lead, PixelMill Speaker, Teacher, Advocate Author, SharePoint CommunityOrganizer Sr. Consultant, Microsoft Founder and Architect, SP.me Author“Pro SharePoint 2013 Branding and Responsive WebDevelopment” (Apress – June 2013)ericoverfield.com@EricOverfieldblogs.msdn.com/ritazh@SharePointRita
  • You will learn how to…Aggregate content from different sitescross-site publishing featureCreate a content rollup solutioncustom display templatesFine-tune search queries and customize the display ofsearch resultsquery rules and result types
  • What we want to build…Scenario: Showdynamic contentShow potential buyersa rollup of all theavailable SpecterGroup properties forsale
  • Site Collection ASearchSearchCrawlContent SearchWeb PartSite Collection BSite Collection CSite Collection D
  • Solution
  • My Content
  • Enable Catalog
  • Create Managed Property1. After you crawl thecontent2. Create a newManaged propertyfrom a crawledproperty
  • Getting Content from Catalog
  • Content Rollup with Content SearchWeb Part
  • Get Dynamic Content with QueryBuilder
  • Show Results with Display Templates
  • Your own display templates1.Place them in the Master PageGallery2.Copy one of the existing ones forbest results3.Use the editor of your choice
  • What makes up a display template• Retrieve managed properties• HTML and JavaScript instead ofXSL
  • Let’s look at the code…<mso:ManagedPropertyMapping msdt:dt="string">LastModifiedTime:LastModifiedTime,Specter Property Type{Specter PropertyType}:SpecterPropertyType,Picture URL{PictureURL}:PublishingImage;PictureURL;PictureThumbnailURL,Link URL{Link URL}:Path,Line 1{Line 1}:Title,Line 2{Line 2}:Description,SecondaryFileExtension,ContentTypeId</mso:ManagedPropertyMapping><span class="_#= specterPropertyType=#_"><a href="_#= linkURL =#_" class="thumb">_#= pictureMarkup =#_<div class="date"><div class="d">_#= date=#_</div><div class="m">_#= month=#_</div></div></a><div class="caption">Property Type: _#=specterPropertyType=#_</div></span>var specterPropertyType = $getItemValue(ctx,"SpecterPropertyType");var lastModifiedTime = $getItemValue(ctx,"LastModifiedTime");
  • SummaryCustom display templates1. Copied an existing display template2. Added a new display slot for a new managedproperty3. Customized the display of results with css andJavaScript
  • Design Components andMappings in SharePointComponent Type File SharePoint ArtifactsStyle for theentire result setblock and foreach searchresult itemCSS style.cssCSS file in the Master Page Gallery:/Spectergroup/css/style.cssStructure for theentire block ofresultsHTML tag:<ul>Control_List_SpecterCustom Control display template in theMaster Page Gallery:/Display Templates/Content WebPart/Control_List_Specter.htmlDisplay contentfor each resultitemHTML tag:<li>Item_LargePicture_SpecterCustom Item display template in theMaster Page Gallery:/Display Templates/Content WebPart/Item_LargePicture_Specter.htmlPre-process datafor each resultitemJavaScriptInline JavaScript inItem_LargePicture_SpecterCustom Item display template in theMaster Page Gallery:/Display Templates/Content WebPart/Item_LargePicture_Specter.html
  • Quick test…raise your handwhen you’re doneReady?
  • Find the PDFNow findJoanna’sproject
  • What’s the problem?Results all look the sameAll the documents and sites are not the sameWe’re forced to search between results
  • What we want to build…Scenario: Customizedsearch experienceWhen users search for"floor plans“: Promote beachfrontproperties in thesummer Promote floor plansresult type as best bets
  • Create a Query Rule1.Condition: Set of conditions to match for thisrule to fire2.Action: What to do when this rule is applied3.Publishing: When should the rule be active
  • Your own Query RuleAdd a Summer Promotion for BeachfrontProperties
  • Result TypesTailor the look of important types of results.Conditions matchresult properties toidentify a “type” ofresult.A Display Templatechanges the look ofthat type of result.
  • Your own Result Type
  • SummaryQuery Rule and Result Type1. Created a Query Rule to Add a Summer Promotionfor Beachfront Properties2. Added a Result Type for Floor Plans to Use BestBet Item Display Templates
  • You have learned how to…Aggregate content from different sitescross-site publishing featureCreate a content rollup solutioncustom display templatesFine-tune search queries and customize the display ofsearch resultsquery rules and result types
  • Resources Configure cross-site publishing in SharePoint 2013: http://technet.microsoft.com/en-us/library/jj656774.aspx Connect a publishing site to a catalog: http://technet.microsoft.com/en-us/library/jj679901.aspx Administer search in SharePoint Server 2013: http://technet.microsoft.com/en-us/library/ee792877.aspx Display template reference in SharePoint Server 2013: http://technet.microsoft.com/en-us/library/jj944947.aspx Understanding the display template structure: http://msdn.microsoft.com/en-us/library/jj945138.aspx#bk_DTstructure Make a query rule inactive: http://technet.microsoft.com/en-us/library/jj871014.aspx#BKMK_MakeInactive Create query rules: http://technet.microsoft.com/en-us/library/jj871014.aspx Customize search result types: http://technet.microsoft.com/en-us/library/dn135239.aspx
  • Integrating SearchDriven Content inSharePoint 2013Thank You
  • Join us right after the event at the Firehouse Grill!Socialize and unwind after our day of learning.1765 E. Bayshore RoadEast Palo Alto, CA