Hi all,
I've developed a simple macro script (triggered by a model delete event) to record specific user activities to run in ARIS connect (Web Client), but it does not seem to work. The same MACRO runs perfectly in ARIS Architect (Thick Client). I am assuming that the user defined MACROs are not available within the Web Client so as an alternative, I am trying to develop a Report script to be triggered by a MACRO event. The issue with this option is that although it works for simple functions like displaying a message, it does not work when including more important functions like "getSelectedModels". Have anybody encountered this issue before. Much appreciated.
Klaus Bieg on
In Connect Designer, Macros can only be used to perform reports by events.
Only the report call will be performed within the macro.
If the macro was started on a model, ArisData.getSelectedModels() will hand over the models in Report.
Can you please check if the context defined for your report matches the context of the macro ?
If yes, I can offer to sent your macro and report to me and I'll check. (klaus.bieg@aris.com)
KR
Klaus