programming4us
programming4us
WEBSITE

Publishing and Web Content Management : New in SharePoint 2013 (part 3) - Using the Content Search Web Part, Managed Navigation

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
2/2/2015 8:49:40 PM

Using the Content Search Web Part

All being well, you have designated one or several lists/libraries as catalog enabled, and run a successful full search crawl over these lists. It is now time to demonstrate exposing the cross-published content in other site collections using the Content Search Web Part.

  1. Navigate to a different site collection in your farm. For simplicity I created another site collection under a managed path of the same web application.
  2. Navigate to a page on your site where you wish to include cross-published content.
  3. Edit the page, and insert a Web Part from the ribbon.
  4. Choose the Content Search Web Part, under Content Rollup (Figure 7).

    9781430249412_Fig10-23.jpg

    Figure 7. Inserting a Content Search Web Part

  5. Edit the Web Part properties.
  6. Click the Change Query button to edit the search query (using a query builder) and set result sources to refine the content shown in the Web Part.
  7. Choose a desired list template. If you want to see all available content exposed by the search results, select the diagnostic template.
  8. You may change the presentation of search results by creating custom search templates from within site settings.

Managed Navigation

SharePoint 2013 now offers much-awaited custom navigation of sites via the Managed Metadata Term Store.This same hierarchical infrastructure bodes well for site navigation, which is also hierarchical. I often hear the word “taxonomy,” pertaining to both tagging taxonomy and site structure, which just speaks to the fact that the Managed Metadata Term Store is great for managing custom navigation.

Prior to SharePoint 2013, custom navigation typically involved some custom component, to read navigation structure from a list, XML file, or some other hierarchical node store. The out-of-the-box offering provided very little in the way of custom navigation—just the ability to include headers and links at each site level. The main issue with the out-of-the-box offering is that it was limited in the number of nested navigation nodes, without adhering to the actual structure of sites and subsites in the collection. Despite typical site navigation following site structure, content owners should have the ability to store their content (sites and pages) in any structure and have the navigation look completely different. Content storage and structure suits how content owners maintain content, and navigation is about how end users access content, and the two may look very different. Managed metadata navigation finally allows content owners to create a navigation structure independent of that of their content model.

To demonstrate managed navigation, I shall first create a hierarchy in the default term store for our application:

  1. Open Central Administration.
  2. Click the link for manage service applications.
  3. Scroll down the list and click Managed Metadata Service.
  4. Click the Manage icon in the ribbon to open the term store editor (Figure 8).

    9781430249412_Fig10-24.jpg

    Figure 8. Managed Metadata Term Store editor

  5. Ensure that you have permissions to edit the term store—add your username to the term store administrators field.
  6. Managed navigation binds to term sets, so I created a new group for navigation and then a term set for site navigation.

Note  SharePoint creates a default term set in the Managed Metadata Term Store for your site collection; I created my own for demonstration purposes.

Figure 9 shows a sample managed navigation term set, which I defined for demonstrating custom managed navigation in my publishing site. Before you proceed to configuring your publishing site to use this structure, I must point out the steps to ensure that term sets behave as navigation nodes.

9781430249412_Fig10-25.jpg

Figure 9. Sample managed navigation term set

  1. Create a term set structure, similar to that in Figure 10.
  2. Click the Site Navigation term set.
  3. In the right panel, click the Intended Use tab.
  4. Check the check box to enable the term set for navigation—you can also use the term set for tagging if you wish by toggling the other check box option.
  5. Click the Save button to save the changes.
  6. Click the tab for term driven pages—this page shows the settings for friendly URLs for the term set (more on friendly URLs shortly).
  7. Now you are ready to configure your publishing site to use the managed navigation.
  8. Open your publishing site (assuming the hosting web application uses the Managed Metadata Service you just configured).
  9. Click the gear icon, then select the menu item for site settings.
  10. Click the link for Navigation, under the Look and Feel header.
  11. SharePoint displays the navigation settings page like that in Figure 11.

    9781430249412_Fig10-26.jpg

    Figure 10. Managed navigation in SharePoint site

  12. Choose the radio button option for Managed Navigation for either or both the left and global (top) navigation.
  13. Scroll to the bottom of the page to the Managed Navigation Term Set section.
  14. Select the term set to use for managed navigation.
  15. The check boxes below the term set browser tell SharePoint whether to populate your term set with nodes when you create new pages in the site and whether to generate friendly URLs for new pages.
  16. Click the OK button at the bottom of the page to save your changes.

Figure 11 shows the managed navigation nodes in the working site. If you compare the left navigation with the global (top) navigation, you should see that they show the same structure, except the global navigation renders navigation pop-out menus for levels greater than the two deep of the current node. This is typical behavior: left navigation usually shows two levels below the current site node and global navigation all, depending on the site design.

9781430249412_Fig10-27.jpg

Figure 11. Managed navigation in operation

Other  
  •  Smashing Html5 : Working with Color Values - Integrating Your Color Palette with Your Web Page
  •  Smashing Html5 : Working with Color Values - Creating a Color Scheme
  •  Smashing Html5 : Working with Color Values - Adding Transparency to Color
  •  Smashing Html5 : Working with Color Values - Understanding RGB Color (part 2) - RGB decimal integer settings
  •  Smashing Html5 : Working with Color Values - Understanding RGB Color (part 1) - Using names, RGB and HSL percentages
  •  Web Security Testing : Automating Specific Tasks with cURL - Impersonating a Specific Kind of Web Browser or Device
  •  Web Security Testing : Automating Specific Tasks with cURL - Checking for Directory Traversal with cURL
  •  Web Security Testing : Automating Specific Tasks with cURL - Following Redirects Automatically, Checking for Cross-Site Scripting with cURL
  •  Web Security Testing : Automating Specific Tasks with cURL - Fetching Many Variations on a URL
  •  Web Security Testing : Automating Specific Tasks with cURL - Fetching a Page with cURL
  •  
    Top 10
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
    - Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
    - Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    programming4us programming4us
    programming4us
     
     
    programming4us