Umbraco's MultiNode TreePicker (MNTP) data type has a couple of tokens (or, more precisely, "context-aware placeholders") that can be used in the XPath query defining the starting node for the picker and represent the current or parent node - but these tokens behave differently when creating a new node than when editing an already published node. In this post we will see why and how we can make MTNP behave consistently regardless of whether the node being edited is new or existing.

Umbraco and the Umbraco logo are registered trademarks of Umbraco Corporation. DNN and the DNN logo are registered trademarks of DNN Corporation. All other product names, logos, and brands are properties of their respective owners.