Ray Business Technologies 11 years celebration

How to Render the Properties of a document from the first level in Kentico

We can’t use the Standard path Expression to render the properties of a main parent of a document  dynamically from the current path. 

Here is the Simple Workaround in achieving it

*****************************************************************************

{%

path = CurrentDocument.NodeAliasPath.Split("/");

return Documents["/" path[1]].DocumentName;

#% }

*****************************************************************************

news and events