NavigationTerm – Set Custom Properties NavigationTerm – Managed Metadata


Ever tried to set custom properties for the terms in your site navigation. Recently i tried the same but ended up searching for a while, after a lot of playing around , found a way to set custom properties. Following snippet will create a new term, set the target url , catalog target url and also set a custom shared property.

As you can see NavigationTerm has a method to get the underlying term and then from there it’s straight forward.

Hope this helps.

Leave a Reply

Your email address will not be published. Required fields are marked *