I'm working on a project where part of the work involve InDesign templates. The rest of code calling elements from the InDesign templates refence them using IDs (IDML component name) - including files from /Stories subfolder of template and then reading content.
One of the options that I want to give for my customers is ability to modify some of the template elements and then re-render template using these modifications.
Unfortuntely I just realized that when I open .IDML document via InDesign and the export again as .IDML it doesn't keep the same component names (IDS) for elements like Stories. Everytime on export all is changed - including file names in /Stories subfolder. It's the same behavion using export in InDesign app and calling open/export metthods via Applescript.
Is there a way to force InDesign to not change IDs (IDML component names) when I open and export .idml document ?
I've tried all the options of "Open" dialog (open normal, open original, open copy) without success.
Thanks for any advices or suggestions.