Teams / SharePoint · Community sample

SharePoint Page Indexer

An SPFx Application Customizer that automatically indexes SharePoint modern pages, extracting page content, web parts, and metadata into a centralized SharePoint list.

Application customizerTeams tabWeb partTypeScriptSPFx 1.20.0
SharePoint Page Indexer - Automatic page content indexing

The idea behind the sample

This SPFx Application Customizer automatically indexes SharePoint Site Pages when they load. It captures complete page content including lazy-loaded sections, catalogs all SPFx web parts, calculates word counts, and stores everything in a centralized PageIndex SharePoint list. The solution includes intelligent deduplication, auto-scroll functionality for complete content capture, and debug tools for manual testing.

Make it your own

Start with the author's setup instructions, explore the implementation, and adapt the pattern to your environment. Sample code stays in its original repository, together with its requirements, license and contribution history.

Read the source documentation

A closer look

Keep exploring

Keep the ideas flowing

Back to all possibilities
Microsoft 365 and Power Platform Community Contributor badge

Sharing is caring.

Share what you know.

Contribute a sample, improve the docs or help someone get started. Sample contributors can opt in to the PnP Recognition Program and share their community contributor badge.

Have something to show? Sign up for a community call demo. Fill in the form and we'll arrange a slot based on your availability.