Skip to content
DataMiner Dojo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
      • Book your Agile Fundamentals training
      • Book your Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Automation Script to open a URL on browser

318 views10th July 2026
3
Ramesh Rajasekaran [DevOps Advocate]978 7th July 2026 0 Comments

Hello Team,

I have created an automation script, which does some background process and creates a reference id and the concatenate it at the end of the URL. I would need it to be auto opened on the users machine who has triggered this automation script via Dataminer cube.

Lets take an example I want to redirect the user to https://docs.dataminer.services/index.html on their browser after completion of the automation script.

As of now I am using a pop up to show this URL to the users. And they manually copy paste it on browser. Also not sure if the URL can be made clickable on popup.

Could you please help me to find how to achieve redirection and if it's not possible what is other alternative to make it user friendly

Thomas Ghysbrecht [SLC] [DevOps Enabler] Answered question 10th July 2026

4 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Peter Geivaerts [DevOps Advocate]340 Posted 8th July 2026 6 Comments

Does this work for you?

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Skyline.DataMiner.Automation;

/// <summary>
/// DataMiner Script Class.
/// </summary>
class Script
{
/// <summary>
/// The Script entry point.
/// </summary>
/// <param name="engine">Link with SLAutomation process.</param>
public void Run(Engine engine)
{
UIBuilder uib = new UIBuilder();
UIBlockDefinition uibd = new UIBlockDefinition();
uibd.Type = UIBlockType.Executable;
uibd.Extra = @"http://www.google.be";
uib.AppendBlock(uibd);
var result = engine.ShowUI(uib);
}
}

Ramesh Rajasekaran [DevOps Advocate] Posted new comment 9th July 2026
Ramesh Rajasekaran [DevOps Advocate] commented 8th July 2026

Yes Now I am able to redirect to the browser. But Since we are using ShowUI I got the executable screen where we enter input data on the background. I would like to hide it. I just want to show the URL UI which redirects to browser

Peter Geivaerts [DevOps Advocate] commented 8th July 2026

and if you show it as a button on your UI and start this script after pressing the button?

Ramesh Rajasekaran [DevOps Advocate] commented 8th July 2026

On Alarm console we have added a hyperlink which triggers the automation script with respective inputs.

Ramesh Rajasekaran [DevOps Advocate] commented 9th July 2026

The Automation Script is launched from an Alarm Console hyperlink. The script creates a Spark ticket and uses UIBlockType.Executable to open the returned URL. Is there a supported way to launch the URL on the Cube client without displaying the Automation execution dialog (engine.ShowUI) or using an alternative client-side API?

Thomas Ghysbrecht [SLC] [DevOps Enabler] commented 9th July 2026

Hi Ramesh, the example of Peter should work. There may be a small window that appears briefly, but this should disappear once the instruction to open the web page has been approved by the user & handled by the browser. There will be a confirmation screen in Cube for security reasons, but it is possible to check a box so it is not shown anymore in the future for that user. After approving & checking that box, the subsequent triggers of the script should Could you elaborate on what would prevent you from using this approach?

Show 1 more comments
You are viewing 1 out of 4 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2026 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin