How bvnetwork/inspectinindex works
Inspect In Index is an Optimizely CMS view for inspecting a selected content item’s raw Optimizely Search & Navigation index document and indexing, reindexing, or deleting it. An authorized editor opens the view; its client retrieves the document through the configured REST store, then fetches and displays the returned index path. The store loads CMS content and performs index mutations. The README documents role-based access and policy customization; the excerpts show policy setup and view-menu authorization. Other Optimizely wiring is described only where supported by the README or sampled source.
Main entry points: InspectInIndexView.js Inspect View · InspectInIndexStore.cs REST Store · InspectInIndexViewConfiguration.cs View Configuration · ServiceCollectionExtensions.cs Service Registration
Components 10
CMS View
- Inspect View
src/ClientResources/Scripts/InspectInIndexView.js - Store Initializer
src/ClientResources/Scripts/InspectInIndexInitializer.js
REST And Index
- REST Store
src/InspectInIndexStore.cs - CMS Content Services
- Find Index
Registration And Access
- View Configuration
src/InspectInIndexViewConfiguration.cs - Service Registration
src/ServiceCollectionExtensions.cs - Authorization Policy
src/Constants.cs - Authorization Service
Other components
- CMS Editor
Connections 13
- CMS Editor → View Configuration: opens view
README.md - View Configuration → Authorization Service: checks access
src/InspectInIndexViewConfiguration.cs - View Configuration → Authorization Policy: uses policy name
src/InspectInIndexViewConfiguration.cs - CMS Editor → Inspect View: uses controls
README.md - Store Initializer → REST Store: registers endpoint
src/ClientResources/Scripts/InspectInIndexInitializer.js - Inspect View → Store Initializer: resolves registered store
src/ClientResources/Scripts/InspectInIndexView.js - Inspect View → REST Store: requests content path
src/ClientResources/Scripts/InspectInIndexView.js - Inspect View → Find Index: fetches document
src/ClientResources/Scripts/InspectInIndexView.js - REST Store → CMS Content Services: loads content
src/InspectInIndexStore.cs - REST Store → Find Index: indexes or deletes
src/InspectInIndexStore.cs - Service Registration → Authorization Policy: configures policy
src/ServiceCollectionExtensions.cs - Service Registration → Authorization Service: registers authorization
src/ServiceCollectionExtensions.cs - CMS Editor → Service Registration: configures installation
README.md