vendredi 13 mars 2015

Get GUID by term name - jsom



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.


enter image description here



var termGuid=getTermByName('My Term 1');

function getTermByName(TermName){



return term.get_id();


}








0 commentaires:

Enregistrer un commentaire