Sp-dev-docs: How to have tenant wide deployment and targeted (scoped) deployment in same project?

Created on 10 Sep 2019  路  5Comments  路  Source: SharePoint/sp-dev-docs

Category

  • [x] Question
  • [ ] Typo
  • [ ] Bug
  • [ ] Additional article idea

I've followed this guide for deployment: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/serving-your-extension-from-sharepoint

wondering if it's possible to combine tenant wide deployment for some webparts/extensions and scoped deployment to only certain sites/lists for other webparts/extensions in the same yo generated project. If so, how is it done.

Thanks in advance,
Hamed

spfx-extensions spfx-general answered by-design question

All 5 comments

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

Not possible... you'd need to have separate packages (*.sppkg), one for the stuff that goes everywhere, then one for each targeted site collection.

@hamedy You need to create a separate solution for both purposes.

thanks for clarification :)

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jonthenerd picture jonthenerd  路  3Comments

byrongits picture byrongits  路  3Comments

christianbueschi picture christianbueschi  路  3Comments

SteIvanov picture SteIvanov  路  3Comments

ken-harris picture ken-harris  路  3Comments