pyViewAsPDF - PDF output shows loading icon (spinning wheel) for repeating DLs
I am using pyViewAsPDF and creating the parameters before calling it in an activity in the attached screenshot.
The section (ReviewForPDF) is loading fine in the UI, however when trying to pass it to pyViewAsPDF(which in turn, uses HTMLToPDF) Some of the tables load and others show the spinning wheel loading icon (throbber).
The sub sections that are not loading are actually repeating dynamic layouts. My thought is that the PDF generation is happening before the section itself has time to render - is there a way that I can adjust this? or perhaps something else I can do to ensure the section is fully loaded?