Tutorials > Publish information as HTML with System Architect Publisher > Lesson 7: Set class defaults
  
Lesson 7: Set class defaults
In System Architect parlance, the three basic classes are diagrams, symbols, or definitions. You can specify a default report to be run for all diagrams, symbols, or definitions in the Class Defaults tab
Note that if you want a specific default report for a particular type of diagram, symbol, or definition, this is not the tab to specify it in. The Type Defaults tab is used for that. This would include, for example, specifying a default report for all Use Case diagrams (diagram of type Use Case), or Use Case symbols, or Use Case definitions, and so on.
So for example, let's say your start report is for a Use Case diagram, which has Use Case symbols, which are defined by Use Case definitions. In such an example, if you want to specify a Use Case Step report as the default report to run for all Use Case definitions, you DO NOT want to specify it as the default for all Definition types in this tab. It would run for all definitions, and give you unexpected output, since only a Use Case has Use Case steps. You would specify the Use Case Step report as the default report for Use Case definitions in the Type Defaults tab.
In the Class Defaults tab, you might want to attach a report to all definitions that got generic properties such as Description, and Audit Id, and so on.
To specify a default report for all diagrams, or symbols, or definitions
1 Select the Class Defaults tab.
2 Drag a report from the Available Reports list to the System Architect Classes list box, under Definitions, Diagrams, or Symbols.
System Architect Publisher indicates that a report has been specified for a class (Diagram, Symbol, or Definition) by augmenting the icon representing the class with an 'R' in circle icon.
This graphic is described in the surrounding text.
Running a trial report
You can run a trial of the report to see what it will look like by right-mouse clicking on the report you have specified as a default report, and selecting Trial Report.
Result
Now you can set type defaults.
Next
Lesson 8: Set type defaults
See also
Publish information as HTML with System Architect Publisher