This help topic is a step-by-step instruction of how you use Object Shopping to transfer an individual object, or a set of individual objects.
In the steps below, a Constraint is shopped from one repository to another as an example.
As an alternative to these steps, instead of using an export file, you can shop via the clipboard using Copy-Paste.
1. | In the repository from which you want to export, from the USoft Definer main menu, choose Teamwork, Object Shopping, Definitions. |
| The Export Definitions window or tab opens. |
2. | In the Export field, type a name for the export, for example: MY_EXPORT. |
3. | In the Default Filename field, type a default filepath for the export file, for example: c:\temp\my-export.xml. |
4. | Click the Constraints tab. Using the lookup button, identify the constraint you want to transfer, or make a list of multiple constraints that you want to transfer in one go. |
|
1. | Press the Create File button in the top right corner. |
| The Create Export File dialog opens. See that you are about to export the specified constraint(s) to the filepath you specified and that the export will be in XML format. |
| The export file is created in the location specified. You can open the file and inspect the contents you are about to transfer. |
|
1. | In the repository where you want to import the specified constraint(s), open USoft Definer. |
2. | Open SQL Command by choosing Tools, SQL Command from the main menu or by clicking the SQL Command icon in the ribbon bar. |
3. | Type the following script: |
invoke xml.import with
select '<filepath>'
| where <filepath> points to the export file you want to import, for example: |
invoke xml.import with
select 'c:\temp\my-export.xml'
4. | Press the Execute button. |
| The constraint(s) in the export file is (are) added to the constraints in the target repository (if any). If a constraint with the same name already existed in the target repository, the content is merged. |
|
See Also
Quick Walk-Through: Shopping a business area
Object shopping via the clipboard (copy-paste)
|