You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$10
For Premium members:
In this article, you will learn how to work with site features (web scoped) programmatically using REST API.
Introduction
In this article, you will learn how to retrieve, enable or disable the site features (Web Scoped features) programmatically using REST API on SharePoint 2013 / SharePoint online. Here, we will see in detail about the usage of REST API to complete these operations. The web scoped features are present on this page.
Steps Involved
Get/Check Site Feature Properties/Status (Web scope)
Here, we will see how we can get the particular feature and check whether the site feature (Web Scoped) is active or not. You can identify whether the feature is activated at Web Scope or not.
Activate the site feature (Web scope)
Deactivate the site feature (Web scope)
Note - The above set of operations needs to be called in order to execute it.
You learned how to retrieve, activate, or de-activate the site features (Web Scoped) using REST API on SharePoint 2013 / SharePoint online sites.
Configure MinRole Search and Cloud Hybrid Features in SharePoint Server 2016 and Office 365