Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Get Taxonomy ControlObject value
//Get Taxonomy ControlObject value
//webTaggingId - TaxonomyWebTaggingControl ID
function getTaxonomyControlObjectValue(webTaggingId) {
var webTaggingCtl = $get(webTaggingId);
var taxCtlObj = new Microsoft.SharePoint.Taxonomy.ControlObject(webTaggingCtl);
var termValue = taxCtlObj.getRawText();
return termValue;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment