Click or drag to resize

ImportBulkContext Properties

The ImportBulkContext type exposes the following members.

Properties
  NameDescription
Public propertyCurrentRecord
The 0-based record number of the import record currently being processed.
Public propertyErrorCount
The number of validation errors encountered so far.
Public propertyImportOriginalFile
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.
Public propertyImportSavedFile
The full path of the file being imported as stored on disk on the application server.
Public propertyImportType
The type of import being performed. This corresponds to the xot_imports.import_type column.
Public propertyImportWorksheetName
The name of the worksheet being imported. This is only meaningful for import file types supporting multiple worksheets.
Public propertyInitialEvent
Gets/sets the initial event starting the bulk operation, e.g. ExtensionEvents.MapperBulkBeforeDelete.
(Inherited from EventBulkContext.)
Public propertyItemsAffected
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.)
Public propertyItemsValidated
The number of items (records) validated so far.
Public propertyMaxErrors
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.
Public propertyParent
Gets/sets the parent object -- the object controlling the bulk operation.
(Inherited from EventBulkContext.)
Public propertyProperties
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.)
Public propertyTotalRecords
The total number of records to be imported. If unknown, -1 will be returned.
Public propertyValidationOnly
Identifies whether or not this is a validation-only phase of the import.
Top
See Also