Unable to get around the limitations of Acrobat's internal JS editor by pasting my JS data (a 1000+ element array) I've made progress by creating a Document-Level script that a) imports an external file of 1000+ Javascript array.push(....) statements which stringified and then executed via eval(...).
This definitely gets the data into the PDF, even if I have to do this manually.
However, what I want to do is save and persist this newly imported data so the PDF can closed and re-opened again and STILL CONTAIN the data rather than continually try to re-import the data each time from an external file.
Any suggestions to my persistence problems would be much appreciated.
I'm even open to a kluge solution where perhaps I'd import the external file to be an internal file inside the PDF and then to use the intra-PDF equivalents of importDataObject() and getDataObjectContents() to populate the array each time document is opened.