Hi,
We are working on compiling a list of all the ARIS scripts that are available in our system, including data such as script name, description, context, output formats, etc.
Is it possible to access this data and generate a report on this through scripts instead of looking at the properties of each script manually? A script for scripts so to speak? I can't find any obvious methods for this looking through the Help, but hopefully something like this might be hidden in there somewhere?
UPDATE
I stumbled upon this method in the help: Context.getScriptInfo ( int p_nScriptInfoId )
Is this something that could be used for this purpose, and if so how? Anyone know?
Thanks.
Mattias
Hi Amol,
Thanks. As I understand it, however, this only works for the script that is currently being run, correct? We need to loop through all the scripts we have (without running them, just looking at their properties) to get information about them. Do you know if this is possible to do?
Regards,
Mattias
Hi Mattias,
Upto my knowledge, there is not any straight way to get information for other scripts,
In this case you will have to read the files (.loc, .info) located at
"<INSTALL PATH>\ARIS7.2\server\templates\scriptservice\Report"
through your ARIS script.
Have a look at those files, you would get what you need there.
Regards,
Amol Patil
Mattias,
If you are comfortable with vbscript or possibly .NET, you can parse the .info and .loc files for information.
I am currently working on a version control application in .NET that parses these files and displays them in a tree structure. The application will also assign version information to custom built scripts.
Cheers,
Rick Beddoe
Cargill Aris Technical Analyst
Minneapolis, MN, USA