Copy Entity between Schemas preserving metadata

User d05c206aa2

26-03-2014 11:40:51

I am authoring an IJC entity to use as a company wide template for data transcription.  I'd like to be able to copy this entity into other IJC schemas (generally on the same host machine).  There doesn't seem to be a good way to do this without loosing all the metadata around the entity/template.  


In order for this to be useful I want to generate fields with limited/specified sets of entries (enums) and have control over the data types of all the fields; this is the information that gets lots with the export/copy facilities that I see available so far (e.g. export to SDF/MRV and import into the desired IJC schema).


Is there a way to do this? 

ChemAxon 2bdd02d1e5

26-03-2014 14:20:29

Well, this could be tricky. You may use our Test2Production tool:


https://www.chemaxon.com/instantjchem/ijc_latest/docs/admin/test_to_production.html


But I doubt this is a good way to create a template (I suppose empty) entity.


Maybe better to create it by a Groovy script which can be then run separately in each schema. Please see our Groovy script and scriptlets examples at http://www.chemaxon.com/instantjchem/ijc_latest/docs/developer/index.html#scripts


Hope it helps...

User d05c206aa2

03-04-2014 20:04:28

Thanks, this seems like it'll give me an excuse to learn some Groovy scripting.