Opening a business object definition from Business Object Designer

Once you open Business Object Designer, you can open object definitions stored in a file. If Business Object Designer is running from System Manager, you can also open business object definitions stored in an Integration Component Library.

This section describes:

Opening a business object definition from a project

If Business Object Designer is already open, you can do the following to open a business object definition from a project.

Note:
If Business Object Designer is running from System Manager, the project is an ICL-based project. Otherwise, the project is a local project, which contains only business object definitions you have imported into it. See Working with projects for more information about projects in Business Object Designer.
  1. From the list of business object definitions in the project, highlight the name of the definition you want to open.
  2. To select multiple business object definitions in the project, do one of the following:
  3. After selecting the definitions to be opened, right-click and then click Open.

    Business Object Designer displays a window for each selected definition.

Opening a definition from a file

To open a business object definition that is stored in a local directory, do the following:

  1. Click File > Open From File.

    The Import dialog box opens. The dialog box defaults to filter files of type XML Schema Definition (with a .xsd extension). You can also select a different file type from the Files of type list, or you can select all file types.

  2. In the Import dialog box, browse until you locate the file, select it, and click Open. Figure 26 illustrates this dialog box.
    Note:
    If Business Object Designer is not running from System Manager, the To Project list, which lets you specify the ICL-based project to receive the imported business object definition, is omitted from the dialog box. Instead, the business object definition is imported into your local project.

    Figure 26. Import Business Objects dialog box


If the Open the imported business objects check box is selected then Business Object Designer also opens the business object definition for editing. Otherwise, the business object definition is imported into the project but not opened for editing. For more information, see "Working with business object definitions".

Preventing duplicate definition names

Business Object Designer does not allow you to have two business objects with the same name in the same project, which might occur in either of the following situations:

If you attempt to open a definition from a file and your local or ICL-based project already contains a definition with the same name, Business Object Designer displays the Import Results dialog box illustrated in Figure 27.

Figure 27. Preventing duplicate names: Keep Local or Import


In the Import Results dialog box, do the following for each business object definition listed as having a duplicate name:

  1. Click Action and select an action from the list. An explanation of each action is provided below.
  2. If you selected Keep Import/Rename Local or Keep Local/Rename Import, type the new name for the business object definition in the Name column as shown in Figure 27.

Alternatively, you can use Select All BO Action as to specify either of two actions for every business object definition listed as a duplicate name. To overwrite all the business object definitions in your project with the definitions you are importing, select Overwrite Local. To refrain from importing the business object definitions that have duplicate names, select Don't Import.

The Actions list in the Import Results dialog box provides the following options:

Copyright IBM Corp. 1997, 2004