Skip to content

Commit d4f774a

Browse files
committed
added more information to upgrade actions.
1 parent cb901f3 commit d4f774a

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

docs/spfx/toolchain/provision-sharepoint-assets.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,4 +262,26 @@ And the corresponding `element-v2.xml` which defines a new Currency Field to be
262262
Required="FALSE"
263263
Group="Financial Columns" />
264264
</Elements>
265-
```
265+
```
266+
267+
Upgrade actions in client-side solutions support the following sub elements:
268+
269+
270+
**AddContentTypeField**
271+
272+
Adds a new field to an existing provisioned content type. Propagates the change from the site content type to all child lists and content types within the site. For example:
273+
274+
```xml
275+
<AddContentTypeField
276+
ContentTypeId="0x010100A6F9CE1AFE2A48f0A3E6CB5BB770B0F7"
277+
FieldId="{B250DCFD-9310-4e2d-85F2-BE2DA37A57D2}"
278+
PushDown="TRUE" />
279+
```
280+
281+
**ApplyElementManifests**
282+
283+
Adds a new element to an existing Feature. When a Feature is upgraded, provisions all non-declarative elements that are referenced in the specified element manifests.
284+
285+
**VersionRange**
286+
287+
Specifies a version range to which specified upgrade actions apply.

0 commit comments

Comments
 (0)