Click or drag to resize
ExportProviderExportWebTemplate Method (String, String, String, String, Boolean, Boolean)

Note: This API is now obsolete.

Export web template.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use ExportWebTemplate(ExportWebTemplateSettings) instead.")]
public static void ExportWebTemplate(
	string siteName,
	string websitePath,
	string targetPath,
	string[] excludedExpressions,
	bool exportEcommerce,
	bool exportCommunity
)

Parameters

siteName
Type: SystemString
Site code name
websitePath
Type: SystemString
Full web site path
targetPath
Type: SystemString
Full target path
excludedExpressions
Type: SystemString
Expressions to exclude the exported objects due to code name and display name
exportEcommerce
Type: SystemBoolean
Indicates if e-commerce module objects should be exported
exportCommunity
Type: SystemBoolean
Indicates if community module objects should be exported
See Also