Class ExportDto
The export DTO.
Inheritance
Namespace: Dnn.ExportImport.Components.Dto
Assembly: DotNetNuke.SiteExportImport.dll
Syntax
public class ExportDto : object
Properties
| Improve this Doc View SourceExportDescription
Gets or sets description of export job.
Declaration
public string ExportDescription { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ExportMode
Gets or sets export mode. Differential or Complete.
Declaration
public ExportMode ExportMode { get; set; }
Property Value
Type | Description |
---|---|
ExportMode |
ExportName
Gets or sets name of export job.
Declaration
public string ExportName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FromDate
Gets the from date (in UTC).
Declaration
public DateTime? FromDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
FromDateUtc
Gets or sets items' last modified on or created on for the items which need to be exported. This time format should be local time with offset in order to bae sure to export items properly and reduce the possibility of export issues.
Declaration
public DateTime? FromDateUtc { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Id
Gets or sets the ID.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IncludeContent
Gets or sets a value indicating whether whether to include the content items in the exported file. This applies to items such as pages/tabs and the content of their modules.
Declaration
public bool IncludeContent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludeDeletions
Gets or sets a value indicating whether whether to include deleted items in the export. Note that these will be deleted on the imported site.
Declaration
public bool IncludeDeletions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludeExtensions
Gets or sets a value indicating whether whether to include modules packages in exported file.
Declaration
public bool IncludeExtensions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludeFiles
Gets or sets a value indicating whether whether to include item files in the exported file. This applies for user files and content files. In case the folder's and files were included in the ItemsToExport then, this flag will be set to false.
Declaration
public bool IncludeFiles { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludePermissions
Gets or sets a value indicating whether whether to incldue permissions with each entity in export file or not.
Declaration
public bool IncludePermissions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludeProperfileProperties
Gets or sets a value indicating whether whether to include profile properties in exported file. When this flag is enabled only then userprofile would be exported.
Declaration
public bool IncludeProperfileProperties { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludeRoles
Gets or sets a value indicating whether whether to include roles or not in export file. If this flag is disabled, User Roles won't be exported. If this flag is disabled, Assets permissions won't be exported.
Declaration
public bool IncludeRoles { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludeTemplates
Gets or sets a value indicating whether whether to include page templates in export file or not.
Declaration
public bool IncludeTemplates { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludeUsers
Gets or sets a value indicating whether whether to include users in the export file or not.
Declaration
public bool IncludeUsers { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludeVocabularies
Gets or sets a value indicating whether whether to include vocabularies in the export file or not.
Declaration
public bool IncludeVocabularies { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDirty
Gets or sets a value indicating whether used to determine if the DB file needs cleanup before starting import or not.
Declaration
public bool IsDirty { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ItemsToExport
Gets or sets names of items to export.
Declaration
public string[] ItemsToExport { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Examples
["Content", "Assets", "Users"].
| Improve this Doc View SourcePages
Gets or sets the pages to be exported. These are the ID's (plus other information) of all checked items but not their children when a parent is checked. If the 'TabId=-1' is included in the list, it means all site pages.
Declaration
public PageToExport[] Pages { get; set; }
Property Value
Type | Description |
---|---|
PageToExport[] |
PortalId
Gets or sets iD of portal to export items from.
Declaration
public int PortalId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ProductSku
Gets or sets sKU of the product from which the export is done.
Declaration
public string ProductSku { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProductVersion
Gets or sets version of the product from which the export is done.
Declaration
public string ProductVersion { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RunNow
Gets or sets a value indicating whether whether to run the job immediately or not.
Declaration
public bool RunNow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SchemaVersion
Gets or sets specifies the version of the exportes schema.
Declaration
public string SchemaVersion { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ToDate
Gets the to date (in UTC).
Declaration
public DateTime ToDate { get; }
Property Value
Type | Description |
---|---|
DateTime |
ToDateUtc
Gets or sets date when job was created. NOTE: This will be set internally only by the engine and not by the UI.
Declaration
public DateTime ToDateUtc { get; set; }
Property Value
Type | Description |
---|---|
DateTime |