displaying dynamic content in sharepoint with search
DESCRIPTION
Overview on SharePoint 2013's querying and new content roll-up capabilities that leverage the search infrastructure to display rich, dynamic content.TRANSCRIPT
SPSBermuda 2013
Dynamic Content using SharePoint SearchSHAREPOINT SATURDAY BERMUDA– AUGUST 10, 2013
MIKE ORYSZAK
BLOG: WWW.MIKEORYSZAK.COMTWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013
About Me
Senior SharePoint Solution Architect w/ B&R Solutions
Microsoft SharePoint Server MVP
Leader for Triangle SharePoint User Group (TriSPUG)
Dev and Architect with MS stack since 1996
Working with SharePoint since 2002
Raleigh-Durham, NC
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
2
3SPSBermuda 2013
Thank you Sponsors!
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013
Session Overview
Search Basics
Differences Between 2010 and 2013
Understanding Queries
Showing Dynamic Content
CloseoutTarget Audience:
Site Administrators and Power Users looking to maximize the effectiveness of their site.
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
4
5SPSBermuda 2013
Search BasicsDYNAMIC CONTENT USING SHAREPOINT SEARCH
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 6
Search BasicsCrawling
A scheduled activity that evaluates the content, meta-data and security.
IndexProcessed info that describes the crawled contentExtremely fast compared to querying source content
SecurityOnly items the user has access to will be returned
Referred to as “Security Trimming”
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 7
Search BasicsManaged PropertiesCan be used to query against a specific attribute
Examples:AuthorContentTypeCreatedByLastModifiedTimeFirstName
Version Differences:In 2010 and before, these have to be managed in the Search Service ApplicationIn 2013, these are automatically added when content is crawled
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 8
Search BasicsScopes and Query RulesOverview
Pre-set rules for filtering contentCan be defined and testing globally or at Site Collection levelFeature typically under utilized in most environments
Version Differences:In 2010
Referred to as ScopesDefault scopes include: All Sites, People, This Site
In 2013Referred to as Query RulesAdded ability to test the Query RulesAdded ability to target the Query Rules to content and audiences
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 9
Search BasicsContent ClassificationContentClass Overview
Not all content is the sameContentClass property helps to segment content by its fundamental type
Examples:SPSPeople – User ProfilesSTS_Site – Site CollectionSTS_Web – Site/WebSTS_list_[doccumentlibrary] * – ListSTS_listitem_[documentlibrary] * – List Item
* Note name in brackets can be replaced with template name
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
10SPSBermuda 2013
Understanding QueriesDYNAMIC CONTENT USING SHAREPOINT SEARCH
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 11
Understanding QueriesQuery Formatting
Limit – 255 charactersContent Classes - ContentClass:ValueManaged Properties - Property:ValueLogical Operators - AND, OR, NOT, +, -Relational Operators - <, >, <=, >=, <>Filename – filename:”name”File Type – filetype:valueWildcards – Property:Partial Value
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 12
Understanding QueriesSimple Query Examples
ContentClass:STS_SiteUses the content classes specification to return all of the Site Collections
Department:”IT”Would return all of the people with a value of IT in the Department user profile property
Filetype:PDFWould return all PDF documents
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 13
Understanding QueriesCompound Query Examples
ContentType:”Check Request” AND RequestStatus:”Completed”Returns results for items with a ContentType set to “Check Request” and a RequestStatus of “Completed”
contentclass:sts_listitem_announcements AND author:“Jane Doe" Would return all announcements authored by Jane Doe
ContentType:”Enrollment Form” AND Write>”6/1/2012” AND Filetype:PDFWould return all content classified as an Enrollment form, added or modified after 6/1/2012, and of the filetype
PDF.
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
16SPSBermuda 2013
Showing Dynamic ContentDYNAMIC CONTENT USING SHAREPOINT SEARCH
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 17
Showing Dynamic ContentOut of the Box Web PartsNew Web Parts with SharePoint 2013
Much stronger emphasis on using Search to power large, dynamic sites that can display content beyond the site collection
Web Part CategoriesContent RollupSearch-Driven ContentSearch
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 18
Showing Dynamic ContentContent RollupPrevious versions relied on the Content Query Web Part (CQWP)
Queried source content in sites directly, did not use search
Content Search Web Part introduced with 2013Uses Search to return resultsProvides interface for configuring and testing your queryProvides configuration for 3 views; List, List with Paging, or SlideshowProvides configuration for property mapping (identification)
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 19
Showing Dynamic ContentSearch-Driven ContentSearch-Driven Content Web Part Category added with 2013
These are extensions of the Content Search web part, providing an initial query to work fromExtensively use Result SourcesWeb Parts include:
Recommended ItemsRecently Changed ItemsPopular ItemsPicturesPagesItems Matching TagVideosWeb PagesWiki Pages
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 20
Showing Dynamic ContentSearchSearch Web Part Category
Search Results Web PartAvailable going back to 2001Updated for 2013 to include the query build/test formAvailable as part of the Standard CAL
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
21SPSBermuda 2013
Showing Dynamic Content
Demonstration
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
22SPSBermuda 2013
CloseoutDYNAMIC CONTENT USING SHAREPOINT SEARCH
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
23SPSBermuda 2013
Questions?
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSBermuda 2013 24
ResourcesKeyword Query Syntax Reference
http://technet.microsoft.com/en-us/subscriptions/index/ee558911(v=office.14).aspx
Property Restriction Keyword Querieshttp://technet.microsoft.com/en-us/subscriptions/ff394509.aspx
My Search Blog Postshttp://mikeoryszak.com/tag/search/
BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK