PG

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.

by Pedro Guerrero Author
Posted on Wed, 06/13/2018 - 15:57

Hello all, still no idea on how to generate reports from different folders and I've been asked again.

Thank you for your assistance

0
by Martin Schröder
Badge for 'Contributor' achievement
Posted on Wed, 06/20/2018 - 12:47

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

0
by Pedro Guerrero Author
Posted on Wed, 06/20/2018 - 23:23

Hello Martin

Thank you for your reply. I'm working with ARIS 10 and despite I have a toolbar, I have no option to select reports for the group context.

do you know if there is any other way to address this?

Again, thanks for the assistance

Regards

Pedro.

0
by Martin Schröder
Badge for 'Contributor' achievement
Posted on Thu, 06/21/2018 - 12:34

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

0
by Pedro Guerrero Author
Posted on Wed, 06/27/2018 - 20:18

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.

0
by Kay Fischbach
Posted on Thu, 06/28/2018 - 15:35

In reply to by Pedro Guerrero

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).

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks
  • Profile picture for user freddy
  • Profile picture for user mikhubb
  • Profile picture for user harryratia
  • DC
  • ВА
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock