Exporting a Single Message Definition

Generate a RAP message template file or a Publisher API stub for a message definition from its properties sheet.

  1. Right-click a message definition and choose Properties.
  2. In Message Definition Properties, click the Preview tab.

    Use the navigation bar below the Preview tab to show either the message template or the Publisher API stub for this RAP message.

  3. Preview the code you want to generate:
    • Review XML in the RAPMessage.Message Template subtab.
    • Review API stub code in the RAPMessage.Publisher API stub subtab.

    PowerDesigner does not check that the model is valid when you generate from the properties sheet.

  4. Choose Save (Ctrl+S) and specify the target folder and file name for the generated file.

    The file type to generate is determined by the preview subtab you are in when you save.

  5. Click Save to start the generation.
Related concepts
Stub Generation