Collecting a Set of Objects, Linked Objects and some of their Properties
Description
A use case of Report DataSet Definition consists in defining the root collection as input parameter for the Report DataSet.
In this use case, the Report DataSet Definition is based on the Application root MetaClass and on the Collection Parameter "Application List" (of Collection Type: Application).
The Report DataSet displays for each Application:
• its Software Technologies used and associated Vendors.
• its Global Expenses
Note:
The Software Technology MetaClass is not directly connected to the Application MetaClass, but to an abstract MetaClass (Supporting Software Technology Building Block) of which Software Technology and Software Technology Stack are sub-types.
So that to add the Software Technology to the Definition, you need add the Software Technology as target MetaClass and define its Populating MetaAssociationEnd as Supporting Software Technology.
Creating the Report DataSet Definition
To create the Report DataSet Definition that displays the applications and their Technologies and associated Vendors:
1. Create a Collection Parameter - based Report DataSet Definition, which is based on the Application root MetaClass.
The collection parameter is pre-set or already set with the Application root MetaClass, the "Application List" Collection Parameter is automatically added with the "Application" Collection Type value.
This Collection parameter is used to list all the applications of the repository.
2. Define the data you want to display in the Report DataSet, from the Report DataSet Definition properties: Definition page:
Hover the cursor over Application Report DataSet Collection and click New
> Report DataSet Property:
• In Identification section, enter a Local Name: "Global expenses"
• In Configuration section, select "Global Expense" MetaAttribute.
• Click OK.
Hover the cursor over Application Report DataSet Collection and click New
> Report DataSet Collection:
• In Identification section, enter a Local Name: "Technologies"
• In Collection Provider section, Collection is populated by field keep "MetaAssociationEnd"
• In Populating MetaAssociationEnd select "Software Technology" Target MetaClass, with:
• Populating MetaAssociationEnd: "Supporting Software Technology".
• Click OK.
Hover the cursor over Technologies Report DataSet Collection and click New
> Report DataSet Collection:
• In Identification section, enter a Local Name: "Vendor"
• In Collection Provider section, Collection is populated by field keep "MetaAssociationEnd" with:
• Target MetaClass: "Org-Unit"
• Populating MetaAssociationEnd: "Org-Unit".
3. (If you need to change a name) Modify a name.
4. Reorganize the Report DataSet column order as follows:
5. In the Report DataSet Definition properties, select Preview and test your Report DataSet Definition.
You can use the filters available on the column headers to refine the Report DataSet display. This does not modify the Report DataSet content (only its display).
For example use the "Show non empty values only" for Technologies and Vendor columns, and ">0" for Global Expense.
You can:
• export the Report DataSet in CSV format
• generate Instant Reports from the Report DataSet