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

How to have tenant wide deployment and targeted (scoped) deployment in same project?

Open hamedy opened this issue 7 years ago • 5 comments

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

hamedy avatar Sep 10 '19 12:09 hamedy

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

msft-github-bot avatar Sep 10 '19 12:09 msft-github-bot

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

andrewconnell avatar Sep 10 '19 13:09 andrewconnell

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

KaushalKhamar avatar Sep 13 '19 06:09 KaushalKhamar

thanks for clarification :)

hamedy avatar Sep 13 '19 06:09 hamedy

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

msft-github-bot avatar Jan 23 '20 12:01 msft-github-bot