sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Newly added web part not showing up in the web part picker after solution re-deployment

Open vishalshitole opened this issue 1 year ago • 0 comments

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

  • [ ] 💥 Internet Explorer
  • [X] 💥 Microsoft Edge
  • [X] 💥 Google Chrome
  • [ ] 💥 FireFox
  • [ ] 💥 Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version: Latest
  • SPFx version: 1.18.2
  • Node.js version: 18.19.0

Issue description

We have an SPFx solution (1.14.3.0) that is deployed using the tenant app catalog (not added by default to all sites though). We recently added a new web part in this existing solution, and tried to redeploy the updated version in tenant app catalog. While deploying the new version, we accidently added the duplicate copy of the .sppkg, which caused an error as shown in the below screenshot.

image

However, we immediately deleted the duplicate package, and redeployed the package with latest version (1.16.0.1). But, it does not appear to be syncing to the sites where the app is previously installed. The newly added web part does not appear in the web part picker on site page.

Is this happening because of the above error? How do we resolve this issue?

Note: This solution is deployed to hundreds of sites with web parts being used on hundreds of site pages.

@AJIXuMuK I saw a similar issue with your comment. Any suggestions for this one would be highly appreciated.

Thanks.

vishalshitole avatar Jun 21 '24 12:06 vishalshitole