Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tom Resing | SharePoint Engineer, Jive Software Christopher Harrison | Microsoft Certified Trainer.

Similar presentations


Presentation on theme: "Tom Resing | SharePoint Engineer, Jive Software Christopher Harrison | Microsoft Certified Trainer."— Presentation transcript:

1 Tom Resing | SharePoint Engineer, Jive Software Christopher Harrison | Microsoft Certified Trainer

2 Meet Christopher Harrison | ‏@geektrainer Head Geek, GeekTrainer –Specializes in ASP.NET, SharePoint and SQL Server –Microsoft Certified Trainer Over 14 years experience –Periodic blogger at blog.geektrainer.com –Regular presenter at TechEd –Still remembers his Commodore-64 –Husband, father of one four legged child, marathoner

3 Tom Resing SharePoint Engineer Jive Software 16 years in Web Software

4 Course Topics SharePoint 2013 Advanced Development 01 | Developing Managed Metadata Solutions 02 | Interacting with SharePoint Search 03 | Customizing the Search Experience 04 | Working with Business Connectivity Services 05 | Managing and Accessing User Profile Data 06 | Customizing the Social Workload

5 Microsoft Virtual Academy –Free online learning tailored for IT Pros and Developers –Over 1M registered users –Up-to-date, relevant training on variety of Microsoft products “Earn while you learn!” –Get 50 MVA Points for this event! –Visit http://aka.ms/MVA-Voucherhttp://aka.ms/MVA-Voucher –Enter this code: DevSPSAdv (expires 1/11/2014) Join the MVA Community!

6 01 | Developing Managed Metadata Solutions Christopher Harrison | Head Geek

7 Module Overview Managed Metadata Components Creating a Managed Metadata Store Using Managed Metadata

8 Managed Metadata Concepts Overview of Managed Metadata Using Managed Metadata Services Term Store Hierarchy Term Store Administration

9 Overview of Managed Metadata Managed metadata encourages users to tag content with a consistent set of terms and keywords –Terms –Keywords –Hashtags Content Type Hub

10 Using Managed Metadata Services SharePoint Search –Consistent values –Company extraction User Profiles –Keywords

11 Term Store Hierarchy Term Stores –Groups Term Sets

12 Term Store Managed Metadata Services implementation Container for keywords and hashtags Contains groups Management –Administrators –Term Store Management Tool

13 Groups Collections of term sets Used for delegation of control –Group managers –Group contributors –Managers and contributors do not need access to Central Administration

14 Term Sets Become columns Contain terms (values) Metadata –Owners –Contacts –Stakeholders –Do not have any form of control over the terms

15 Terms Hierarchical Values Options –Synonyms –Abbreviations –Languages

16 Term Administration Copying –Independent of the original term Reusing –Single terms that appear in multiple locations Pinning –Reused terms that are only editable from the original location Deprecation –Cannot be applied to new items

17 The Managed Metadata Service Application Configuring the Service Application: –Starting the Managed Metadata Web Service –Creating the Service Application $serviceAppPool = Get-SPServiceApplicationPool "SharepointServicesPool" $metaDataServiceApp = New-SPMetadataServiceApplication –Name "Managed Metadata Services“ –ApplicationPool $serviceAppPool –DatabaseServer “SQLServer" –DatabaseName "MetadataServiceDB" New-SPMetadataServiceApplicationProxy –Name "Managed Metadata Service Proxy“ –ServiceApplication $metaDataServiceApp –DefaultProxyGroup $serviceAppPool = Get-SPServiceApplicationPool "SharepointServicesPool" $metaDataServiceApp = New-SPMetadataServiceApplication –Name "Managed Metadata Services“ –ApplicationPool $serviceAppPool –DatabaseServer “SQLServer" –DatabaseName "MetadataServiceDB" New-SPMetadataServiceApplicationProxy –Name "Managed Metadata Service Proxy“ –ServiceApplication $metaDataServiceApp –DefaultProxyGroup

18 Lesson 2: Configuring Managed Metadata Term Sets Term Store Manager Obtaining Taxonomy Sessions and Term Stores Creating Groups and Term Sets Creating Terms

19 Term Store Manager Locations –Central Administration –Site Settings UI for managing Term Stores

20 DEMO Term Store Manager

21 Obtaining Taxonomy Sessions and Term Stores Opening a Taxonomy Session Opening a Term Store TaxonomySession taxonomySession = new TaxonomySession(siteCollection); TermStore termStore = taxonomySession.TermStores["Managed Metadata Service Proxy"];

22 Creating Groups and Term Sets Creating Groups Creating Term Sets group = termStore.CreateGroup("Human Resources", groupGUID); termStore.CommitAll(); group = termStore.CreateGroup("Human Resources", groupGUID); termStore.CommitAll(); carsTermSet = vehiclesGroup.CreateTermSet("Job Titles", termSetGUID); termStore.CommitAll(); carsTermSet = vehiclesGroup.CreateTermSet("Job Titles", termSetGUID); termStore.CommitAll();

23 Creating Terms Guid newTermGUID = new Guid("97B2FA06-5546-476F-BB2B-740021A28206"); termSet.CreateTerm("SharePoint Developer", 1033, newTermGUID); termStore.CommitAll(); Guid newTermGUID = new Guid("97B2FA06-5546-476F-BB2B-740021A28206"); termSet.CreateTerm("SharePoint Developer", 1033, newTermGUID); termStore.CommitAll();

24 DEMO Creating Groups and Terms with CSOM

25 Working with Managed Metadata Fields Reading Values Writing Values

26 Reading Values 1.Retrieve list item 2.Cast field to TaxonomyFieldValue 3.Read Label property

27 Writing Values 1.Retrieve term from term store 2.Create TaxonomyFieldValue –Label –Guid –WssId 3.Assign field

28 DEMO Managing List Items and Managed Metadata Services with CSOM

29 ©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Tom Resing | SharePoint Engineer, Jive Software Christopher Harrison | Microsoft Certified Trainer."

Similar presentations


Ads by Google