Forum Discussion
REST Endpoint "_api/navigation/menustate" not returning custom properties.
- Oct 24, 2017
I had the same issue (I used 'image' as the property name and a URL as the value) and seem to have found a (weird) solution:
Through google I somehow found an indexed link on a public site which used the API and the 'customProperties' parameter and when I tried it, it actually returned the XML without errors and the specified customProperties showed up as well.
However I noticed that the property names that were used, all started with '_nav_'.
Once I experimented a bit it turned out that if I used property names starting with either 'nav_' or '_nav_' in both the term store and the query string parameter, I no longer got any errors and the customProperties showed up in the returned XML.
I'm very curious if you experience similar behaviour.
I had the same issue (I used 'image' as the property name and a URL as the value) and seem to have found a (weird) solution:
Through google I somehow found an indexed link on a public site which used the API and the 'customProperties' parameter and when I tried it, it actually returned the XML without errors and the specified customProperties showed up as well.
However I noticed that the property names that were used, all started with '_nav_'.
Once I experimented a bit it turned out that if I used property names starting with either 'nav_' or '_nav_' in both the term store and the query string parameter, I no longer got any errors and the customProperties showed up in the returned XML.
I'm very curious if you experience similar behaviour.