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
      • 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
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Visio: Open two URLs in a single click

Solved121 views2 days ago
1
Yahya Mesmoudi [DevOps Advocate]315 5 days ago 0 Comments

Hi Dojo,

I would like to know if it’s possible to have a solution where a single clickable shape can open two (or more) different links at once. I’ve tried using a URL data shape, but it seems that only supports one link. Would this be achievable with an Execute action, or is there another way to redirect and open multiple URLs from one click?

Thanks in advance!

Yahya Mesmoudi [DevOps Advocate] Selected answer as best 2 days ago

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Jarno Lernou [SLC] [DevOps Enabler]5.15K Posted 3 days ago 1 Comment

Hi Yahya,

Natively we do not support providing two links to the Link Shape Data. After all, some browser are not always allowing to do this as far as I remember. Then again, the suggestion of Steve might work because this would be seen as one user action. Tried myself to find a solution and it works. You will have to make a custom HTML file and place this under Webpages (e.g. "C:\Skyline DataMiner\Webpages\myPage").

In your Visio shape you can then do something like this: https://<DMAIP>/myPage?urls=https://www.npmjs.com/,https://www.google.com

html page:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Redirect</title>
<script>
function getUrlsFromQuery() {
const params = new URLSearchParams(window.location.search);
const urlsParam = params.get("urls");
if (!urlsParam) return [];
return urlsParam.split(",").map(u => u.trim()).filter(u => u.length > 0);
}

function openAndClose() {
const urls = getUrlsFromQuery();
urls.forEach(url => {
window.open(url, "_blank");
});
// Close this helper page (may require user permission depending on browser)
window.close();
}

window.onload = openAndClose;
</script>
</head>
<body>
</body>
</html>

Yahya Mesmoudi [DevOps Advocate] Posted new comment 2 days ago
Yahya Mesmoudi [DevOps Advocate] commented 2 days ago

Thanks Jarno & Steve for your response, it worked on my end as well.

2
Steve Purcell [SLC] [DevOps Advocate]1.94K Posted 3 days ago 0 Comments

Hi YahYa,

I do not believe we can directly support what you are looking for.  This Dojo Questions explains more:  LCA : Web component - Custom HTML and JavaScript - DataMiner Dojo

If you are able to follow this Custom HTML approach and create a custom web page, the following JacaScript HTML should work for you:

<!DOCTYPE html> <html> <head> <title>Open Multiple Links</title> <script> function openMultipleLinks() { window.open('https://www.google.com', '_blank'); window.open('https://www.youtube.com', '_blank'); window.open('https://www.wikipedia.org', '_blank'); } </script> </head> <body> <button onclick="openMultipleLinks()">Open Multiple Websites</button> </body> </html>

Steve Purcell [SLC] [DevOps Advocate] Answered question 3 days ago
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