Compartilhar via


fileattachment EntityType

File Attachment

Entity set path: 
[organization URI]/api/data/v9.2/fileattachments
Base type: 
crmbaseentity
Table type: 
Standard
Display name: 
FileAttachment
Primary key: 
fileattachmentid
Primary name column: 
filename

Properties

Properties represent fields of data stored in the entity. Some properties are read-only.

Name Type Details
createdon Edm.DateTimeOffset

Date and time when the attachment was created.

Display name: Created On

Read only
fileattachmentid Edm.Guid

Unique identifier of the file attachment.

Display name: FileAttachmentId

filename Edm.String

File name of the attachment.

Display name: File Name

filesizeinbytes Edm.Int64

File size of the attachment in bytes.

Display name: File Size (Bytes)

Read only
mimetype Edm.String

MIME type of the attachment.

Display name: MIME Type

objecttypecode Edm.String

Type of entity with which the file attachment is associated.

Display name: Object Type

regardingfieldname Edm.String

Regarding attribute schema name of the attachment.

Display name: Regarding Attribute Schema Name

versionnumber Edm.Int64

Version number of the file attachment.

Display name: Version Number

Read only

Lookup properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Lookup property data.

Name Single-valued navigation property Description
_objectid_value FileAttachment_Solution
objectid_activityfileattachment
objectid_activitypointer
objectid_asyncoperation
objectid_botcomponent
objectid_canvasapp
objectid_desktopflowbinary
objectid_desktopflowmodule
objectid_exportedexcel
objectid_exportsolutionupload
objectid_flowsession
objectid_knowledgearticle
objectid_mailbox
objectid_msdyn_aibfeedbackloop
objectid_msdyn_aibfile
objectid_msdyn_aiconfiguration
objectid_msdyn_analysisjob
objectid_msdyn_fileupload
objectid_msdyn_integratedsearchprovider
objectid_msdyn_kbattachment
objectid_msdyn_knowledgearticleimage
objectid_msdyn_mobileapp
objectid_msdyn_pminferredtask
objectid_msdyn_richtextfile
objectid_mspcat_catalogsubmissionfiles
objectid_mspcat_packagestore
objectid_package
objectid_packagehistory
objectid_pluginpackage
objectid_powerbidataset
objectid_powerbireport
objectid_powerpagecomponent
objectid_powerpagesitepublished
objectid_powerpagesscanreport
objectid_report
objectid_retaineddataexcel
objectid_searchcustomanalyzer
objectid_stagesolutionupload
objectid_webresource
objectid_workflowbinary
objectid_workflowlog

Unique identifier of the object with which the attachment is associated.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name Type Partner
FileAttachment_Solution solution regardingobjectid_fileattachment_solution
objectid_activityfileattachment activityfileattachment activityfileattachment_FileAttachments
objectid_activitypointer activitypointer activitypointer_FileAttachments
objectid_asyncoperation asyncoperation asyncoperation_FileAttachments
objectid_botcomponent botcomponent botcomponent_FileAttachments
objectid_canvasapp canvasapp canvasapp_FileAttachments
objectid_desktopflowbinary desktopflowbinary desktopflowbinary_FileAttachments
objectid_desktopflowmodule desktopflowmodule desktopflowmodule_FileAttachments
objectid_email email email_FileAttachments
objectid_exportedexcel exportedexcel exportedexcel_FileAttachments
objectid_exportsolutionupload exportsolutionupload exportsolutionupload_FileAttachments
objectid_flowsession flowsession flowsession_FileAttachments
objectid_knowledgearticle knowledgearticle knowledgearticle_FileAttachments
objectid_mailbox mailbox mailbox_FileAttachments
objectid_msdyn_aibfeedbackloop msdyn_aibfeedbackloop msdyn_aibfeedbackloop_FileAttachments
objectid_msdyn_aibfile msdyn_aibfile msdyn_aibfile_FileAttachments
objectid_msdyn_aiconfiguration msdyn_aiconfiguration msdyn_aiconfiguration_FileAttachments
objectid_msdyn_analysisjob msdyn_analysisjob msdyn_analysisjob_FileAttachments
objectid_msdyn_fileupload msdyn_fileupload msdyn_fileupload_FileAttachments
objectid_msdyn_integratedsearchprovider msdyn_integratedsearchprovider msdyn_integratedsearchprovider_FileAttachments
objectid_msdyn_kbattachment msdyn_kbattachment msdyn_kbattachment_FileAttachments
objectid_msdyn_knowledgearticleimage msdyn_knowledgearticleimage msdyn_knowledgearticleimage_FileAttachments
objectid_msdyn_mobileapp msdyn_mobileapp msdyn_mobileapp_FileAttachments
objectid_msdyn_pminferredtask msdyn_pminferredtask msdyn_pminferredtask_FileAttachments
objectid_msdyn_richtextfile msdyn_richtextfile msdyn_richtextfile_FileAttachments
objectid_mspcat_catalogsubmissionfiles mspcat_catalogsubmissionfiles mspcat_catalogsubmissionfiles_FileAttachments
objectid_mspcat_packagestore mspcat_packagestore mspcat_packagestore_FileAttachments
objectid_package package package_FileAttachments
objectid_packagehistory packagehistory packagehistory_FileAttachments
objectid_pluginpackage pluginpackage pluginpackage_FileAttachments
objectid_powerbidataset powerbidataset powerbidataset_FileAttachments
objectid_powerbireport powerbireport powerbireport_FileAttachments
objectid_powerpagecomponent powerpagecomponent powerpagecomponent_FileAttachments
objectid_powerpagesitepublished powerpagesitepublished powerpagesitepublished_FileAttachments
objectid_powerpagesscanreport powerpagesscanreport powerpagesscanreport_FileAttachments
objectid_report report report_FileAttachments
objectid_retaineddataexcel retaineddataexcel retaineddataexcel_FileAttachments
objectid_searchcustomanalyzer searchcustomanalyzer searchcustomanalyzer_FileAttachments
objectid_stagesolutionupload stagesolutionupload stagesolutionupload_FileAttachments
objectid_webresource webresource webresource_FileAttachments
objectid_workflowbinary workflowbinary workflowbinary_FileAttachments
objectid_workflowlog workflowlog workflowlog_FileAttachments

Collection-valued navigation properties

Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.

Name Type Partner
FileAttachment_CanvasApp_BackgroundImage canvasapp backgroundimage
FileAttachment_CanvasApp_LargeIcon canvasapp largeicon
FileAttachment_CanvasApp_MediumIcon canvasapp mediumicon
FileAttachment_CanvasApp_SmallIcon canvasapp smallicon
FileAttachment_CanvasApp_TeamsIcon canvasapp teamsicon
FileAttachment_CanvasApp_WideIcon canvasapp wideicon
FileAttachment_Email_DescriptionBlobId email descriptionblobid_email
FileAttachment_pluginpackage_FileId pluginpackage FileId
FileAttachment_pluginpackage_Package pluginpackage Package
FileAttachment_SyncErrors syncerror regardingobjectid_fileattachment_syncerror
FileAttachment_WebResource_ContentFileRef webresource ContentFileRef
FileAttachment_WebResource_ContentJsonFileRef webresource ContentJsonFileRef
solution_fileid solution fileid

See also