How to Create link to call a phone number?
In other words a clickable hyperlink to call from your phone
Hi @Lilly - welcome to community
you can easily create a phone link using HTML Macro (pay attention as it is enabled by default) and use something like
<a href="tel:+12 34 567 891">+12 34 567 891</a>
Or if the HTML macro is not enabled, you could write a user code to insert the same kind of link in the page, with the one parameter being the phone number.
Thank you! Except I do not write code
Can you help?
Yes, I'll get you something tomorrow.
Wouldn't it be easier enabling HTML macro than rather writing an own user macro? Just a thought...
It might be, if an admin will enable it. But it is often disabled due to security concerns. Also with a user macro, you can change the macro (style, function, etc,), and have it update all instances. With the HTML macro option, you have to manually update all instances.
Here is the macro:
## Macro title: Phone Number## Developed by: Bill Bailey, MarketCom, LLC## Date created: 2018.11.14## Version: 0.2## @param phoneNumber:title=Phone Number<a href="tel:$paramphoneNumber">$paramphoneNumber</a>
@Bill Bailey I'm with you - good point with security! Problem may be that you need admin rights for creating a user macro too.
It does, but may be easier to get an admin to add a user macro than to open something flagged as a potential security risk. ;-)
I am running Confluence v7 but this always worked also on earlier versions.
4) The forward slashes are required for this validate as a URI
It is horrible that markdown doesn't support tel: link...
In 2020, age of smartphones ???
Did this actually work for you? It was the natural thing to do for me, but when the page is published, the link is replaced by `#`.
tel://+4912345 worked for me (with slashes)
It looks like you're new here. Sign in or register to get started.