USING METADATA TO REFINE SHAREPOINT SEARCHES SCOTT HICKMAN – IT4E APRIL 15, 2015 Scott Hickman – IT4E

Slides:



Advertisements
Similar presentations
EBSCO Discovery Service
Advertisements

Chapter 1: Introduction. Contents Whats New in Dreamweaver CS4? The Dreamweaver CS4 Interface Setting Up a Site Creating a Web Page Adding Text to Your.
MS® PowerPoint.
Module 2 Navigation.     Homepage Homepage  Navigation pane that holds the Applications and Modules  Click the double down arrow on the right of.
Go to ‘Site Actions’ ‘View All Site Content ‘View All Site Content’
Chapter 3 Creating a Business Letter with a Letterhead and Table
Creating and Editing a Web Page Using Inline Styles
FrontPage Express By John G. Summerville Ph.D.©, RN.
Customizing the MOSS 2007 Search Results November 2007 Rafael Perez.
Using Macros and Visual Basic for Applications (VBA) with Excel
Chapter 2 Creating a Research Paper with Citations and References
Microsoft Expression Web-Illustrated Unit L: Using Code Tools.
Chapter 3 Tables and Page Layout
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Chapter 1 Getting Started With Dreamweaver. Explore the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
PowerPoint Tutorial. Basic Vocabulary ► Slide - Presentation - Slide layout – ► ► ► a single page in PowerPoint all the slides for a speech all the slides.
1 Agenda Overview Review Roles Lists Libraries Columns.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
PYP002 Intro.to Computer Science Microsoft Word1 Lab 07 Creating Documents with Efficiency and Consistency.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
>To add a component via Page Editor, go to the View tab and check the Designing checkbox to enter Designing mode. >Next, simply click the Component button.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
Dreamweaver CS4 Concepts and Techniques Chapter 7 Page Layout with Frames.
Web Technologies Website Development Trade & Industrial Education
Teach Yourself Windows 98 Module 2: Working with Files, Folders, and the Desktop.
Project 1: Creating a Dreamweaver Web Page and Local Site 1 Project Objectives Add a background image Open and close panels Display and describe the Property.
Chapter 2 Creating a Research Paper with References and Sources Microsoft Word 2013.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 21 Fields and Forms.
Creating a Web Site to Gather Data and Conduct Research.
Website Development with Dreamweaver
CIS 205—Web Design & Development Dreamweaver Chapter 1.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit D Formatting Text and Using Cascading Style Sheets.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit B Creating a Web Site.
Foxbright – Smarter Education Websiteswww.foxbright.com Foxbright Training Foxbright Teacher Pages
Microsoft Access 2010 Chapter 10 Administering a Database System.
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
Creating Google Sites Laura Assem, Director of Technology.
Editing Basics Lesson 8. Skills Matrix SKILL #MATRIX SKILL 2.2.1Cut, copy, and paste text 2.2.2Find and replace text 4.1.1Insert building blocks in documents.
January 2006Colby College ITS Setting Up Course Pages.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Creating and Editing a Web Page
Create new project or open existing project (here, we will create a new project)
Transportation Agenda 187. Transportation About Web Parts Web parts are reusable “containers” that reside on web pages and interact with lists, libraries.
Web Site Development - Process of planning and creating a website.
Creating and Editing a Web Page Using Inline Styles
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Building a Website: Layout Fall Overall Structure: Home Page Title Section Title Frame Picture UNCP Math Menu Content Footer Contact Information.
Web and Multimedia Development Copyright © Genetic Computer School 2007WM LESSON OVERVIEW  Use of Tables  Creating Tables  Try It – 1  Creating.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
1 Word Processing Intermediate Using Microsoft Office 2000.
1 Branding 1 st Activity: Demonstrate the ability for Site Owners to adjust the Logo of the site within the SharePoint Site Navigate to Site Assets Upload.
Weebly Elements, Continued
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
About SharePoint Server 2007 My Sites
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
Updating Your Section’s Website
How to customize your Microsoft SharePoint Online website
How to customize your Microsoft SharePoint Online website
Finding Magazine and Journal Articles in
How to customize your Microsoft SharePoint Online website
Presentation transcript:

USING METADATA TO REFINE SHAREPOINT SEARCHES SCOTT HICKMAN – IT4E APRIL 15, 2015 Scott Hickman – IT4E April 15, 2015

OUTLINE  Creating metadata tags in the Term Management Store  Adding metadata to a refinement panel  Enabling metadata-driven search refinement

VERSIONS SP 2010SP Server 2010SP 2013SP Server 2013 Refinement PanelYes Metadata-driven navigation No Yes

CREATING METADATA IN THE TERM MANAGEMENT STORE

DEFINITIONS:  Metadata: Data about data. This is often seen in the form of column values in a SharePoint library or list, but can take many other forms.  Managed Term: A word or a phrase that can be associated with a SharePoint item. Managed terms are usually predefined.  Term Set: A collection of related terms. For example, the term set named “colors” could contain “red”, “blue”, “yellow”, etc.  Term Store Management: Managed Metadata Service where a SharePoint user can create and modify metadata terms

CREATING METADATA Two ways of navigating to the term store: 1.Central Administration->Manage service application (under Application Management)->Managed Metadata Service (the top one) 2.Central Administration->Site Settings->Term store management (under Site Administration)

CREATING NEW TERMS AND TERM SETS 1.Hover over “Managed Metadata Service”, click the small arrow that appears, and click “New Group”. Name it. 2.Hover over the group/folder, click the small arrow that appears, and click “New Term Set”. Name it. 3.Hover over the term set, click the small arrow that appears, and click “New Term”. Name it. (Note: Press the enter/return key to create another term). 4.(Optional) You can also create sub-terms within terms.

HOW TO SET UP TERM SET FOR REFINEMENT PANEL -Each term set corresponds to one term set on the refinement panel: =

HOW TO SET UP TERM SETS FOR NAVIGATION -Each term in a term set corresponds to one dropdown menu on the metadata-driven navigation bar. Each sub-term is a menu item. =

ADDING METADATA TO THE REFINEMENT PANEL

CREATE A SITE COLUMN 1.Portal Site>Site Settings>Site columns (under Web Designer Galleries) 2.Click “Create” 3.Name the column 4.Click “Managed Metadata” for the column type 5.Under “Term Set Settings”, find the term set you want to add to the Refinement Panel 6.You can modify the rest of the options to your liking

RUNNING A FULL CRAWL 1.Central Administration>Manage service applications (under Application Management)>Search Service Application>Content Sources (under Crawling) 2.Hover over “Local SharePoint sites”, click the arrow, and click “Start Full Crawl” 3.Wait for the crawl to finish. You can click the “Refresh” button to check the status of the crawl

CREATING A MANAGED PROPERTY 1.Central Administration>Manage service applications>Search Service Application>Search Schema (under Queries and Results) 2.Click “New Managed property”

MANAGED PROPERTY SETTINGS Type: Text Queryable: Yes Retrievable: Yes Allow multiple values: Yes Refinable: Yes – active Sortable: Yes – active Safe: Yes Token Normalization: Yes Under “Mappings to crawled properties”, click “Add a mapping” Find the property based on the column you created. It will look like “ows_columnname”, with spaces in the name replaced by “x0020”. Highlight it and click OK Once the Managed Property is created, run another full crawl If you can’t find the crawled property, see the next slide…

IF YOU CAN’T FIND THE CRAWLED PROPERTY… Add the column to a document library and tag a few documents with metadata from the column’s Managed Metadata service. THEN re-run the full crawl. The crawled property should now be picked up.

EDITING THE SEARCH PAGE On the Search page, run a search to get to the results.aspx page Click the gear in the top-right corner, then “Edit Page”

EDITING THE REFINEMENT PANEL 1.Hover on the Refinement Panel web-part and click the down arrow, then “Edit Web Part” 2.On the Web Part Properties window, click the “Choose Refiners…” button. 3.Find your managed property in the “Available refiners” panel. Click it, then click the “Add >” button to add it to the Selected refiners (this means it is on the refinement panel” 4.Adjust the order of the refiners with the “Move up/down” buttons. 5.Enter in a “Display name” if you wish. 6.Click “OK”. 7.Click “OK” in the web part properties, then publish the page.

ENABLING METADATA-DRIVEN SEARCH REFINEMENT

SETTING UP THE TERM SET FOR NAVIGATION 1.Central Administration>Site Settings>Term store management 2.Click the term set you wish to use for navigation 3.Click the “Intended Use” tab. 4.Make sure the “Use this Term Set for Site Navigation” checkbox is checked. 5.Click the “Save” button. 6.Click the “Term-Driven Pages” tab. 7.Enter in the RELATIVE URL into the “Target Page Settings” box to your search results (results.aspx) page. 8.Click the “Save” button.

ENABLING MANAGED NAVIGATION 1.Search Center>Site Settings>Navigation (under Look and Feel) 2.Set both Global Navigation and Current Navigation to “Managed Navigation” 3.Under “Managed Navigation: Term Set”, choose the term set you want to use. 4.Make sure “Add new pages to navigation automatically” is checked. 5.Click “OK”. Managed navigation should now work, but it won’t appear on the results.aspx page yet.

ENABLING MANAGED NAVIGATION ON THE RESULTS PAGE 1.On the Search page, run a search to get to the results.aspx page 2.Click the gear in the top-right corner, then “Edit Page” 3.In the “Main Zone”, click “Add a Web Part” 4.Under “Categories”, click “Media and Content”, then “Script Editor”, and “Add”. 5.In the “Script Editor” web part, click “EDIT SNIPPET”. 6.Enter in the javascript code found on the next slide. 7.Click “Insert”.

CODE FOR SCRIPT EDITOR WEB PART var refElm = document.getElementsByClassName('ms-searchCenter-refinement'); if (refElm.length > 0) { // Unhide the title row document.getElementById('s4-titlerow').setAttribute('style', 'display:block !important'); // Set the Site Title document.getElementById('DeltaPlaceHolderPageTitleInTitleArea').innerHTML = 'Search Center'; // Hide the search icon document.getElementById('searchIcon').style.display = 'none'; // Remove the top margin refElm[0].style.marginTop = 0; // The following lines are only needed for firefox var css = '#s4-bodyContainer #s4-titlerow { display: block !important; }', head = document.getElementsByTagName('head')[0], style = document.createElement('style'); style.type = 'text/css'; style.appendChild(document.createTextNode(css)); head.appendChild(style); }

FIXING THE SEARCH RESULTS 1.While still editing the results.aspx page, hover over the “Search Results” web part and edit it. 2.In the web part properties panel, click the “Change query” button. 3.Under “BASICS”, click the “Switch to Advanced Mode” 4.In the “Query text”, replace it with the string in he next slide. 5.Click the “OK” button.” 6.In the web part properties panel, click the “OK” button. 7.Publish the page. Everything should now work!

QUERY TEXT FOR SEARCH RESULTS WEB PART (FileExtension:doc OR FileExtension:docx OR FileExtension:xls OR FileExtension:xlsx OR FileExtension:ppt OR FileExtension:pptx OR FileExtension:pdf OR FileExtension:txt) (IsDocument:"True" OR contentclass:"STS_ListItem") owstaxidmetadataalltagsinfo:{Term.Id} {SearchBoxQuery}