Creating custom chapters in a legacy application document

You can create customize chapters in the legacy application documents that you generate. By defining project-specific content in chapters and subchapters, you can tailor the information that you share with stakeholders.

  1. Create content in the PegaAccel-Task-DocumentApp class for your custom chapters and subchapters.

    The following content types are supported:

    • Correspondence rules of type Mail

    • Word template rules

    • Images or files that are defined in your application

    • Images or files that reside on your local system

  2. Click Designer Studio > Application > Tools > Document to open the Document Application tool.
  3. In the Saved legacy document settings section, click a document to customize.
    You can create a document if one does not exist. For more information about creating a document, see Documenting your application.
  4. In the Chapters to include section, review the hierarchy of default chapters to decide where you can insert custom chapters.
  5. Create your custom chapters.
    1. Click Edit > Add chapter to open the Chapter details dialog box.
    2. In the Name field, enter a heading for the chapter.
    3. In the Type list, select the type of content that this chapter includes.
    4. In the Rule field, enter the rule that defines the content for this chapter.
      This field is not available for some content types.
    5. Click Save.
  6. To refine your custom chapters, create subchapters.
    1. In the Chapters to include section, click a custom chapter.
    2. Click Edit > Add subchapter to open the Chapter details dialog box.
    3. In the Name field, enter a heading for the subchapter.
    4. In the Type list, select the type of content that this subchapter includes.
    5. In the Rule field, enter the rule that defines the content for this subchapter.
      This field is not available for some content types.
    6. Click Save.
  7. Click Generate document to review your changes.