1

Is there any way to create custom features that can be deployed and activated/deactivated at the site level?

From re-searching it I don't think it is possible, but thought I should ask in here just in case I'm missing something.

Edit - Some more info: An example might be a custom ribbon element that would only appear in the ribbon if the feature is enabled. In 2010 we would use site features activation as a way of toggling on/off a piece of customization. In 2010 we were able to deploy FTC solutions, whereas we can't in SPO, so I'm curious to know if there is a way to do something similar?

When I create a SharePoint Add-In, and I include a list, content type, app part (etc) to the solution, I see they appear under "Feature1" but it is scoped at the 'Web' level, so when it is deployed to my site I don't see the feature under the site features page.

enter image description here

  • can you please give some more information on it (If possible than with example)? – Hardik May 9 '16 at 14:18
  • Updated question with more info. – Ray Hogan May 9 '16 at 14:27
  • Hello Ryan, Is my answer helps you to understand the concept of Feature receiver for SharePoint Add-Ins? – Hardik May 10 '16 at 12:43
  • I am happy that my answer helps you... :) – Hardik May 25 '16 at 19:50
1

Only Web is permitted for Features in SharePoint Add-ins (both host web Features and Features inside a .wsp in an add-in package).

Add-in scope should also not be confused with add-in permission levels. SharePoint Add-ins can request permissions to all or selected parts of SharePoint content at the levels of list, web, site collection, and tenancy. Installing an add-in with tenant scope does not give it permissions that it would not otherwise have, nor does it cancel key provisions of the SharePoint security model. For more information about add-in permissions, see Add-in permissions in SharePoint 2013.

This is the limitation of Microsoft which can't be overcome in SharePoint.

You can get more information from following link.

Tenancies and deployment scopes for SharePoint Add-ins

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.