Quantcast
Channel: Adobe Community : Popular Discussions - InDesign SDK
Viewing all articles
Browse latest Browse all 78596

CS3/CS4 - Persistent data and different versions of plugin

$
0
0

Hi there,

 

In my plugin I have persistent data on e.g., the document and page items.

Say that I'm in version 1.0 of my plugin has a single persistent data field on the document, and that is wish to add a second field for version 1.1.

Does the SDK contain some form of functionallity for merging an old document into a new one that conform with the new fields?

Basically, my problem is that I do not know if I'm allowed to read the new persistent field in my ReadWrite function, since the current document could be created using version 1.0.

 

I guess that one solution is to tag the document with a version, and use that to determine the functionality of the ReadWrite function? However that do not seem as the most elegant solution...

 

I hope somebody understands my problem, and has a more sophisticated solution

 

Thanks

 

Kind regards Toke


Viewing all articles
Browse latest Browse all 78596

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>