We have a long Adobe Dynamic XML Form PDF form that is built/coded in Adobe LiveCycle. It recently was edited and new additional pages were inserted, and now some of the form's coding is broken because some objects are on different page numbers than they previouisly were. In particular, some of the references to objects in the code are made through an xfa.resolveNode() function, which takes an argument such as "form1.page1.ObjectName". So I'll need to update those arguments to reference the proper page numbers in order to fix the code.
Manually correcting all of these references will take a very long time and be error prone. Is there a way to gather the page numbers for all objects in the original form and the new form (either in Acrobat or LiveCycle, or using Python or something), so I can easily use Excel to compare those and identify the references that I need to change?
In this particular form, all of the items are behind a single form object (form1), and on different pages from page1 to page25. So some way to either spit the object names out by page number directly from LiveCycle or Acrobat, and/or to loop through the pages in the XML (say, with Python) and collect the object names and their page numbers, is what I'm looking for.