PnP-Tools icon indicating copy to clipboard operation
PnP-Tools copied to clipboard

Can we apply this at a subsite level

Open dileep-j opened this issue 6 years ago • 2 comments

When the enable-responsiveui PS is run, the scripts are loaded to the style library and all sites and subsites are updated. Is it possible to restrict the subsites in which it gets affected? In case some of them have any issues with the JS and css override?

dileep-j avatar May 24 '18 21:05 dileep-j

Hi @dileep-j,

Currently, the Custom Action had a Site Scope, that means all webs and sub webs are impacted by this custom action.

If you want to change this behavior, you can't use the script provided by PnP-Tools or PnP-Sites-Core, you have to create your own script of deployment with a Web scope. If you do this, you have to keep in mind that for each existing and new sub webs you have to run your script to enable this custom action.

By the way, create a script to create a custom action with a Web scope is easy.

Hoping to have answered your questions

Laul0 avatar May 25 '18 07:05 Laul0

@VesaJuvonen could you set Responsive Label plz ?

Laul0 avatar Jul 07 '18 17:07 Laul0