## Overview

The Script Placeholders widget shows the assignments of the uploaded template in a table. It analyzes Low-Code scripts used for Office report generation and displays all placeholder definitions found within. The widget parses scripts to identify `report.put()` and `slide.put()` calls, showing the placeholder name, line number, and validation status against the Office template. This enables developers to ensure consistency between their scripts and templates before generating reports.

## Use Cases

- **Report Development**: View all placeholders defined in a report script with their exact line numbers for easy navigation and debugging
- **Template-Script Validation**: Identify mismatches between script placeholder definitions and actual template placeholders (PowerPoint shapes, Word bookmarks, Excel cells)
- **Dynamic Column Tracking**: See which placeholders are used as dynamically-added table columns in Excel reports
- **Script Error Detection**: Get immediate feedback when scripts contain parsing errors or syntax issues
- **Quality Assurance**: Use as live documentation of what data a report configuration expects, helping QA teams verify completeness

## Design Considerations

This widget is designed exclusively for Report Configuration pages and works in tandem with the Template Placeholders widget. Place both widgets side-by-side to enable cross-validation between script definitions and template placeholders. The widget automatically reads the script attribute from the embedding page and receives template data from its companion widget, requiring no manual configuration.

The widget requires the Office Reports plugin to be installed and should only be used on pages of type `cf.cplace.officeReports.configuration`.

## Related Widgets

- `cf.cplace.officeReports.templatePlaceholders` - Displays placeholders found in the Office template; works as a companion to show the template side of validation
- `cf.cplace.officeReports.headlineForReports` - Shows visual indicator of report type (PowerPoint, Word, Excel) in the same layout
