Back to column formats
Column formattingSharePoint Online

Display URLs in Hyperlink Column

This sample demonstrates displaying a URL in a hyperlink column.

Display URLs in Hyperlink Column formatting preview
Sample preview · View original image

Copy. Apply. Make it yours.

Get this format

2 definitions

Review the requirements below, then paste this JSON into the matching formatting panel. Show me where.

Use your list's internal column names and replace any tenant-specific URLs or flow IDs. Formatting is presentation, not a way to secure data.

From the contributor

How to use this sample

Summary

This sample demonstrates displaying a URL in a hyperlink column. By showing the URL, users can preview the linked site or page before clicking on the link. Additionally, making the URL visible allows users to quickly identify the link’s destination during maintenance, making it easier to modify or update.

screenshot of the sample

View requirements

This format can be applied to a Hyperlink column.

Sample

Solution Author(s)
hyperlink-display-url.json Watana & Tetsuya Kawahara
hyperlink-display-url-format-picture.json Watana & Tetsuya Kawahara

Version history

Version Date Comments
1.0 September 16, 2024 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.