SPFX Pretty

Home › How to fix › App Catalog

SOL008Needs you

No screenshots on the app details page

Why it matters

A screenshot shows admins and site owners what they are adding before they deploy it.

Where

config/package-solution.json → solution.metadata.screenshotPaths (files in ./sharepoint)

How to fix

  1. Take 1-5 screenshots of the web part on a real page (PNG/JPG, around 1366x768).
  2. Save them in sharepoint/images/, e.g. sharepoint/images/screenshot1.png.
  3. List them in package-solution.json (paths relative to ./sharepoint).
  4. Rebuild and upload the .sppkg.
  5. Not needed? Right-click → Ignore This Rule.
EXAMPLE
"screenshotPaths": [
  "images/screenshot1.png",
  "images/screenshot2.png"
]
In VS Code: right-click the finding → Explain & How to Fix, or use ▶ Fix step by step in the report.