I want to use getResources to create a table of child resources and in the first column I need to numerate each returned row incrementally beginning from 1. What’s the easiest way to do this?
I know I can call getResources from within a snippet like so:
Brilliant, thanks. Actually, I went back to the documentation and noticed the idx parameter and was in the process of trying it. It works. No need even for an extra bit of snippet. getResources does it on its own. Sometimes - very occasionally - life just seems so wonderfully simple.