Hi everyone,
I’m generating a deep link to a Low-Code App from a DataMiner Automation script. The link works when I hard-code the Remote Access base URL, e.g. https://ticketinghibdev-skyline.on.dataminer.services.
What I’m missing is a way to obtain that "ticketinghibdev-skyline.on.dataminer.services” host/base URL dynamically from within the Automation script (so I don’t have to hard-code DEV/TEST/PROD URLs).
- Is there a supported DataMiner Automation API to retrieve the dataminer.services Remote Access base URL (or host) for the current DMS?
- If not, what’s the recommended/best-practice way to provide this value to the script (e.g. script parameter, config file in a DataMiner folder, etc.)?
Thanks in advance!
The purpose is not for the Automation script to connect to another DataMiner System.
The script sends email notifications, and those emails need to contain a direct link to the Ticketing Low-Code App running on the current system. To construct that URL, I need to know the Remote Access base URL (e.g. https://<system>.on.dataminer.services) of the DMS where the script is running.
That's why I'm looking for a supported way to retrieve the dataminer.services host dynamically from within the Automation script.
Thanks!
Not an answer, but for systems not connected to dataminer.services only the local URL to the LCA will be available. Could this be made a configuration item in email settings for the app…
If you are triggering the script from LCA, you can configure an input parameter in AS and link value as follows:
– Data: Url
– Type: DMAIP/Texts
– Property: Value
Hi Harun,
Small question, is the purpose of the script to connect remotely to another DataMiner System? If the scope of the automation script is the cluster where it is running, I believe you don't need the URL.