ImportBulkContext Properties |
The ImportBulkContext type exposes the following members.
Name | Description | |
---|---|---|
CurrentRecord |
The 0-based record number of the import record currently being processed.
| |
ErrorCount |
The number of validation errors encountered so far.
| |
ImportOriginalFile |
The original name of the file being imported. This is expected to be the name of the file as uploaded from the user's machine.
| |
ImportSavedFile |
The full path of the file being imported as stored on disk on the application server.
| |
ImportType |
The type of import being performed. This corresponds to the xot_imports.import_type column.
| |
ImportWorksheetName |
The name of the worksheet being imported. This is only meaningful for import file types supporting multiple worksheets.
| |
InitialEvent |
Gets/sets the initial event starting the bulk operation, e.g. ExtensionEvents.MapperBulkBeforeDelete.
(Inherited from EventBulkContext.) | |
ItemsAffected |
Gets/sets the number of items affected by the bulk operation.
For example, in a bulk delete operation, this will be the number of items actually deleted by the mapper.
(Inherited from EventBulkContext.) | |
ItemsValidated |
The number of items (records) validated so far.
| |
MaxErrors |
The maximum number of errors allowed before the import aborts. Generally imports are configured to continue
their validation phase through multiple errors in order to detect multiple problems during one validation.
Any errors will prevent continuation to the import insert phase.
| |
Parent |
Gets/sets the parent object -- the object controlling the bulk operation.
(Inherited from EventBulkContext.) | |
Properties |
Gets the property collection for the bulk operation context. This can be used by an extension to
maintain state information across a bulk operation.
(Inherited from EventBulkContext.) | |
TotalRecords |
The total number of records to be imported. If unknown, -1 will be returned.
| |
ValidationOnly |
Identifies whether or not this is a validation-only phase of the import.
|