i need to pass term name as a parameter and return the GUID of that particular term.
As an example if i pass My Term 1 it should return GUID of My Term 1.
var termGuid=getTermByName('My Term 1');
function getTermByName(TermName){
return term.get_id();
}
0 commentaires:
Enregistrer un commentaire