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

Weitere ähnliche Inhalte

Was ist angesagt?

3 introduction-php-mvc-cakephp-m3-getting-started-slides
3 introduction-php-mvc-cakephp-m3-getting-started-slides3 introduction-php-mvc-cakephp-m3-getting-started-slides
3 introduction-php-mvc-cakephp-m3-getting-started-slidesMasterCode.vn
 
Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...
Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...
Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...Edureka!
 
JavaScript and jQuery Fundamentals
JavaScript and jQuery FundamentalsJavaScript and jQuery Fundamentals
JavaScript and jQuery FundamentalsBG Java EE Course
 
6 introduction-php-mvc-cakephp-m6-views-slides
6 introduction-php-mvc-cakephp-m6-views-slides6 introduction-php-mvc-cakephp-m6-views-slides
6 introduction-php-mvc-cakephp-m6-views-slidesMasterCode.vn
 
RESTful API Design & Implementation with CodeIgniter PHP Framework
RESTful API Design & Implementation with CodeIgniter PHP FrameworkRESTful API Design & Implementation with CodeIgniter PHP Framework
RESTful API Design & Implementation with CodeIgniter PHP FrameworkBo-Yi Wu
 
4 introduction-php-mvc-cakephp-m4-controllers-slides
4 introduction-php-mvc-cakephp-m4-controllers-slides4 introduction-php-mvc-cakephp-m4-controllers-slides
4 introduction-php-mvc-cakephp-m4-controllers-slidesMasterCode.vn
 
Introduction to Google API - Focusky
Introduction to Google API - FocuskyIntroduction to Google API - Focusky
Introduction to Google API - FocuskyFocusky Presentation
 
XML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEARXML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEARStephan Schmidt
 
Building a Dynamic Website Using Django
Building a Dynamic Website Using DjangoBuilding a Dynamic Website Using Django
Building a Dynamic Website Using DjangoNathan Eror
 
Introduction to Sightly
Introduction to SightlyIntroduction to Sightly
Introduction to SightlyAnkit Gubrani
 
Action View Form Helpers - 1, Season 2
Action View Form Helpers - 1, Season 2Action View Form Helpers - 1, Season 2
Action View Form Helpers - 1, Season 2RORLAB
 
Working With The Symfony Admin Generator
Working With The Symfony Admin GeneratorWorking With The Symfony Admin Generator
Working With The Symfony Admin GeneratorJohn Cleveley
 
Session Server - Maintaing State between several Servers
Session Server - Maintaing State between several ServersSession Server - Maintaing State between several Servers
Session Server - Maintaing State between several ServersStephan Schmidt
 
<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />tutorialsruby
 
XML Transformations With PHP
XML Transformations With PHPXML Transformations With PHP
XML Transformations With PHPStephan Schmidt
 
LvivPy - Flask in details
LvivPy - Flask in detailsLvivPy - Flask in details
LvivPy - Flask in detailsMax Klymyshyn
 

Was ist angesagt? (20)

Php and MySQL
Php and MySQLPhp and MySQL
Php and MySQL
 
3 introduction-php-mvc-cakephp-m3-getting-started-slides
3 introduction-php-mvc-cakephp-m3-getting-started-slides3 introduction-php-mvc-cakephp-m3-getting-started-slides
3 introduction-php-mvc-cakephp-m3-getting-started-slides
 
Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...
Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...
Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...
 
JavaScript and jQuery Fundamentals
JavaScript and jQuery FundamentalsJavaScript and jQuery Fundamentals
JavaScript and jQuery Fundamentals
 
6 introduction-php-mvc-cakephp-m6-views-slides
6 introduction-php-mvc-cakephp-m6-views-slides6 introduction-php-mvc-cakephp-m6-views-slides
6 introduction-php-mvc-cakephp-m6-views-slides
 
Rich faces
Rich facesRich faces
Rich faces
 
RESTful API Design & Implementation with CodeIgniter PHP Framework
RESTful API Design & Implementation with CodeIgniter PHP FrameworkRESTful API Design & Implementation with CodeIgniter PHP Framework
RESTful API Design & Implementation with CodeIgniter PHP Framework
 
4 introduction-php-mvc-cakephp-m4-controllers-slides
4 introduction-php-mvc-cakephp-m4-controllers-slides4 introduction-php-mvc-cakephp-m4-controllers-slides
4 introduction-php-mvc-cakephp-m4-controllers-slides
 
Introduction to Google API - Focusky
Introduction to Google API - FocuskyIntroduction to Google API - Focusky
Introduction to Google API - Focusky
 
XML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEARXML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEAR
 
Sightly - Part 2
Sightly - Part 2Sightly - Part 2
Sightly - Part 2
 
Building a Dynamic Website Using Django
Building a Dynamic Website Using DjangoBuilding a Dynamic Website Using Django
Building a Dynamic Website Using Django
 
Introduction to Sightly
Introduction to SightlyIntroduction to Sightly
Introduction to Sightly
 
Action View Form Helpers - 1, Season 2
Action View Form Helpers - 1, Season 2Action View Form Helpers - 1, Season 2
Action View Form Helpers - 1, Season 2
 
Working With The Symfony Admin Generator
Working With The Symfony Admin GeneratorWorking With The Symfony Admin Generator
Working With The Symfony Admin Generator
 
PEAR For The Masses
PEAR For The MassesPEAR For The Masses
PEAR For The Masses
 
Session Server - Maintaing State between several Servers
Session Server - Maintaing State between several ServersSession Server - Maintaing State between several Servers
Session Server - Maintaing State between several Servers
 
<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />
 
XML Transformations With PHP
XML Transformations With PHPXML Transformations With PHP
XML Transformations With PHP
 
LvivPy - Flask in details
LvivPy - Flask in detailsLvivPy - Flask in details
LvivPy - Flask in details
 

Ähnlich wie Spstc2011 managed metadata real world

Intro to PowerShell
Intro to PowerShellIntro to PowerShell
Intro to PowerShellAdam Preston
 
Best practices in using Salesforce Metadata API
Best practices in using Salesforce Metadata APIBest practices in using Salesforce Metadata API
Best practices in using Salesforce Metadata APISanchit Dua
 
Best practices in using Salesforce Metadata API
Best practices in using Salesforce Metadata APIBest practices in using Salesforce Metadata API
Best practices in using Salesforce Metadata APISanchit Dua
 
NZ Code Camp 2011 PowerShell + SharePoint
NZ Code Camp 2011 PowerShell + SharePointNZ Code Camp 2011 PowerShell + SharePoint
NZ Code Camp 2011 PowerShell + SharePointNick Hadlee
 
Practical catalyst
Practical catalystPractical catalyst
Practical catalystdwm042
 
Top SharePoint Issues SPS Event New Hampshire 2014
Top SharePoint Issues SPS Event New Hampshire 2014Top SharePoint Issues SPS Event New Hampshire 2014
Top SharePoint Issues SPS Event New Hampshire 2014Serge Tremblay
 
Odata introduction
Odata introductionOdata introduction
Odata introductionAhmad Dwedar
 
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...Joel Oleson
 
RESTful SOA - 中科院暑期讲座
RESTful SOA - 中科院暑期讲座RESTful SOA - 中科院暑期讲座
RESTful SOA - 中科院暑期讲座Li Yi
 
Advanced Web Development
Advanced Web DevelopmentAdvanced Web Development
Advanced Web DevelopmentRobert J. Stein
 
Design and Development performance considerations
Design and Development performance considerationsDesign and Development performance considerations
Design and Development performance considerationsElaine Van Bergen
 
RailsConf 2010: From 1 to 30 - How to refactor one monolithic application int...
RailsConf 2010: From 1 to 30 - How to refactor one monolithic application int...RailsConf 2010: From 1 to 30 - How to refactor one monolithic application int...
RailsConf 2010: From 1 to 30 - How to refactor one monolithic application int...jpalley
 
OData for iOS developers
OData for iOS developersOData for iOS developers
OData for iOS developersGlen Gordon
 
Wcf data services
Wcf data servicesWcf data services
Wcf data servicesEyal Vardi
 
SPCA2013 - SharePoint Nightmares - Coding Patterns and Practices
SPCA2013 - SharePoint Nightmares - Coding Patterns and PracticesSPCA2013 - SharePoint Nightmares - Coding Patterns and Practices
SPCA2013 - SharePoint Nightmares - Coding Patterns and PracticesNCCOMMS
 
Sumo Logic Cert Jam - Fundamentals
Sumo Logic Cert Jam - FundamentalsSumo Logic Cert Jam - Fundamentals
Sumo Logic Cert Jam - FundamentalsSumo Logic
 
MuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and ODataMuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and ODataPace Integration
 
Simplify your professional web development with symfony
Simplify your professional web development with symfonySimplify your professional web development with symfony
Simplify your professional web development with symfonyFrancois Zaninotto
 

Ähnlich wie Spstc2011 managed metadata real world (20)

Intro to PowerShell
Intro to PowerShellIntro to PowerShell
Intro to PowerShell
 
Best practices in using Salesforce Metadata API
Best practices in using Salesforce Metadata APIBest practices in using Salesforce Metadata API
Best practices in using Salesforce Metadata API
 
Best practices in using Salesforce Metadata API
Best practices in using Salesforce Metadata APIBest practices in using Salesforce Metadata API
Best practices in using Salesforce Metadata API
 
NZ Code Camp 2011 PowerShell + SharePoint
NZ Code Camp 2011 PowerShell + SharePointNZ Code Camp 2011 PowerShell + SharePoint
NZ Code Camp 2011 PowerShell + SharePoint
 
Practical catalyst
Practical catalystPractical catalyst
Practical catalyst
 
Top SharePoint Issues SPS Event New Hampshire 2014
Top SharePoint Issues SPS Event New Hampshire 2014Top SharePoint Issues SPS Event New Hampshire 2014
Top SharePoint Issues SPS Event New Hampshire 2014
 
Odata introduction
Odata introductionOdata introduction
Odata introduction
 
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
 
RESTful SOA - 中科院暑期讲座
RESTful SOA - 中科院暑期讲座RESTful SOA - 中科院暑期讲座
RESTful SOA - 中科院暑期讲座
 
Advanced Web Development
Advanced Web DevelopmentAdvanced Web Development
Advanced Web Development
 
Design and Development performance considerations
Design and Development performance considerationsDesign and Development performance considerations
Design and Development performance considerations
 
RailsConf 2010: From 1 to 30 - How to refactor one monolithic application int...
RailsConf 2010: From 1 to 30 - How to refactor one monolithic application int...RailsConf 2010: From 1 to 30 - How to refactor one monolithic application int...
RailsConf 2010: From 1 to 30 - How to refactor one monolithic application int...
 
OData for iOS developers
OData for iOS developersOData for iOS developers
OData for iOS developers
 
Introduction to OData
Introduction to ODataIntroduction to OData
Introduction to OData
 
Wcf data services
Wcf data servicesWcf data services
Wcf data services
 
SPCA2013 - SharePoint Nightmares - Coding Patterns and Practices
SPCA2013 - SharePoint Nightmares - Coding Patterns and PracticesSPCA2013 - SharePoint Nightmares - Coding Patterns and Practices
SPCA2013 - SharePoint Nightmares - Coding Patterns and Practices
 
Sumo Logic Cert Jam - Fundamentals
Sumo Logic Cert Jam - FundamentalsSumo Logic Cert Jam - Fundamentals
Sumo Logic Cert Jam - Fundamentals
 
MuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and ODataMuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and OData
 
Simplify your professional web development with symfony
Simplify your professional web development with symfonySimplify your professional web development with symfony
Simplify your professional web development with symfony
 
Mangento
MangentoMangento
Mangento
 

Kürzlich hochgeladen

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 

Kürzlich hochgeladen (20)

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 

Spstc2011 managed metadata real world

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