How to Create link to call a phone number?
In other words a clickable hyperlink to call from your phone
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>
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 `#`.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
tel://+4912345 worked for me (with slashes)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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. ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Bailey I'm with you - good point with security! Problem may be that you need admin rights for creating a user macro too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wouldn't it be easier enabling HTML macro than rather writing an own user macro? Just a thought...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I'll get you something tomorrow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you! Except I do not write code :)
Can you help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.