CASE: Link to an external url

If you want to link to an external URL within a template, you can do so by using this code:

[Title](http://www.example.com)

i.e.

[Silverfin support](http://support.getsilverfin.com/)

gives

Silverfin support

Another option would be something like this:

{% linkto "https://www.silverfin.com"  %}Silverfin - structured data hub{% endlinkto %} 

Same output, but more aligned with the way we use Liquid-code

Hi Sven,

Is there any way to force open an external link in a new tab?

Thanks in advance

Hi @Gianluca,

there is no way to force it for all users, but by holding ctrl (or command for Apple users) while clicking you will open the link in a new tab.

Kind regards,

Michiel

Hi @Michiel,

Thank you for your answer. Could this be added to the features request list?
Although we try to tell our 200 colleagues to use CTRL/CMD/Scroll click to open external links in a new tab, most of them forget about it and then have problems going back to SF when having navigated on the external website.

Thank you in advance.

Kind regards,
Gianluca

We want to include links to the intranet, CRM and professional literature in a template. It is convenient for the user if the file remains open. Almost all links we have created within Silverfin open automatically in a new tab. Our users expect the same for external links. Other offices would also like to have the option of opening a new tab to an external website. Would you be willing to incorporate the option of in one of your upcoming releases, please?

Thank you, kind regards,
Martijn

Hi @MDomburg

In the meantime we have added an addition to liquid that allows you to decide whether a linkto will open in a new tab or not. You can find an example on our documentation site.

KR

Romy

Hi Romy,

Thank you for your quick reply.
The problem with linkto is that firm_id, company_id, object_type and period_id are automatically added after the link. Therefore, for an external link we have to use <a href=""></a> instead.

Using target="_blank" would open the link in a new tab, but this doesn’t work in Silverfin. Someone already requested this feature about five years ago. I think Markdown used to be more common in Silverfin code than HTML, but nowadays we’re using HTML more and more.
Could you please ask the development department if they can provide a solution? Thanks in advance.

Kind regards,
Martijn

Hi Martijn,

It’s true that some other information is automatically added to the link, however I’ve found that the websites I’m referring to still open correctly. Is that not the case for you?

How about the solution mentioned in this case? For me those always open in a new tab automatically.

[Silverfin support](http://support.getsilverfin.com/)

Hi Romy,

I have tested some external links. The link to our CRM gives problems with linkto. The links to intranet and to professional literature are OK by using linkto. It depends on the website.

Kind regards,
Martijn