Hi,
I have a repeater with children that are linked pages. In the transformation (which is a ascx transformation since it uses many placeholders for different conditions), I would like to have the name of the parent of the original document (which is placed somewhere else in the content tree).
Does anyone have an idea how I can do this? <%# GetDocumentUrl(Eval("DocumentID")) %> does show for example the url for the original document.
Already fixed it by creating a new method in the helper class which I called from inside the transformation
You can also use a macro if using a text/html transformation and get the value like this: {%CurrentDocument.Parent.DocumentName|(identity)GlobalAdministrator%}
{%CurrentDocument.Parent.DocumentName|(identity)GlobalAdministrator%}
Please, sign in to be able to submit a new answer.