I have created a menu using Hierarchical transformation. The menu document type has all the field that are being used in Hierarchical transformation. Now i need to access the parent master document type field value inside this transformation.
The template is master template and the used Hierarchical viewer web part for creating menu. This Hierarchical viewer web part uses menu document type to render menu item. So now i want to access field value from master document type.
I tried to use below URL but it's not work.
What version are you using? V8 syntax should be CurrentDocument.Parent.<property>
I am using Kentico 8.1
Does that work with any field or only specific fields? I can get currentdocument.parent.documentname to work but when I try to use a custom field i get nothing.
Maybe worth mentioning that in my case, I had to use Object.Parent.<myfield> - since CurrentDocument was the page displaying my children page types, but not actually the parent I was trying to find.
Please, sign in to be able to submit a new answer.