Share via


DesignerDocument.updateDynamicTemplate Method

SharePoint Designer Developer Reference

Updates the pages that are attached to a Dynamic Web Template so that any changes to the Dynamic Web Template are applied to pages that reference the Dynamic Web Template.

Syntax

expression.updateDynamicTemplate(state)

expression   Required. A variable that represents a DesignerDocument object.

Parameters

Name Required/Optional Data Type Description
state Required DynamicTemplateState Specifies the region mapping to use when updating the Dynamic Web Template. Use the SetHeadMapping and SetBodyMapping methods of the DynamicTemplateState object to customize region mapping.

Remarks

If an error occurs, the update process will terminate unless the SkipOnQuery property is set to True.

See Also