« Back to Frequently Asked Questions

Cockpit creation for the dashboard

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Cockpit creation for the dashboard
dashboard cockpit
Answer
6/1/16 7:32 AM
Goodmorning,

I want to implement a personalized dashboard for our adooxx project. I have downloaded the plugin but I'm not able to create the cockpit file in order to transform it in .jason

Thanks a lot.

RE: Cockpit creation for the dashboard
Answer
6/3/16 9:43 AM as a reply to Andrea Rapacci.
The 'ADOxx Dashboard' building block (Link) is implemented on the 'Cause and Effect Model' model type  for defining strategic and operational goals and their performance indicators. This means if you change the modelling language of this modeltype than you have also to change the XSL stylesheet 'adoxml2cockpit.xsl'. You can perform this transformation with Adoscript (see below code) through a menu item as described in the extend section of the 'ADOxx Dashboard' building block documentation (Link).
If you want to implement this scenario to your library please follow the setps below:

1) Adopt the modeling language of the "Cause and Effect Model" model type into your application library or use the 'Cause and Effect Model Library'. 


              Metamodel of "Cause and Effect Model" model type


2) Import ADOXML2COCKPIT.asc and adoxml2cockpit.xsl files into your library (See Video tutorial)
3) Copy the following Adoscript code into the library attributes 'Add ons'

1######################################################
2############# Generate COCKPITxml ####################
3######################################################
4ITEM "Generate COCKPITxml" importexport:"Documentation"
5EXECUTE file:"db:\\ADOXML2COCKPIT.asc"

For a better understanding how to realize this scenario please look also into the attached example library.
Please NOTE that, if you change the meta model you have to adjust also the adoxml2cockpit.xsl
Attachments: ADOXML2COCKPIT.asc (2.3k), Cause and Effect Model Library.abl (97.0k), adoxml2cockpit.xsl (17.5k)

RE: Cockpit creation for the dashboard
Answer
6/3/16 1:18 PM as a reply to Mehmet Albayrak.
Hi,
our problem is that we cannot generate the cockpit xml file. We are arrived to the script 
ITEM "Generate COCKPITxml" importexport:"Documentation"
EXECUTE file:"db:\\ADOXML2COCKPIT.asc"

Should we have now a cockpit.xml file? we cannot find it.

thank you very much