Hi,
Can anyone please guide me on an ARIS report for copying models form one data base to different data base .
This would be similar to the merge operation that is their in the ARIS .
I can do this task manually by merging but I want to try some automation in this .
Thanks
Hi,
Check the ARIS script help at Global objects > Report component interfaces > Merge component.
Example:
var oMerge = Context.getComponent("Merge"); var oMergeOptions = oMerge.createMergeOptions(currentDB); oMergeOptions.setAssignmentDepth(0); oMergeOptions.setConsiderBorderAssignment(true); oMergeOptions.setConsiderBorderCxnDefs(true); oMergeOptions.setConsiderSourceGroupPath(true); oMergeOptions.setCxnDefSourceWins(true); oMergeOptions.setFontSourceWins(true); oMergeOptions.setInheritAccessRightsForNewGroups(true); //updates usergroup access in targetDB oMergeOptions.setMixAttributes(false); oMergeOptions.setModelSourceWins(true); oMergeOptions.setObjDefSourceWins(true); oMergeOptions.setSynchronizeAssignments(true); var mergeResult = oMerge.startMerge(listOfModels, targetDB, oMergeOptions, true);