The Web Publisher 2.0 report template comes with predefined variables and their values. Before generating a report based on the Web Publisher 2.0 template, you can add more variables to it, edit the existing ones, or delete those you do not want to include in your report.
The following table shows the variable names and values of the Web Publisher 2.0 template.
Variable | Value | |
---|---|---|
Author | The report's creator. | |
Title | The report's title. | |
HomeImage | Possible values:
| |
| ||
UseContextMenu | True: Shows a context menu when right-clicking a diagram element. False: Shows an element specification or opens an element, a diagram, or a page specified in any existing active hyperlink when right-clicking a diagram element. | |
SelectHistoryNode | True: Selects a node when you move backwards or forwards. False: Type "false" if you want it another way. | |
ExportLinkedFile | True: Copies a linked file from a model hyperlink into an output report folder. False: Keeps the link to an absolute path only. | |
ShowAppearsInPage | True: Shows data in a report, and opens the Appears in tab when clicking an element in the Containment tree or a diagram pane. False: Hides the Appears in tab in a generated report. | |
AutoNavigateHyperlink | True: Automatically navigate the active hyperlink of each element. For example, if A has an active hyperlink to B and B has an active hyperlink to C, then C will be shown when you click A. False: The behavior of navigation to active hyperlink is the same as that of MagicDraw. For example, if A has an active hyperlink to B and B has an active hyperlink to C, then B will be shown when you click A. | |
DisplayTreeElementId | True: Shows the property ID of an element in the Containment tree. False: Type "false" if you want it another way. | |
SVGDiagramResizable | True: Resize SVG images when the browser is minimized. False: Enable SVG image linkable capability, but the resizable capability would be disabled.
|
The following section contains the instructions on how to work with your Web Publisher report.
|
|
The button to expand or collapse the Containment tree. |
|
|
|
You can add an active hyperlink to any symbol on a diagram. There are three kinds of hyperlinks: Element, File, and URL. However, the Element type hyperlink is available for the Active Hyperlink column on the Generic Table diagram image only. You can navigate to the target if you double-click the hyperlink on the diagram in the Web Publisher report. The following figure below shows the Submachine State hyperlink in the Web Publisher report. The Submachine State hyperlink in the Web Publisher report.If you double-click the Submachine State in the above example, it navigates to the target and opens it for you as shown in the following figure. The hyperlink navigates to the target in the Web Publisher report.MagicDraw elements in the Active Hyperlink column in the Generic Table diagram link to the associate elements. If you click an element in this column, you will be navigated to the Specification page of the associated element.
MagicDraw elements in the Active Hyperlink column in the Generic Table diagram links to the associated MagicDraw elements in the Specification page. |
|
Shortcut to the index page |
|
|
Clicking a diagram name to open its subdiagrams |
When you double-click it, the associated diagram opens (see the following figure).
|
The sample model used in the figures of this page is Magic Library that comes with MagicDraw. To open the sample properly you need to install MagicDraw and:
|