Home › How to fix › Defaults
DEF006Needs youGenerator sample properties are still registered
Why it matters
The Application Customizer generator registers testMessage "Test message" - users get an alert on every page.
Where
sharepoint/assets/elements.xml and ClientSideInstance.xml → ClientSideComponentProperties
How to fix
- Replace ClientSideComponentProperties with your real settings, or "{}".
- Remove the Dialog.alert sample code from the extension.
BEFORE
ClientSideComponentProperties="{"testMessage":"Test message"}"AFTER
ClientSideComponentProperties="{}"Microsoft articles
- Make your web part configurable (property pane)learn.microsoft.com
- Simplify adding web parts with preconfigured entries (title, description, icon, group)learn.microsoft.com
In VS Code: right-click the finding → Explain & How to Fix, or use ▶ Fix step by step in the report.