Export (0) Print
Expand All

OpenXMLDocuments.CustomizeTemplate3 Method

Last modified: October 01, 2009

Applies to: SharePoint Foundation 2010

Opens the specified SharePoint Foundation form template (.xsn) file for customization within its associated application based on the specified list schema version, content type ID, and content type URL.

expression.CustomizeTemplate3(bstrSolutionLocation As String, bstrVersionID As String, bstrCTID As String, bstrCTURL As String)

expression

An expression that returns an OpenXMLDocuments Control object.

bstrSolutionLocation

A string that contains the URL for the location of the .xsn file to open for customization.

bstrVersionID

A string that contains the list schema version ID. The version ID is used to determine if the schema (or SharePoint Foundation column definitions) has changed after the .xsn file was created. If the schema has changed, the designer application that is used to customize form templates retrieves the new XML Schema (XSD) and updates the .xsn file.

bstrCTID

An empty string or a string that contains the content type ID. For information about the format of content type IDs, see Content Type IDs.

bstrCTURL

An empty string or a string that contains the content type URL.

true if the .xsn file successfully opens; otherwise, false.

The bstrCTID and bstrCTURL parameters pass empty strings unless the solution that is being customized was created at the site level for a site content type, and users need to customize the solution for that content type as applied to a list.

Show:
© 2014 Microsoft