Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example 3. Retrieve WebTagging control properties
//Example 3. Retrieve ScriptForWebTaggingUI control properties
function initCountryTaggingControl3() {
var tagUI = document.getElementById(taggingWebId);
if (tagUI){
console.log(tagUI.TermSetId); //prints TermSet ID
console.log(tagUI.SspId); //prints TermStore ID
ExecuteOrDelayUntilScriptLoaded(initCountryTaggingControl3, 'ScriptForWebTaggingUI.js');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment