I have a Repeater which iterates through pages of a custom page type. In my transformation, if I use {% NodeID %} then it returns the NodeID of each individual custom page type. However, if I use {% DocumentID %} then it continuously returns the DocumentID of the page which houses the repeater. This is counter-intuitive to me.
{% NodeID %}
{% DocumentID %}
How do I return the DocumentID of each individual item using a stock macro?
Thanks!
I'm assuming you're using text/xml transformation is this correct? Is your repeater nested or do you have a nested repeater in your transformation? Do you have the DocumentID listed in your column list?
Adding DocumentID to the column list was the solution. Whoops!
My guess is since it wasn't there for the rendered items, it returned the current pages document ID then.
Please, sign in to be able to submit a new answer.