<PackageReference Include="Relativity.Server.Import.SDK" Version="2.9.2" />

ImportBulkArtifactJob

Provides the functionality for importing Artifacts into a workspace, setting import parameters, loading data, and retrieving messages from the OnMessage event.
public sealed delegate OnErrorEventHandler : MulticastDelegate

public sealed delegate OnMessageEventHandler : MulticastDelegate

public string BulkLoadFileFieldDelimiter { get; set; }

Gets or sets the field delimiter to use when writing out the bulk load file. Line delimiters will be this value plus a line feed.

public Settings Settings { get; }

Gets or sets the current settings for the import job.

public SourceIDataReader SourceData { get; }

Represents an instance of the SourceIDataReader, which contains data for import. This property is required.

Occurs when all the data for an import job has been processed. Raised at the end of an import.

Occurs when an error is found.

Occurs when an import job suffers a fatal exception and aborts. Raised at the end of an import.

Occurs when a call is made to the Execute method. This event contains a status message.

Occurs when a status message needs to be presented to the user related to the Process.

Occurs when a record has been processed.

Creates a new job to import Artifacts in bulk.

public void Execute()

Executes the DataReaderClient, which operates as an iterator over a data source.

public void ExportErrorFile(string filePathAndName)

Exports the error file for an import job. This file is written only when errors occur.

public void ExportErrorReport(string filePathAndName)

Exports the error log file for an import job. This file is written only when errors occur.

protected bool IsSettingsValid()

Validates Relativity, delimiter, native file, and extracted text settings.