Hey seandawes, I'll be stepping in for Jay here and I apologize for the very long delay. If I'm understanding your problem correctly, then you can use a JS query to create a long string that you can pass to your PDF Exporter. This query will allow you to programmatically separate out multiple items if multiple items are present. Here is an example of what that could look like:
In my JS query, I first make sure that my data is formatted as an array of objects (using formatDataAsArray) if it isn't already in that format. Then I loop over each object in the array and concat the values with their headers to a string with newline characters as needed. Finally I trigger my PDF export query with query.trigger() passing the string to the exportPDF query using additionalScope. In my exportPDF query I can reference the str variable defined in additionalScope. It will show up as undefined in the query input but when I trigger that query using query.trigger() and pass str as a key, value pair in additionalScope, the value will be defined.
I hope this helps for your use case!


