OpenXMLDocuments.CustomizeTemplate4 Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Creates a custom Windows SharePoint Services form template (.xsn) file based on the schema that is retrieved through the specified content type URL and content type ID.

expression.CustomizeTemplate4(bstrContentTypeURL As String, bstrContentTypeID As String)



An expression that returns an OpenXMLDocuments Control object.


A string that contains the content type URL.


A string that contains the content type ID. For information about the format of content type IDs, see Content Type IDs.

Return Value

true if the form template is successfully created; otherwise, false.

See Also


OpenXMLDocuments Control

OpenXMLDocuments Members