Hi,
I imagine this is not possible however worth asking.
We have a non interactive script which is triggered from a button in a view.
This script does quite a few bits and pieces for configuring devices.
There are occasions where, for example, a device (Element, Resource etc etc) are not available and therefore are null values.
I am able to try / catch / perform checks etc and handle the errors no problem, however there are instances where a user may want to proceed but acknowledge that some items missing and other instances where they may wish to cancel.
Is there a way to surface an OK / Cancel dialog box to a user when calling a script in this way? We do not want the user to have to interact with the script unless there is a condition such as mentioned so would be silent unless we specifically wanted to create and show the dialog box
Many thanks
Oliver
Hi Oliver,
Have a look at this method: Method FindInteractiveClient | DataMiner Docs
It allows a non-interactive script to request attention of an active Cube session. The Cube session will receive a popup to attach to the script, after which the script can continue in an interactive way, asking questions or confirmation.
Hope this helps
Perfect, exactly what I needed, many thanks!