SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to create a new custom TermStore Programmatically? something like

SPServiceProxy proxy = SPFarm.Local.ServiceProxies.Where(s => s.GetType().Name.Equals("MetadataWebServiceProxy")).FirstOrDefault();

        SPServiceApplicationProxy spap = SPServiceApplicationProxy("MY Managed Metadata Service");


but SPServiceApplicationProxy is a abstract class and is impossible to crate an instance of it. I know that there is a way to do it in PowerShell but I want to do it in .net. Thanks

share|improve this question

Here are a few posts showing programmatic development of metadata services, term stores, groups & sets -

share|improve this answer
Thanks, but no one of those links is the answer for my problem. – Medes Apr 18 '12 at 9:06
even the ProvisionMetadataService() method about half-way down the first link (Programmatically Provision Term Store) ? – Supriyo SB Chatterjee Apr 18 '12 at 13:55
no even the ProvisionMetadataService() method, because it does not create any new Meta Data Service. – Medes Apr 19 '12 at 6:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.