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

So I am wanting 3 different navigations and I only see how to add 2 though in the snippet area in Design Manager.

I am comfortable with C# but not very knowledgable in Sharepoint. Does anyone know how to grab a specific term set by reference ID?

share|improve this question

First you create a TaxonomySession for the current site:

var TSession = new TaxonomySession(SPContext.Current.Site);

Then you can use the TermStores Property to look up your term store using its GUID:

var Termstore = TSession.TermStores[termStoreID];

You can also do the lookup based on the term store name if that is easier to use.

share|improve this answer
Ok. So once I have the object and create the variable, how would I display it. For example in this case I have an id of 123456 that will go and get the navigation based on that it. What command should I use to have Sharepoint display it just like any other navigation? – gregwhitworth Mar 26 '13 at 22:30

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.