How to view Diagram and related properties in the same diagram workspace in Rational System Architect Publisher output

Technote (FAQ)


Question

Hoe do you customize the IBM Rational System Architect Publisher report output to display Diagram and related properties in the same diagram workspace

Cause

You would like to divide the published page for any Process diagram into two parts i.e., the Top part is to display the Diagram Graphics while the lower part to display the Diagram properties

Answer

In order to view Diagram and related properties in the same diagram workspace you would need to introduce Sub report into the Generic Diagram report.

You will need to create a sub report which should display the Diagram Properties and call that


A sample report created using System Architect Report Generator is as below:

Parent Report Sample

REPORT "Business Process Diagram Report"  
ID 38458
{
SETTING { PAGESIZE -1", 0.00 }
SETTING { HEADER 1 "Business Process Diagram Report" }
SETTING { REPORTFORMAT 4 }
FIELD "Linked Documents <-- Linked Documents" { SOURCE PROPERTY "Linked Documents" LENGTH 1200 TYPE MEMO LEGEND "Linked Documents" }
FIELD "Reference Documents <-- Reference Documents" { SOURCE PROPERTY "Reference Documents" LENGTH 1200 TYPE URL LEGEND "Reference Documents" }
FIELD "Description" { SOURCE PROPERTY "Description" LENGTH 4074 TYPE MEMO }

TABULAR 1 {
 SELECT "Name", SAUsrProps
 WHERE Class = Diagram
 WHERE "Identity" = "SWGDDID"
 SUBREPORT "Parent Diagram" { REPORTFILE "Generic Reports.rpt" }
 SUBREPORT "Process Details" { }
 DIAGRAM
 PARTIAL
 JOIN
 WHERE RELATION = "contains"
 JOIN
 SELECT "Name", SAUsrProps
 WHERE Class = Symbol
 SUBREPORT "Child Diagrams" { REPORTFILE "Generic Reports.rpt" }
 JOIN
 WHERE RELATION = "represents","defined by"
 JOIN
 SELECT "Name", "Linked Documents <-- Linked Documents", "Reference Documents <-- Reference Documents", SAUsrProps
 JOIN
 WHERE RELATION = "uses"
 JOIN
 SELECT "Name", SAUsrProps, "Description"
 WHERE Class = Definition
 WHERE Type = "Hyperlink"
}
}


Sub Report Sample


REPORT "Process Details"
ID 14148
{
SETTING { HEADER 1 "Business Process Details" }
SETTING { REPORTFORMAT 4 }
FIELD "Diagram Status <-- Diagram Status" { SOURCE PROPERTY "Diagram Status" LENGTH 12 TYPE CHARACTER LEGEND "Diagram Status" }
FIELD "Description <-- Description" { SOURCE PROPERTY "Description" LENGTH 4074 TYPE MEMO LEGEND "Description" }
FIELD "Flow Condition <-- Flow Condition" { SOURCE PROPERTY "Flow Condition" LENGTH 7 TYPE CHARACTER LEGEND "Flow Condition" }
FIELD "As Is or To Be <-- As Is or To Be" { SOURCE PROPERTY "As Is or To Be" LENGTH 1200 TYPE MEMO LEGEND "As Is or To Be" }
FIELD "Total Cost <-- Total Cost" { SOURCE PROPERTY "Total Cost" LENGTH 10 TYPE CHARACTER LEGEND "Total Cost" }
TABULAR 1
{
 SELECT "Name" LEGEND "Invisible", "Diagram Status <-- Diagram Status",
        "Description <-- Description", "Flow Condition <-- Flow Condition",
        "As Is or To Be <-- As Is or To Be", "Total Cost <-- Total Cost"
 WHERE Class = Diagram
 WHERE "Type Number" = 142
}
}



You can also create a new report file using the above example (say My BP Report.RPT) and include the report name in the Template used for publishing the report.


Rate this page:

(0 users)Average rating

Document information


More support for:

Rational System Architect
General Information

Software version:

11.3.1, 11.3.1.1, 11.3.1.2, 11.3.1.3, 11.4, 11.4.0.1, 11.4.0.2, 11.4.0.3, 11.4.1, 11.4.1.1, 11.4.1.2, 11.4.2

Operating system(s):

Windows

Reference #:

1442884

Modified date:

2012-12-31

Translate my page

Machine Translation

Content navigation