Aris Script : how to copy objects from one database to another

Translate this pagebookmark or share this page
Gaël's picture

Posted: 2012-06-18
580 views | 3 comments | category: ARIS Support

0
show all articles

Hi,

Within an Aris script, once I'm connected to 2 databases, how can I simply copy an object (or a model) from the first DB to the other ?

 

Thank's a lot,

Gaël.

Comments
Amol's picture

Hi Gael,

You need to first get Merge component by

Context.getComponent("Merge")

then see the merge API help to do the merge from one database to another.

Regards,

Amol Patil

Gaël's picture

Great !

Thank's for your help Amol.

Galvin 's picture

Hi, I was wondering if there was a way to do copying of models within the same database without using the merge component?