Web.ApplyTemplate Method
SharePoint Designer Developer Reference |
Applies an existing HTML template to the current Web site.
Syntax
expression.ApplyTemplate(TemplateDir, fOverWrite)
expression Required. A variable that represents a Web object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
TemplateDir | Required | String | The path of the template. |
fOverWrite | Optional | Boolean | Determines whether the current template will be overwritten. If True, the current template will be overwritten. If False, the current template will not be overwritten. The default value is False. |
See Also