Hi Dojo,
we are working on a solution to save comments in a memory file. This part works good: in a Visio the user can type text into a shape to set a session variable, which then is saved into a memory file (DataMiner own; Automation -> memory file) by a custom automation script. Reading from the file is also possible: when a user starts an automation script to read from the memory file, the value (comment) then is presented nicely using the same session variable.
The issue here is that we try to find a way to have the new/updated comment to be presented for all users connected to the system that currently have opened the corresponding visual. We haven't figured out yet how to achieve this... so far, every user manually has to start the read script, so that the session variable is updated with the comment from the memory file.
Any ideas how to smoothen the user experience here? 🙂
Thanks a lot!
Hi everyone,
I've been considering the solution that Joey Vanhalst described in this question:
Best way to update a visual overview by another user? - DataMiner Dojo
This solution seems quite suitable for us. However, I'm unable to implement the engine.GetDms()
in my Automation scripts. In the linked automation course video, Jarno Lernou explains exactly how to add a Class Library. Unfortunately, in my DIS, I cannot find the options he uses.
I think a combination of both solutions could resolve our issue.
Hi Christian, Since the creation of the video, there have been some changes in the way how we make use of the extensions within Automation. I’ll make sure to update the Course with a disclaimer.
Please have a look to the following page: https://docs.dataminer.services/develop/devguide/ClassLibrary/ClassLibraryIntroduction.html