Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var context = SP.ClientContext.get_current();
- var taxSession = SP.Taxonomy.TaxonomySession.getTaxonomySession(context);
- var term = taxSession.getTerm('f06b442f-81db-4356-acc7-2c565fe3bf00');
- var defaultLabel = term.getDefaultLabel(1033); //1033 is the LCID which means English
- console.log(defaultLabel.get_value());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement