Hello Community,
I am pleased to write today the next article for the Scripting Tutorial. In this article we will discuss the main decision to be taken when you start with report scripting.
In fact there are four main options:
Option 1: Create Report with the Report Wizard.
Please see the online help, group "Create scripts", "Use case", "Use Case: How to work with report script template". Additionally please also review the file "evaluation_s.pdf", available from the ARIS installation disk, subfolder "Docs" (sections 5 Reports and 8 Scripts).
Option 2: Create Report with the JavaScript.
We are going to explain the main steps right in the next articles in this serie.
Option 3: Create Report with the Report Wizard, but needs to be enhanced.
This request is very common, you like to get a certain option, a custom dialog window etc. In this case you may start with the Wizard, but then you complete it with Java Script.
Option 4: Can be copied from an existing one.
This way would probably save you a lot of time. If you have a good example, already quite matching, you can use that and change it according to the requirements. The report can be created with the Wizard or with JavaScript.
We are going to explain the needed activities in more detail for the options 2, 3 and 4 right here in this forum.
Stay tuned!
Best Regards, Volker
Note: This article describe how to develop a report in ARIS. See this post for links to similar articles.
Thanks Volker,
I'm a fan of the third method, begining with the editor Wysiwig and then customise with the code.
Usually I save the last version with the editor and then I tag every modification in the code.
By this way when I have to do an evolution on the report like creating new querries I start again with the editor and then I copy past my old code modifications and add new ones if it's needed.
I'm intersted in knowing how to create dialog windows, maybe you'll write about it in your next post.
Great job !
Pierre
Hi Pierre,
thanks a lot for your kind feedback. Your approach sounds quite appropriate, as creating and enhancing with the Wizard is always better than right in the code.
Regarding the Dialogs: We already have planned to include a dialog tutorial (I am already collecting variables in my Part 4 to move these later on into a dialog). If you can not wait until end of next week, please check out my more complete report called Models and Objects (Matrix), now with Parameters. Although I am using here the "old" dialog programming style, you may be able to reuse it already and tailor it for your needs.
Hope to 'read' from you again soon!
Best Regards
Volker
Hi Volker!
I would like to start by thanking you for the wonderful articles that you have put online. They are really helpful. Thanks!
Furthermore, I was wondering if there an official Aris Document listing all the javascript functions and their usage, and where I can find it? Have searched through the entire installation but didn't really find anything of the sort and the help section hardly has anything.
Anyway, thanks for your help and keep up the great work!
Regards,
Karthik
Hello Karthik!
Please try ARIS Script (Help/ARIS Script).
ARIS Script is based on the JavaScript programming language. ARIS Script has been extended to include the ARIS methods for macros and transformations as well as the ARIS methods for reports and semanticchecks.
Cheers
Roman