Your SlideShare is downloading. ×
0
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Spstc2011 managed metadata real world
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Spstc2011 managed metadata real world

1,734

Published on

Managed Meta Data Service – Using Term store in the real world beyond the taxonomy and tagging. …

Managed Meta Data Service – Using Term store in the real world beyond the taxonomy and tagging.

SharePoint Saturday The Conference spstcdc,spstcc

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,734
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
26
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Managed Meta Data Service – Using Term store in the real worldbeyond the taxonomy and tagging.Track – Devp300<br />ATUL CHHODA<br />MODIS<br />Welcome to SharePoint Saturday—The Conference<br />
  • 2. Welcome to SharePoint Saturday—The Conference<br />Thank you for being a part of the first SharePoint Saturday conference<br />Please turn off all electronic devices or set them to vibrate.<br />If you must take a phone call, please do so in the hall so as not to disturb others.<br />Open wireless access is available at SSID: SPSTC2011<br />Feel free to “tweet and blog” during the session<br />Thanks to our Diamond and Platinum Sponsors:<br />
  • 3. About Me <br />I am a Microsoft Techie focused on SharePoint and .Net development. <br />I am a SharePoint Consultant with over 8 yrs of industry experience and have been working on SharePoint from 2007 and 2010 from beta times. <br />Currently working at the World Bank, DC<br />Worked at federal, non- profit and member organizations for providing SharePoint based solutions for Intranet, Internet and Extranet scenarios and has performed the roles of administrator, developer, designer, and architect.<br />Blogs at http://atulchhoda.wordpress.com<br />Twitter:@atulchhoda<br />
  • 4. What is Managed Metadata ?Every Site column is Metadata ?Why Managed Metadata?<br />Managed Metadata is a hierarchical collection of centrally managed terms that you can define at FARM level, and then use as attributes for items.<br />
  • 5. Major building block in Enterprise Content Management in SP 2010.<br />Use managed metadata.<br />Share content types across site collections and Web applications<br />SharePoint 2010 Managed Metadata Service Application<br />
  • 6. Term store: A database that stores both managed terms and managed keywords.<br />Group: In the term store, all term sets are created within groups. In other words, group is the parent container for term sets.<br />Term set: A collection of related terms.<br />Term: A word or phrase that can be associated with an item in SharePoint Server 2010.<br />Terminology<br />
  • 7. Managed term: A term that can be created by users only with the appropriate permissions and often organized into a hierarchy. Managed terms are usually predefined.<br />Managed keyword: A word or phrase that has been added to SharePoint Server 2010 items. All managed keywords are part of a single, non-hierarchical term set called the keyword set.<br />Terminology<br />
  • 8. Demo: Term Store Management Tool<br /><ul><li>Central Administration
  • 9. Site Collection</li></li></ul><li>Using Term Store set Management Tool<br />Global Term set/Local Term Set<br />Metadata-driven Navigation and key filters<br />Search Refinement Panel guided navigation <br />Taxonomy web tagging control<br />Ajaxification on the fields<br />End-User Experience<br />Demo: End-User Experience<br />
  • 10. Administrator Experience<br />Steps to Enable Managed Metadata on Your Server<br />The Term Store Management Tool (TSMT) enabled below operations on term sets<br />Create <br />Copy<br />Reuse <br />Move <br />Duplicate (for polyhierarchy)<br />Deprecate<br />Delete <br />merge terms<br />manage permissions on term stores<br />Demo: Administrator Experience<br />
  • 11. Provisioning of Managed Metadata Service Application<br />Central Administration<br />
  • 12. Power Shell code <br />Add-PSSnapinMicrosoft.SharePoint.PowerShell-erroractionSilentlyContinue<br />## Settings you may want to change ## <br />$databaseServerName = “sp2010.contoso.com&quot;<br />$saAppPoolName = &quot;Managed Meta Data Services&quot;<br />$mmdappPoolUserName = “Contosospadmin&quot;<br />## Service Application Service Names ## <br />$metadataSAName = &quot;Managed Metadata Web Service&quot;<br />Write-Host&quot;Creating Metadata Service and Proxy...&quot;<br />
  • 13. $saAppPool = Get-SPServiceApplicationPool-Identity $saAppPoolName -EA 0 <br />if($saAppPool -eq $null) <br />{ <br />Write-Host &quot;Creating Managed Meta Data Service Application Pool...&quot;<br /> $appPoolAccount = Get-SPManagedAccount-Identity $mmdappPoolUserName -EA 0 <br /> if($appPoolAccount -eq $null) <br /> { <br />Write-Host &quot;Please supply the password for the Service Account...&quot;<br /> $appPoolCred = Get-Credential $mmdappPoolUserName<br /> $appPoolAccount = New-SPManagedAccount-Credential $appPoolCred -EA 0 <br /> } <br /> $appPoolAccount = Get-SPManagedAccount-Identity $mmdappPoolUserName -EA 0 <br /> if($appPoolAccount -eq $null) <br /> { <br />Write-Host &quot;Cannot create or find the managed account $mmdappPoolUserName, please ensure the account exists.&quot;<br /> Exit -1 <br /> } <br />New-SPServiceApplicationPool-Name $saAppPoolName-Account $appPoolAccount -EA 0 &gt; $null<br />} <br />
  • 14. New-SPMetadataServiceApplication-Name $metadataSAName-ApplicationPool $saAppPoolName-DatabaseServer $databaseServerName-DatabaseName &quot;MetadataDB&quot; &gt; $null<br />New-SPMetadataServiceApplicationProxy-Name &quot;$metadataSAName Proxy&quot; -DefaultProxyGroup-ServiceApplication $metadataSAName &gt; $null<br />Get-SPServiceInstance | where-object {$_.TypeName -eq &quot;Managed Metadata Web Service&quot;} | Start-SPServiceInstance &gt; $null<br />
  • 15. Planning Managed Metadata Service<br />Identify term sets.<br />Identify the owner of each term set.<br />Determine term set groups.<br />Define term sets<br />Global term sets vs local term sets<br />
  • 16. Planning Managed Metadata Service<br />Governance and import from Enterprise data( a timer job import)<br />Migrating from DEV,STG,PROD<br />Third party tools<br />Custom apps with csv/xml defined schema storing the GUID’s<br />
  • 17. Plan to import managed metadata <br />Locate the existing data.<br />Organize the data into SharePoint Server managed metadata.<br />Clean up the existing data.<br />Format the existing data into files to be imported.<br />Import the managed metadata.<br />Merge terms and add synonyms and translations<br />
  • 18. Benefits of Using Managed Metadata<br />More consistent use of terminology<br />Better search results<br />Dynamic<br />Centralized management of Taxonomy for Enterprise<br />Availability of Taxonomy for the Enterprise<br />
  • 19. Developer Experience<br />Use the Term store API’s to create programmatically create term sets/terms, add terms<br />Import CSV file to create terms programmatically.<br />Use TaxonomyWebTaggingControl<br />Use TaxomomyFieldControl for rendering existing columns<br />
  • 20. Term Store API’s(Microsoft.SharePoint.Taxonomy)<br />Reference assembly C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14ISAPIMicrosoft.SharePoint.Taxonomy.dll<br />TaxonomySession class<br />TermStore class<br />Group class<br />TermSetclass<br />Termclass<br />CommitAllmethod<br />IsAvailableproperty<br />Nameproperty<br />CreateLabelmethod<br />SetDescription method<br />
  • 21. Real World Scenarios<br />Using the TaxonomyWebTaggingControl.<br />Using TaxonomyFieldControl.<br />Tagging Site Collections/webapplications and results through search API’s.<br />Use the term set for navigation for building navigation control.<br />Demo:<br />Sample 0<br />Sample 1<br />Sample 2<br />Sample 3<br />
  • 22. Demo: Samples<br />Sample 0<br />Sample 1<br />Sample 2<br />Sample 3<br />
  • 23. Tips &amp; Tricks<br />User SPManager 2010 for creating Taxonomy Field Columns programmatically or through XML<br />http://spm.codeplex.com<br />Add the event receiver <br />
  • 24. Gotchas<br />TaxonomyHiddenList behind the scenes and everything is GUID <br />The site columns are bound to the GUID( not the term store/set/term value)<br />Import Manager/Import TermSet cannot import labels/synonyms . <br />Available only through TSMT and Taxonomy API( CreateLabel)<br />The GUID’s for all the entities in TSMT will be different in different farms.<br />Third party.<br />Database backup/restore.<br />Custom app with API to have the GUID migrated over.<br />
  • 25. Limitations<br />No Infopath /Workspace Support yet<br />Read only in DataSheet View<br />General issues of restoring global and local term sets across environments.<br />Plan a timer job to write xml with GUID’s on the file system 14 hive for both Global and Local Term sets.<br />Blank site template feature is not activated<br /> Enable-SPFeature -Identity &quot; 73EF14B1-13A9-416b-A9B5-ECECA2B0604C &quot; –Url http://sp2010<br />250 terms per managed columns<br />TaxonomyFieldControl, TaxonomyWebTaggingControl are sealed classes.<br />Need to write custom field control for any custom requirements.<br />
  • 26. References<br />Planning<br />http://technet.microsoft.com/en-us/library/ee530389.aspx<br />Boundaries and Capacity planning for Term store <br />http://technet.microsoft.com/en-us/library/cc262787.aspx#termstore<br />Object Model<br />http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.taxonomy.aspx<br />Term Set API’s<br />http://msdn.microsoft.com/en-us/library/ee832800(office.14).aspx<br />Provisioning Site Columns<br />Taxonomy <br />http://support.microsoft.com/kb/2481844<br />Search : Querying on managed terms fields<br />http://msdn.microsoft.com/en-us/library/ff625182.aspx<br />TaxonomyPickerControl issue:<br />http://support.microsoft.com/kb/2481844<br />
  • 27. Q&amp;A<br />Thank you very much for joining the presentation. <br />Feedback <br />
  • 28. Thanks to Our Other Sponsors!<br />Thanks to our Sponsors<br />
  • 29. Session Evaluation<br />Please complete and turn in your Session Evaluation Form so we can improve future events. Survey can be filled out at:<br />http://app.fluidsurveys.com/s/spstc2011-Fri-S2C-107/<br />Presenter: Atul Chhoda<br />Session Name: Managed Meta Data Service – Using Term store in the real world beyond the taxonomy and tagging.<br />Session No.:Fri-S2C-107 <br />

×