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?
0 -
Here is an example of a link I created.
CONCAT('<a href="', 'https://abcde.com/browse/', `Key`, '" target="_blank">', `Key`, '</a>')
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 -
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
- 11K All Categories
- 5 Private Company Board
- 2 APAC User Group
- 12 Welcome
- 42 Domo News
- 9.9K Using Domo
- 2K Dataflows
- 2.5K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 349 Workbench
- 267 Domo Best Practices
- 11 Domo Certification
- 474 Domo Developer
- 51 Domo Everywhere
- 110 Apps
- 725 New to Domo
- 85 Dojo
- Domopalooza
- 1.1K 日本支部
- 4 道場-日本支部へようこそ
- 29 お知らせ
- 65 Kowaza
- 301 仲間に相談
- 662 ひらめき共有