SPFX Pretty

Home › How to fix › Defaults

DEF006Needs you

Generator 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

  1. Replace ClientSideComponentProperties with your real settings, or "{}".
  2. Remove the Dialog.alert sample code from the extension.
BEFORE
ClientSideComponentProperties="{"testMessage":"Test message"}"
AFTER
ClientSideComponentProperties="{}"
In VS Code: right-click the finding → Explain & How to Fix, or use ▶ Fix step by step in the report.