HTML link to external software
Hello,
I'm attempting to create a link on a table that will open up external software based on an invoice number but when I click the link that is generated, nothing happens. The beastmod below works if I replace the "officelink" with "mailto" which opens up the mail app but it will not open officelink. Is there something I'm missing or is this functionality not available in domo? I'm not super familiar with HTML.
CONCAT('<div><a href="officelink://4d/invoices/:',`originvoiceid`,'">', `originvoiceid`,'</a></div>')
This should create "officelink://4d/invoices/:##########" which works fine if I just put it in as a url on my web browser.
Thanks!
Best Answer
-
It appears that Domo only supports the http or https protocol when attempting to make dynamic links. Likely for security reasons but that's a guess. When it generates the page it completely removes any link information and you're left with a stand alone anchor tag with no href property if it's not one of those two protocols. Is is possible there's an actual HTTP web page you could direct it to which would then redirect to the different protocol?
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Answers
-
@TylerMarshall what type of card are you using this in?
**If this answer solved your problem be sure to like it and accept it as a solution!
0 -
Here is an example of a link I created.
CONCAT('<a href="', 'https://abcde.com/browse/', `Key`, '" target="_blank">', `Key`, '</a>')
**If this answer solved your problem be sure to like it and accept it as a solution!
0 -
I'm using an HTML Table. I can create links to websites fine. The issue is creating a link that will open the invoice number in a seperate program. Even if I put in a link directly (not using CONCAT) using this for example:
'<a href="officelink://4d/invoices/:22349529">22349529</a>'
The link is created fine but when I click on it in domo, nothing happens. If I replace "officelink" with "mailto" like I'm creating an email link, it creates an email to "//4d/invoices/:22349529" like it should which tells me my html code is fine. This link works fine and similar links are used on other internal web based reporting (not Domo based).0 -
It appears that Domo only supports the http or https protocol when attempting to make dynamic links. Likely for security reasons but that's a guess. When it generates the page it completely removes any link information and you're left with a stand alone anchor tag with no href property if it's not one of those two protocols. Is is possible there's an actual HTTP web page you could direct it to which would then redirect to the different protocol?
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Hey Grant!
That makes a lot of sense. I'll explore the possibilities of an HTML redirect but obviously that'll be far from ideal and require a bit more work. Thanks for the info!0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive