Skip to content

Commit 65484cf

Browse files
Merge pull request SharePoint#6346 from alirobe/master
activateSpFeature - updated to match schema
2 parents 7ff60f4 + c8bf0f9 commit 65484cf

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/declarative-customization/site-design-json-schema.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ Use the `associateExtension` action to register a deployed SharePoint Framework
854854
- `clientSideComponentProperties`: An optional parameter, which can be used to provide properties for the extension instance.
855855
- `registrationId`: An optional parameter, which indicates the type of the list the extension is associated to (if its a list extension).
856856
- `registrationType`: An optional parameter, which should be specified if the extension is associated with a list.
857-
- `scope`: Indicates whether the extension is associated with a Web or a Site.
857+
- `scope`: Indicates whether the extension is associated with a `Web` or a `Site`.
858858

859859
#### Example
860860

@@ -870,23 +870,23 @@ Use the `associateExtension` action to register a deployed SharePoint Framework
870870

871871
## Activate a Feature
872872

873-
Use the `activateSPFeature` action to activate a web scoped feature.
874-
875-
> [!NOTE]
876-
> Site scoped features can't be activated through Site Designs at this time.
873+
Use the `activateSPFeature` action to activate a SharePoint feature.
877874

878875
#### JSON values
879876

880-
- `featureId`: The ID of the web scoped feature to activate.
877+
- `featureId`: The ID of the feature to activate (GUID).
878+
- `scope`: Indicates whether the feature is associated with a `web` or a `site`.
879+
881880

882881
#### Example
883882

884-
To enable the web scoped feature, which allows for Events Lists to be created (feature ID 00bfea71-ec85-4903-972d-ebe475780106):
883+
To enable the web scoped feature that allows for Events Lists to be created (feature ID 00bfea71-ec85-4903-972d-ebe475780106):
885884

886885
```json
887886
{
888887
"verb": "activateSPFeature",
889-
"featureId": "00bfea71-ec85-4903-972d-ebe475780106"
888+
"featureId": "00bfea71-ec85-4903-972d-ebe475780106",
889+
"scope": "web"
890890
}
891891
```
892892

0 commit comments

Comments
 (0)