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.
-
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
-
- Click Designer Studio > Application > Tools > Document to open the Document Application tool.
-
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.
- In the Chapters to include section, review the hierarchy of default chapters to decide where you can insert custom chapters.
-
Create your custom chapters.
- Click Edit > Add chapter to open the Chapter details dialog box.
- In the Name field, enter a heading for the chapter.
- In the Type list, select the type of content that this chapter includes.
-
In the
Rule
field, enter the rule that defines the content for this chapter.
This field is not available for some content types.
- Click Save.
-
To refine your custom chapters, create subchapters.
- In the Chapters to include section, click a custom chapter.
- Click Edit > Add subchapter to open the Chapter details dialog box.
- In the Name field, enter a heading for the subchapter.
- In the Type list, select the type of content that this subchapter includes.
-
In the
Rule
field, enter the rule that defines the content for this subchapter.
This field is not available for some content types.
- Click Save.
- Click Generate document to review your changes.