Forum Discussion
ValeriaBrev
Jan 11, 2022Copper Contributor
Linking a specific OneNote page to a Sharepoint List
Hello, I am trying to link a OneNote page in a Sharepoint list via the Hyperlink field. So basically users would copy the link to the OneNote (shared) page in the URL field of Sharepoint. However, I...
virendrak
Dec 19, 2025Iron Contributor
Use a Multiline Text Column + JSON Formatting
Create a Multiline Text Column instead of Using Hyperlink Column
- Go to your list or library settings.
- Add a new column > choose Multiple lines of text.
- This column type supports much longer values than the Hyperlink field.
- If using a document library:
- In Advanced Settings, set “Allow unlimited length in document libraries” = Yes.
- If using a list:
- Multiline text already supports unlimited length.
Apply JSON Column Formatting
Use JSON formatting to render the text as a clickable link:
- Hover over the column header you just created.
- Click the down arrow > Column settings > Format this column.
- A panel opens on the right side.
- In the formatting panel, click Advanced mode.
- Paste this JSON code:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "a",
"style": {
"color": "#0078d4",
"font-weight": "bold"
},
"attributes": {
"target": "_blank",
"href": "=@currentField"
},
"txtContent": "Open OneNote Page"
}- Click Save.
If my post solved your issue or answered your query, please mark it as a Solution and give it a Like.