Pasting objects

Before you start:

To complete this task, you must have completed the following tasks:

You can paste objects that you have previously copied within the same message definition file, such as a message for a local element object, or types for a complex type object.

You can only copy and paste an object within the same message definition. You cannot copy an object and paste it into another message definition, either within the same message set or in a different message set.

To paste an object in the message definition from which you copied it:

  1. Switch to the Broker Application Development perspective.
  2. Ensure that the Outline view is visible in the Broker Application Development perspective of the workbench. If the Outline view is not visible, from the workbench menu, click Window > Show View > Outline.
  3. In the Outline view, right-click the location where you are going to paste the object then click Paste on the pop-up menu. Alternatively, right-click the object in the Message Definition editor Overview tab then click Paste on the pop-up menu. The object appears in the new location with a default name which you can change if you want to.
  4. Either type a new name for the object or press Enter to accept the default.
    Note: When you copy and paste objects within the message set, where physical properties exist for that object, these settings are not pasted, but are set to default values.
    Tip: If you cannot select Paste from either menu, this indicates that you are attempting to paste the object into a location that is invalid. For example, this would happen if you tried to paste a complex type into a local element.
Related concepts
Message model objects
Related tasks
Copying objects
Related reference
Message model object properties