Hello everyone
I've been asked how to generate reports for multiple elements so upon research I came across the following document:ARIS Connect Designer User Manual, chapter 3.1.2.8.7
The thing is that the customer is currently asking how to generate reports for multiple elements from different folders, is there any way to approach that?
I attempted doing it without results so I came here to ask
As usual, thanks a lot for your assistance
Have a nice day
Pedro.
Hola Pedro,
if I understand your customer's need correctly it is about how to execute a report on a database group path (folder) with Connect Designer.
In Aris 9.8.7 it is not explained, but possible if you navigate to the Repository View, open a database and a group path
(browser should show an URL like this: http:// <servername>/#default/repository/a.group.<DB-Name>.<GUID>.-1 )
You get a toolbar in the upper right to select reports for the group context if available in your installation.
Regards, Martin
Hello Pedro,
you could check the image in Rune's answer, I think it is of ARIS 10
Did you use Connect Designer, not a Connect Viewer license? Please see further down in the same thread.
You could check with Aris Architect, if the standard reports on your server have set this flag "In ARIS Connect" in the properties of the report. (explanation here)
The standard report "Output Models and Objects of the groups" should work in this context.
Regards, Martin
Hello Martin
After reviewing your post, I will explain a little further.
- I read Rune's answer and I'm actually able to do what he's showing in the picture.
- I'm indeed using Connect Designer license.
- What I really wish to do is picking up models from different folders and get a reports including them. For example, I want a report where I can pick models from the following folders but I don't know whether it is feasible or not.
If you need more details, feel free to reply
Thank you for reading
Regards
Pedro.
I personally do not know a way with which this is possible using standard ARIS Connect functionality (we're using ARIS 10.0.3, so not the newest release, but I didn't read of any such new functions in ARIS 10.0.4).
You can however, if you are somewhat knowledgeable about how ARIS Reports are written, make the report first open a dialog that allows the user to pick more groups, than just the group the report was started on.
Example (Report properties: tick opens dialogs, available for users, available in ARIS Connect; context: executed only on groups; output format: only txt):
var nLocale = Context.getSelectedLanguage(); //Get the ID of the selected language var p_output = Context.createOutputObject(); // Create an output object var p_selectedGroups = ArisData.getSelectedGroups(); //Get the selected Group(s). You can only select one group in Connect, but the method will return an array anyways. var activeDB = ArisData.getActiveDatabase(); //an object for the database we're currently using var result = Dialogs.BrowseArisItems("Pick Group", "Pick a group", activeDB.ServerName(), activeDB.Name(nLocale),Constants.CID_GROUP); //Open a fancy dialog that lets the user pick groups. Hold Ctrl + left click to pick multiple groups. Returns a single string containing ObjectIDs, seperated by ; result = result.split(";"); //Transforms the single string of ObjectIDs into an array of ObjectIDs for each(var selOID in result){ //iterate through all found ObjectIDs var foundGroup = ArisData.getActiveDatabase().FindOID(selOID); //Use the find method to find the actual object representing the selected group if(foundGroup.KindNum() == Constants.CID_GROUP){ //if it's actually a group we found p_selectedGroups.push(foundGroup); //add the group to the list of selectedGroups } } p_selectedGroups = ArisData.Unique(p_selectedGroups); //(remove any duplicates (maybe the user selected the group in the dialog, on which this report is already executed) for each (var selGroup in p_selectedGroups){ //Iterate through all selected Groups for each(var selModel in selGroup.ModelList()){ //Iterate through the contained models p_output.OutputTxt(selModel.Name(nLocale) + "\n"); //Write the name of the model into the report } } p_output.WriteReport(); //Transfer that report file wherever needed.
Of course instead of just writing the Model-Names into the file, you can do whatever you want with the models (or the groups).