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
    • Empower Replay: Limited Edition
    • 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
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
  • Downloads
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • >> Go to dataminer.services

Hyperlink in Interactive Automation Script

Solved1.57K views20th October 2021interactive automation script
4
Jochen Dewachter [SLC] [DevOps Advocate]2.16K 20th October 2021 0 Comments

Is it possible in an interactive automation script to make a hyperlink or button to a PDF file (online in AWS S3 cloud)?
E.g. when pressing the button a browser is opened and downloads/visualizes the file?

Jochen Dewachter [SLC] [DevOps Advocate] Selected answer as best 20th October 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Matthias Declerck [SLC] [DevOps Advocate]2.77K Posted 20th October 2021 4 Comments

Hi,

I assume you can work with Executable action in an IAS.
Example of a C# script which opens a PDF when executed:

using System;
using System.IO;
using Skyline.DataMiner.Automation;

public class Script
{
public static void Run(Engine engine)
{
UIBuilder uib = new UIBuilder();
uib.AppendBlock(new UIBlockDefinition
{
Type = UIBlockType.Executable,
Extra = @"http://dcpdma.skyline.be/Documents/DMA_COMMON_DOCUMENTS/test1/TEST_DOC.pdf",
});
var res = engine.ShowUI(uib);
}
}

This example should lead you to the right direction of what you want.
Note: the file must be public accessible from the system.

Mieke Dryepondt [SLC] [DevOps Advocate] Posted new comment 17th July 2023
Jochen Dewachter [SLC] [DevOps Advocate] commented 20th October 2021

Working like a charm! Thanks!

Gellynck Jens [SLC] commented 20th October 2021

Are there any restrictions on what you can put in the Extra property of the “Executable”? For example, can this be an .exe or .js file?

Matthias Declerck [SLC] [DevOps Advocate] commented 21st October 2021

The Extra property is a string and is used multiple ways on different action types.
Restrictions for the availability of the file is made by system (admin).
Example: Shared directory

Mieke Dryepondt [SLC] [DevOps Advocate] commented 17th July 2023

Matthias, I’m trying this to open up a website in my browser, but nothing is happening.
I’ve filled up Extra = the URL I want to open e.g. “https://skyline.be/

You are viewing 1 out of 1 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

© 2025 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