New answers tagged publishing-site
Specifying FeatureDefinitionScope.Farm as the FeatureDefinitionScope scoped worked for me. I have tried both Web and Site scopes but they did not work. I have succesfully activated publishing feature after web provisioned event from a remote event receiver using csom ref:https://social.msdn.microsoft.com/Forums/en-US/d063e579-8cbe-4522-8c1e-eec83329a12b/how-...
There are two Publishing features that need to be enabled, one at the site collection level and one at the web (aka site) level. A key concept to understand here is that when you create a site collection, it has what is known as a "Root Web", which is the top site in the site collection. Because it's the top site in the site collection, it has some special ...
Style Library is located on the top level publishing web site. So you need to enable the publishing feature on the root site as well.
Top 50 recent answers are included