Are TextFrame IDs immutable?
Can TextFrame IDs change, after the TextFrame has been created?
I have pairs of related TextFrames (in the same document) and want to store the ID of the other frame in a label. This only works, if the IDs don’t ever change.
The API reference describes ID as »The unique ID of the TextFrame«.
Document.id is described the same way (»The unique ID of the Document.«) and these IDs are assigned each time a document is opened.
I did a few tests, and my ID did not change when:
- Adding other PageItems
- Saving, Saving as, Saving as Copy
- Opening a cc22 file in cc24
- Restarting InDesign
However, it did change after exporting to idml (which I can live with).
Alhough it appears that IDs do not change, can anyone actually confirm, that this is the case?
And it would be interesting to know if this also applies to all (?) other IDs.
