Relationships between Objects Import and Export Concepts

ExportingImporting 19-7 1. Export all Models referenced by the sub-items of your project and import them in “Synonym mode” in the new repository to preserve their IDs 2. Export the Project without its children and import it in “Synonym mode”. This will simply create the empty Project in the new repository with the same IDs as in the source. 3. Export every first level Folder you want, without its children, and import them in “Synonym mode”. The empty Folders will be created in the new repository. 4. Export and Import all Markers, Knowledge Modules, Variables, Sequences, etc. that are referenced by every object you plan to export, and import them in “Synonym mode”. Refer to section “Import in “Synonym Mode” or Duplication and Impact on Object IDs” for special caution regarding import of Knowledge Modules in Synonym Mode. 5. Finally, export the Interfaces you are interested in and import them in “Synonym mode” in the new repository.

19.2.1 Exporting one ODI Object

Exporting one Oracle Data Integrator Object means export one single ODI object in order to transfer it from one repository to another. To export an object from Oracle Data Integrator: 1. Select the object to be exported in the appropriate Oracle Data Integrator Navigator. 2. Right-click the object, and select Export... If this menu item does not appear, then this type of object does not have the export feature. 3. In the Export dialog, set the Export parameters as indicated in Table 19–2 . Table 19–2 Object Export Parameters Properties Description Export Directory Directory in which the export file will be created. Export Name Name given to the export Child Components Export If this option is checked, the objects linked to the object to be exported will be also exported. These objects are those visible under the exported object in the tree. It is recommended to leave this option checked. Refer to Exporting an Object with its Child Components for more details. Note that when you are exporting a Load Plan, scenarios will not be exported even if you check this option. Replace exiting files without warning If this option is checked, the existing file will be replaced by the ones of the export. If a file with the same name as the export file already exists, it will be overwritten by the export file. Advanced options This set of options allow to parameterize the XML output file format. It is recommended that you leave the default values. XML Version XML Version specified in the export file. Parameter .xml version in the XML file header. ?xml version=1.0 encoding=ISO-8859-1? 19-8 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator You must at least specify the Export Name. 4. Click OK. The object is exported as an XML file in the specified location.

19.2.2 Export Multiple ODI Objects

You can export one or more objects at once, using the Export Multiple... menu item. This lets you export ODI objects to a zip file or a directory, and lets you re-use an existing list of objects to export. A more powerful mechanism for doing this is using Solutions. See Section 18.4, Working with Solutions for more information. How to export multiple objects at once: 1. Select Export Multiple... from the Designer, Topology, Security or Operator Navigator toolbar menu.

2. In the Export Multiple Objects dialog, specify the export parameters as indicated

in Table 19–2 . The objects are either exported as .xml files directly into the directory, or as a zip file containing .xml files. If you want to generate a zip file, you need to select Export as zip file and enter the name of the zip file in the Zip file name field. 3. Specify the list of objects to export:

1. Drag and drop the objects from the Oracle Data Integrator Navigators into the

Export list. Note that you can export objects from different Navigators at once. 2. Click Load a list of objects... to load a previously saved list of objects. This is useful if you regularly export the same list of objects.

3. To save the current list of objects, click SaveExport List and specify a file

name. If the file already exists, it will be overwritten without any warning. To import multiple objects at once, you must use a Solution. See Section 18.4, Working with Solutions for more information.

19.2.3 Importing Objects

Importing and exporting allows you to transfer objects Interfaces, Knowledge Modules, Models,... from one repository to another. Importing an ODI object To import an object in Oracle Data Integrator: 1. In the Navigator, select the object or object node under which you want to import the object. Character Set Encoding specified in the export file. Parameter encoding in the XML file header. ?xml version=1.0 encoding=ISO-8859-1? Java Character Set Java character set used to generate the file Table 19–2 Cont. Object Export Parameters Properties Description