<PackageReference Include="Relativity.Import.Models.SDK" Version="1.2.1" />

Relativity.Import.V1.Builders.Documents.IWithField

public interface IWithField
Provides methods allowing add new fields into field mapping table.

Adds a new field into fields mapping table as an extracted text. Use inner setting builder to determine whether extracted text is in load file or separate file.

IWithField WithField(int columnIndex, string field)

Adds a new field into fields mapping table.

IWithField WithLongTextFieldContainingFilePath(int columnIndex, string field, Func<IWithFileEncoding, IFinalInnerBuilder> nestedBuilderAction)

Adds a new field into fields mapping table. Used for LongText field type, when loadfile contains file paths instead of actual text values. Value in the data source (in column defined by column index) should contain path to the file containing text value. The path should be accessible for import agent.

IWithField WithObjectFieldContainingArtifactID(int columnIndex, string field)

Adds a new field into fields mapping table. Used for SingleObject or MultiObject field type contains ArtifactID or the actual text identifier. Value in the data source (in column defined by column index) should contain ArtifactId of existing objects in the Workspace. Not existing objects should be created before.