Hello! This is my first post in the ARIS forums.

I am currently exploring ARIS script for reports. I have a request to consolidate several reports into one report. In my OOP experience, I would accomplish something like this by instantiating each report 'class' and then access its properties directly. Ex.:

var oReport_A = <reportObject_A>

var oReport_B = <reportObject_B>

var oReport_C = <reportObject_C>

where <reportObject_x> represents the individual report 'class' for each report I need to work with.

In Aris, I have tried this code:

var Report = Context.getComponent("Report");

var shadowCheck = Report.createExecInfo("Model_Quality/1d6f1570-f61c-11de-04b2-0050569749e7", ArisData.getSelectedModels(), Context.getSelectedLanguage());

But this returns an 'ExecInfo' object. I would like to access a 'Report' object then run the method inside it.

I realize I can use Imported files... to import the report as a reference, but all of the reports I want to import have a common method and I want to call that method exclusive to each report.

Thanks for your help!

Regards,

Rick Beddoe

 or register to reply.

Notify Moderator