November Happy Hour will be moved to Thursday December 5th.

Interface IDataImporter

Component responsible for importing data from an import package to the system

Namespace: EPiServer.Enterprise
Assembly: EPiServer.Enterprise.dll
Version: 12.0.3
Syntax
public interface IDataImporter

Properties

Status

Contains continuosly updates of the import process

Declaration
IImportStatus Status { get; }
Property Value
Type Description
IImportStatus

Methods

Abort()

Abort the running import.

Declaration
void Abort()

Import(Stream, ContentReference, ImportOptions)

Imports the import packages specified by System.IO.Stream

Declaration
ITransferLog Import(Stream stream, ContentReference destinationRoot, ImportOptions options)
Parameters
Type Name Description
System.IO.Stream stream

The stream to the import package

ContentReference destinationRoot

The root where content items will be imported under

ImportOptions options

Options that specify settings for the import

Returns
Type Description
ITransferLog

A logger with result

Remarks

Potential errors and warnings are logged to returned logger

Continuous progress can be retreieved from Status.

Extension Methods