| ImportExportHelper Methods |
The ImportExportHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| AddExcludedSettingKey |
Adds given setting key(s) to the excluded keys. Excluded keys are not exported nor imported.
| |
| GenerateExportFileName |
Returns a file name starting with given prefix, followed by the date, time and given extension.
| |
| GetDataTable |
Gets the data for given object type from DataSet
| |
| GetDocumentsDataWhereCondition |
Gets where condition for specified object type based on documents. Uses the given condition object to build the where condition.
| |
| GetExcludedSettingKeys |
Returns set of excluded setting key names. Can return null if there are no excluded keys.
| |
| GetExportFilePath |
Returns the real file path for the specified path.
| |
| GetExportPackageUrl |
Returns URL to export package with given file name.
| |
| GetObjectBackupFolder |
Gets the backup folder for a given object
| |
| GetObjectTypeName |
Gets the name for the object type.
| |
| GetObjectTypeSubFolder |
Gets sub folder for specified object type.
| |
| GetRealFilePath |
Returns the real file path for the specified file.
| |
| GetSafeObjectTypeName |
Gets safe object type name.
| |
| GetSiteUtilsFolder |
Returns Site Utils folder physical path.
| |
| GetSiteUtilsFolderRelativePath |
Returns Site Utils folder relative path.
| |
| GetTemporaryFolder |
Returns Temporary folder physical path.
| |
| InitSingleObjectExportSettings |
Initialize provided export settings
| |
| IsCMSObjectType |
Returns true if object type is general object.
| |
| IsCodeFile |
Indicates if file is code file
| |
| IsCommunityObjectType |
Returns true if object type is from community module.
| |
| IsDesignerCodeBehind |
Indicates if file is designer code behind file
| |
| IsEcommerceObjectType |
Returns true if object type is from e-commerce module.
| |
| IsLowerVersion |
Returns true if the first given version is lower than the second one.
| |
| IsPostProcessFile |
Indicates if file should be post processed
| |
| IsSettingKeyExcluded |
Determines whether the given setting key is excluded from import/export.
| |
| RemoveExcludedSettingKey |
Removes given setting key(s) from the excluded keys. Excluded keys are not exported nor imported.
| |
| RemoveExportExtension |
Remove export extensions.
| |
| RenameExportedFiles |
Rename exported files.
| |
| ValidateExportFileName |
Validate export file name.
|