Volker Eckardt's picture

Hello Community,

you may have asked yourself already why it is necessary to work with JavaScript, if we could achieve the same with the Wizard. To give an answer, I just tried it out and it looks quite good. It was my wish to print all information as we have it in the Part 2 - Object Attribute Listing.

Please see the following result:

We will get also the same data with output type "Excel", splitted into 3 different sheets, whereas in my example the first two are empty:

What is the main difference between the JavaScript report and this Wizard generated?

With the Wizard I can create a nice layout, define it on the screen and don't care individual positions and ARIS JavaScript functions. Although I miss the ID's and API values, the main information is there.

The main point that I can not solve is the dynamic list of "all maintained attributes". I need to select all possible attributes manually, and in case an attribute is maintained it will be printed.

What I can not achive at all is the list of "not maintained attributes". I just don't know if this is possible with the Wizard.

Report Definition

Here is the report definition as I see it right now. As usual I started with the "selected groups", added a subgroup for the models and another for the object occurences with the attributes:

Please feel free and create your own Wizard report and try to get the same result. Mainly I followed the steps from the evaluation user guide "evaluation_s.pdf", section "8.1.28 - Use Case: How to work with report script templates". If requested, I would be pleased to describe the individual steps in more detail.

Download

Please download the report file from here

How to Start?

After creation (or installation), select a group in your database, right click, then Evaluate > Start Report ...

Open Point:

Does someone know how we can add the attribute group automatically to the attributes? This value seems not to be available in the Wizard, but perhaps in JavaScript?

Next Article

The next article will further enhance the report and add Excel as output format (see Tutorial Part 4).

Related Articles

Best Regards

Volker

Tags: ARIS javascript Report script tutorial