Forum Discussion
Jen_C2405
Nov 12, 2021Copper Contributor
Creating 'clickable' Phone numbers in Lists
I have created an MS list that contains a phone # column that I would like to be a 'clickable' link that would prompt to dial the number. I have edited the column in SPO and added the following...
maurice_wijman
Mar 04, 2024Copper Contributor
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "a",
"txtContent": "@currentField",
"attributes": {
"href": "='tel:' + @currentField"
}
}
Farhanb435
Apr 27, 2024Copper Contributor
Thank you for this solution. However, I would am trying to add phone numbers with extensions (optional) as well so wondering if there is any way around to this.
I am not a tech guy/coder so couldn't come up with my version of code testing before asking you.
Thank you so much for your help