SharePoint Asked by omega on November 4, 2020
I have a tenant thats shared with multiple regions from the same company. Lets say region A, B, C. Each one is doing their own customizations but its all on the same tenant. And we are following the best practice of making hubs and then 1 level of sites inside them (no further subsites). And some hubs will be assigned to each region.
Lets say I am developing for region A. How can I best deploy my spfx customizations that could be scoped to region A? If I do tenant wide, then it would be available to other regions which I don’t want. Though I could just code it so if its part of a site not based off of A then display a message saying its blocked. If I do that, what’s the best way to detect this? Or can I deploy to some sites?
If I don’t deploy tenant wide, then that means I have to manually add the app to the site which is time consuming. And then for updating apps, I need to remove apps and re-add them back again, per site which is really painful.
Does anyone know?
Thanks
... for updating apps, I need to remove apps and re-add them back again, per site which is really painful.
I don't think, this is the case. Every time you add a new app package version to the global App catalog, all sites will get the latest updates automatically.
I will assume you are talking about the App customizer customizations. Headers, footers, custom actions, styles, etc.
Option #1: Deploy App globally
Option #2: Require App installation per site
For both options #1 and #2, you don't need to worry about upgrading every single app instance every time you upload a new version to the App catalog. This should be handled automatically. JavaScript bundle is stored in a single place anyway, inside the App Catalog site.
Answered by Denis Molodtsov on November 4, 2020
1 Asked on February 18, 2021 by allegro-octopus
1 Asked on February 17, 2021 by sylvie
1 Asked on February 15, 2021 by ola
2 Asked on February 15, 2021 by hippyjim
1 Asked on February 15, 2021 by bobbywestside
1 Asked on February 13, 2021 by madeline
1 Asked on February 12, 2021 by zacc
0 Asked on February 11, 2021 by danj
1 Asked on February 11, 2021 by wrightyatwork
1 Asked on February 10, 2021 by vishwanath-mishra
1 Asked on February 8, 2021
2 Asked on February 6, 2021 by mikey
1 Asked on February 4, 2021 by mee
1 Asked on February 4, 2021 by mirjam-kaal
1 Asked on February 3, 2021 by msiri28
1 Asked on February 2, 2021
1 Asked on January 29, 2021 by gaelle
Get help from others!
Recent Questions
Recent Answers
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP