vendredi 19 décembre 2014

Display the "Other Label" from a termset in a Display template



I have a term set which lists departments, the default label list the abbreviation (ACC) and the other labels display the actual name (Accounts).


I am pulling all this data into a Display template using the following code.



<mso:ManagedPropertyMapping msdt:dt="string">'Link':'Path','Line 1'{Line 1}:'Title','Line 2'{Line 2}:'DocumentOwnerOWSUSER','Grouping':'owstaxIdQDocType'</mso:ManagedPropertyMapping>

var grouping = $getItemValue(ctx, "Grouping");


The problem is the above code displays the ACC and I want to display the friendly name, Accounts.


Is there a way to do this from my code above?








0 commentaires:

Enregistrer un commentaire