Book a Demo
Prev Next

Help System Authoring

Enterprise Architect enables you to provide support for the users of the models, systems and processes you develop, using the Help System Model. This is a simple-to-use model that has a number of facilities for creating a structure of Help topics to document your model or system as extensively and as deeply as you require. These facilities include:

  • A Help Profile, defining the Help stereotypes, Tagged Values and the Help page of the Diagram Toolbox
  • A Help Perspective (accessed from the Management Perspective group)
  • Help model patterns that provide a starting point for you to create your own Help model using stereotyped elements from the Help Profile
  • Help generation templates
  • A basic CSS file that you can modify and extend as required
  • An HTML generator and a PDF generator, building documentation from the same source Help model

HTML files generated from your Help model, can be deployed on the Internet through your own website or on your local file system and then viewed with any Web browser.  PDF documents can also be generated for those users wanting to access a more 'linear' version of the Help.

The final section of this topic provides a brief explanation of how you generate and view the Help pages you are creating.

Introducing the Help System Model

The Help System model is built from a standard set of UML elements that are stereotyped using a custom Enterprise Architect Profile. The major profile elements include such items as a HelpTopic, HelpSections and various HelpTables (see the Overview of Help System Components table). Each stereotype has a specific purpose and governs how the resultant web or PDF content will be generated. It is important that the correct types are used to ensure a consistent and pleasing result.

This diagram identifies the elements that can be used to build a Help page in the Help system, and their relationships to one another. Note that the HelpTable2A element represents the range of Table elements available for use in the Help model.

Overview of Help Model Components

This table defines the major stereotyped elements in the Help System profile that are used in building an online Help System. A more detailed discussion of each element type is provided in the Use of the Help System Elements Help topic.

HelpPackage

Each individual Help topic is defined by a «HelpPackage» element. This can be owned by a parent Package or HelpPackage, and can own child HelpPackages to form a hierarchy of topics providing general and then more detailed and specific information on some aspect of the system.

Each HelpPackage element contains one - and only one - HelpTopic element, which must have the same name as its parent HelpPackage.

HelpTopic

A «HelpTopic» element corresponds to an HTML page. The name of the HelpTopic element is rendered as the page title in any generated documents.  The HelpTopic 'Alias' property is used as the name of the .html file that the topic is generated to.

The HelpTopic element usually contains some introductory text to explain the purpose of the topic and how it fits into any topic structure of which it is a part.

There can only be one HelpTopic element in a HelpPackage. The HelpTopic can be the parent of other Help elements, except for:

  • Other HelpTopics
  • HelpTopicProxy elements
  • HelpTableRows, and
  • HelpTableRowProxy elements

HelpTopicProxy

If you want to duplicate an existing Help topic, you can add a «HelpTopicProxy» element to the HelpPackage instead of the HelpTopic element. You do not add any other elements under a HelpTopicProxy element, because it calls in the entire contents of the topic being duplicated.

HelpSection

A «HelpSection» element corresponds to one or more related paragraphs within a page, discussing a particular subject.

The name of the HelpSection element is rendered as a subheading within the document generated for the parent topic.

A HelpSection can only be a child of a HelpTopic, and cannot contain any other type of element, including other HelpSections. You can have many HelpSections under a HelpTopic, or one, or none.

A HelpSection element with the name Notes is usually placed second-to-last under the HelpTopic (before the Learn More section), containing a bullet list of additional points on the subject of the topic. However, it is not mandatory to have a Notes section.

HelpSectionProxy

A «HelpSectionProxy» element captures the contents of an existing HelpSection elsewhere in the system. You use this element to duplicate material in one or more other points in your Help structure. A HelpSectionProxy can only be a child of a HelpTopic, cannot contain any other type of element, and has no text content of its own.

HelpSectionDiagram

A «HelpSectionDiagram» element is used as a placeholder/container for a diagram that will appear in the Help as an image. The diagram should be created as a child of the HelpSectionDiagram element; any (non Help) elements or constructs used to create the diagram will not appear in the HTML or PDF documents themselves.

The diagram in this element is usually a stand-alone diagram that illustrates the topic as a whole. You can also create links within a HelpTopic, HelpSection or HelpTableRow to show diagram images that illustrate a specific point.

HelpSystemVideo

A «HelpSystemVideo» element is used as a container for a video control, which will play a video within the web browser in which the Help is being viewed. This allows for the inclusion of short 'How To' videos from your website, which can be viewed 'within' the User Guide.

HelpSlideshow

A «HelpSlideshow» element is used as a container for a slide show control, which will play a sequence of slides within the web browser in which the Help is being viewed. This allows for the inclusion of 'What this feature looks like' slides on your website, which can be viewed 'within' the User Guide.

HelpTable

A «HelpTablexn» defines one of several types of table according to the actual stereotype selected.  The HelpTable identifies the number of columns, the relative column widths and, in Tagged Values, the column headers. The different types of table are described in the Help Systems Tables Help topic. The Help Table can have any number of child HelpTableRow or HelpTableRowProxy elements.

The name of the HelpTable element is rendered as a heading above the table in any gererated documents.

HelpTableProxy

A «HelpTableProxy» element captures the contents of an existing HelpTable of any type elsewhere in the system. You use this element to duplicate material in one or more other points in your Help structure. A HelpTableProxy can only be a child of a HelpTopic, cannot contain any other type of element, and has no content of its own.

HelpTableRow

A «HelpTableRow» element defines the content of a single row of a table of any type. The element name is the row title, and the Notes for the element provide the description or explanation of the row title. Tagged Values define the hyperlinks to supporting Help topics, in the 'See also' column. If the table does not support a 'See also' column, those Tagged Values are ignored.

A HelpTableRow can only be a child of a HelpTable, and cannot contain any other type of element.

You can also use Tagged Values to add an icon to the row header, or to replace the header text with an icon. This is discussed in the Use of the Help System Elements Help topic.

HelpTableRowProxy

A «HelpTableRowProxy» element captures the contents of an existing HelpTableRow elsewhere in the system. You use this element to duplicate material in one or more other points in your Help structure. A HelpTableRowProxy can only be a child of a HelpTable, cannot contain any other type of element, and has no content of its own.

HelpSectionLearnMore

The «HelpSectionLearnMore» element is used to provide a list of hyperlinks to related topics that have not been linked elsewhere in the topic, nor in the Help hierarchy displayed next to the generated Help topic. It is usually placed at the end of the topic so as not to distract from the material presented in the body of the topic. The element name is always 'Learn more'; there is only one 'Learn more' section under a HelpTopic, and it cannot have any child elements.

The PDF generator ignores this element.

Generating Help

When you have created a structure of Help elements and added content and illustrations to form a Help page, you can generate and display the topic to examine how it appears as an actual HTML page. To do this, select the HelpTopic element at the highest point of the structure you want to generate, right-click on it and select the 'Generate Help on Current Item' option. The System Output window displays to show the progress of the Help generation.  The generated HTML files can then be viewed in your favorite web browser.

The Help topic Generating Help Files provides a detailed explanation of how to generate both HTML files and PDF files from your Help model.

Example Model

The branch of the Help model used to create this Help topic has been copied into the Enterprise Architect Example model, within the 'Model Publishing' section.  There, you can explore the sample Help model, generate files from it and experiment by extending or updating it.

To open the Example model, choose the ribbon option 'Start > Help > Help > Open the Example Model'.