Click or drag to resize

ImportFile Class

File name of file used for import.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceImportFile

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class ImportFile : Entity, INotifyPropertyChanging, 
	INotifyPropertyChanged

The ImportFile type exposes the following members.

Constructors
 NameDescription
Public methodImportFile Default Constructor.
Top
Properties
 NameDescription
Public propertyAdditionalHeaderRow Shows the secondary column headers. The additional headers are used during the process of transforming the import file into import data records.
Public propertyAttributes
(Inherited from Entity)
Public propertyBusinessUnit_ImportFiles N:1 BusinessUnit_ImportFiles
Public propertyCompletedOn Shows the date and time when the import associated with the import file was completed.
Public propertyContent Stores the content of the import file, stored as comma-separated values.
Public propertyCreatedBy Shows who created the record.
Public propertyCreatedOn Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyCreatedOnBehalfBy Shows who created the record on behalf of another user.
Public propertyDataDelimiterCode Select the single-character data delimiter used in the import file. This is typically a single or double quotation mark.
Public propertyEnableDuplicateDetection Select whether duplicate-detection rules should be run against the import job.
Public propertyEntityState
(Inherited from Entity)
Public propertyExtensionData
(Inherited from Entity)
Public propertyFailureCount Shows the number of records in the import file that cannot be imported.
Public propertyFieldDelimiterCode Select the character that is used to separate each field in the import file. Typically, it is a comma.
Public propertyFileTypeCode Shows the type of source file that is uploaded for import.
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyHeaderRow Shows a list of each column header in the import file separated by a comma. The header is used for parsing the file during the import job.
Public propertyId
(Overrides Entity.Id)
Public propertyImport_ImportFile N:1 Import_ImportFile
Public propertyImportFile_AsyncOperations 1:N ImportFile_AsyncOperations
Public propertyImportFile_BulkDeleteFailures 1:N ImportFile_BulkDeleteFailures
Public propertyImportFile_SystemUser N:1 ImportFile_SystemUser
Public propertyImportFile_Team N:1 ImportFile_Team
Public propertyImportFileId Unique identifier of the import file.
Public propertyImportId Choose the import job that the file was uploaded for.
Public propertyImportLog_ImportFile 1:N ImportLog_ImportFile
Public propertyImportMap_ImportFile N:1 ImportMap_ImportFile
Public propertyImportMapId Choose a data map to match the import file and its column headers with the record types and fields in Microsoft Dynamics CRM. If the column headers in the file match the display names of the target fields in Microsoft Dynamics CRM, we import the data automatically. If not, you can manually define matches during import.
Public propertyIsFirstRowHeader Select whether the first row of the import file contains column headings, which are used for data mapping during the import job.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertylk_importfilebase_createdby N:1 lk_importfilebase_createdby
Public propertylk_importfilebase_createdonbehalfby N:1 lk_importfilebase_createdonbehalfby
Public propertylk_importfilebase_modifiedby N:1 lk_importfilebase_modifiedby
Public propertylk_importfilebase_modifiedonbehalfby N:1 lk_importfilebase_modifiedonbehalfby
Public propertyLogicalName
(Inherited from Entity)
Public propertyModifiedBy Shows who last updated the record.
Public propertyModifiedOn Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyModifiedOnBehalfBy Shows who created the record on behalf of another user.
Public propertyName Shows the name of the import file. This name is based on the name of the uploaded file.
Public propertyOwnerId Enter the user who is assigned to follow up with or manage the import file. This field is updated every time the import file is assigned to a different user.
Public propertyOwningBusinessUnit Shows the business unit that the record owner belongs to.
Public propertyOwningTeam Unique identifier of the team who owns the import file.
Public propertyOwningUser Unique identifier of the user who owns the import file.
Public propertyParsedTableColumnPrefix Shows the prefix applied to each column after the import file is parsed.
Public propertyParsedTableColumnsNumber Shows the number of columns included in the parsed import file.
Public propertyParsedTableName Shows the name of the table that contains the parsed data from the import file.
Public propertyPartialFailureCount Shows the number of records in this file that had failures during the import.
Public propertyProcessCode Tells whether the import file should be ignored or processed during the import.
Public propertyProcessingStatus Shows the import file's processing status code. This indicates whether the data in the import file has been parsed, transformed, or imported.
Public propertyProgressCounter Shows the progress code for the processing of the import file. This field is used when a paused import job is resumed.
Public propertyRecordsOwnerId Choose the user that the records created during the import job should be assigned to.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRelatedEntityColumns Shows the columns that are mapped to a related record type (entity) of the primary record type (entity) included in the import file.
Public propertyRowVersion
(Inherited from Entity)
Public propertySize Shows the size of the import file, in kilobytes.
Public propertySource Shows the name of the data source file uploaded in the import job.
Public propertySourceEntityName Shows the record type (entity) of the source data.
Public propertyStateCode Shows the status of the import file record. By default, all records are active and can't be deactivated.
Public propertyStatusCode Shows the reason code that explains the import file's status to identify the stage of the import process, from parsing the data to completed.
Public propertySuccessCount Shows the number of records in the import file that are imported successfully.
Public propertySystemUser_ImportFiles N:1 SystemUser_ImportFiles
Public propertyTargetEntityName Select the target record type (entity) for the records that will be created during the import job.
Public propertyteam_ImportFiles N:1 team_ImportFiles
Public propertyTimeZoneRuleVersionNumber For internal use only.
Public propertyTotalCount Shows the total number of records in the import file.
Public propertyuserentityinstancedata_importfile 1:N userentityinstancedata_importfile
Public propertyUseSystemMap Tells whether an automatic system map was applied to the import file, which automatically maps the import data to the target entity in Microsoft Dynamics CRM.
Public propertyUTCConversionTimeZoneCode Time zone code that was in use when the record was created.
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also