I have not yet had the pleasure of creating any custom reports in ARIS. I have been asked to create a report based on the following requirements and would really welcome some simple advice on how to complete this:
The report outputs need to include:- Report structured so that it groups the report on the group/folder hierarchy (even if there is nothing in the group)
- The hierarchy of the report will continue to be structured as per the group hierachy populating the models in their respective groups
-
The information for each model is as below {the ones with stars in brackets already can be found in the report RWE npower selected group model information v2.0}
- Model Name (*)
- Model Pathname (*)
- Creator (*)
- Owner (*)
- Last Change (*)
- Last User (*)
- Version (*)
- GUID (*)
- Date Created
- Status
- Model type
Look forward to hearing from you - Russell.
Hi Russell,
can you please send me a screenshot or a more detailed description showing how exactly you want this structure to look like? As far as the information details without stars in brackets is concerned you can find the corresponding details below:
You get the "model type" with the following method:
var oSelModel = ArisData.getSelectedModels() //Returns the selected models //........ oSelModel[i].Type() //Returns the model type name
You can get the information about "date created" and "status" in this way:
var creattime = oSelModel.Attribute(Constants.AT_CREAT_TIME_STMP,Language).getValue(); var status = oSelModel.Attribute(Constants.AT_STATE_1,Language).getValue();
I hope this will help you.
Regards
Eva
Morning Eva
My thanks to you for responding to my enquiry. I have no further information for the report structure I am afraid so there is a bit of free licence with this!
The 'code' you have supplied, do I just copy and paste into the static area/For all: Selected Models fields?
Sorry but I have little experience in creating a report..doh!
Hi Russell,
no problem, that's why we are a community;-)!
To gain more experience in creating reports check out our ARIS scripting tutorials :-).
Regards
Eva