From the contributor
How to use this sample
Summary
This sample shows how to create SharePoint page bookmarks using list items with custom JSON formatting, inspired by João Ferreira's post.
Features:
- Navigate to specific sections of a SharePoint page using heading styles (H2, H3,...) to generate anchor links
- Open external links in a new tab (e.g https://google.com)
- Group and filter content by category


View requirements
| Column Name | Required | Type |
|---|---|---|
| Title | Yes | Text |
| Category | Yes | Choice |
| Link | Yes | Hyperlink |
[!NOTE] It is necessary to group the view by the
Categorycolumn.
Sample
| Solution | Author(s) |
|---|---|
| bookmarks.json | Watana |
Version history
| Version | Date | Comments |
|---|---|---|
| 1.0 | June 22, 2025 | 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.