I have a low code app showing an interactive automation script.
In this script I like to include a button to open up a new tab in my browser going to a website.
When running the script via cube, the browser opens, but it doesn't seem to do anything when that same script is run via a Low code app.
The script uses this:
Engine.RunClientProgram("https://mysetup/monitoring/element/781/135/data/Task%20Manager");
Most likely this is blocked via low code app.
Is there an alternative?
Is there something on the roadmap to allow this?
This is blocked by the webbrowser. But you could use an IAS download button, that button will instruct the browser to open the source mentioned in its Url property. In most use cases, a resource or file will be referenced and the browser will download it, but in case of a website/webpage, it will just open it in a new tab.
So something like this might do the trick:
UIBlockDefinition link = new UIBlockDefinition();
link.Type = UIBlockType.DownloadButton;
link.ConfigOptions = new AutomationDownloadButtonOptions()
{
Url = "https://mysetup/monitoring/element/781/135/data/Task%20Manager",
StartDownloadImmediately = false,
FileNameToSave = "",
};