1. Metadata Management in SharePoint 2010 The Object Model Amol Ajgaonkar amolajgaonkar@gmail.com Twitter: @SharePointLife http://theSharePointLife.com
13. Taxonomy Tree For each TermStore in TaxonomySession.TermsStores For each Group in TermStore.Groups For each TermSet in Group.TermSets For each Term in TermSet.Terms For each Term in Term.Terms
14. Taxonomy Tree Search Taxonomy Session Class GetTerms GetTermSets GetTermsWithCustomProperty Term Set Class GetTermsWithCustomProperty GetTerms Term Class GetTerms
22. CRUD operations Group TermStore.CreateGroup Group.Delete TermStore.CommitAll Term Set Group.CreateTermSet TermSet.Delete Term TermSet.CreateTerm Term.Delete Rollback changes if there is an exception then call CommitAll.
In the previous session,Hersh Ajgaonkar covered the what Metadata management is in SharePoint 2010 and how it should be configured and used. Let’s go over the classes that will enable us to do the same things.TaxonomySession - > Entry Point to the Taxonomy.TermStore -> Represents the Metadata Service.
Regular groups can be created using the API.Site Collection groups are specific to the site collection. These cannot be created using the API as all the methods are marked as internal. But I will show you later how these groups are created.System groups, as the name suggest are used by the system to store keywords and Orphaned items.