| Body |
- Type
- base64
- Properties
- Create, Update
- Description
- Required. Encoded file data.
|
| BodyLength |
- Type
- int
- Properties
- Filter, Group,
Nillable, Sort
- Description
- Size of the file (in bytes).
|
| ConnectionReceivedId |
- Type
- reference
- Properties
- Filter, Group, Nillable, Sort
- Description
- ID of the
PartnerNetworkConnection that shared this record
with your organization. This field is available if
you enabled Salesforce to Salesforce.
|
| ConnectionSentId |
- Type
- reference
- Properties
- Filter, Group, Nillable, Sort
- Description
- ID of the PartnerNetworkConnection that you shared this record with. This field is
available if you enabled Salesforce to Salesforce. This field is supported using API
versions earlier than 15.0. In all other API versions, this field’s value is null. You
can use the new PartnerNetworkRecordConnection object to forward records to
connections.
|
| ContentType |
- Type
- string
- Properties
- Create, Filter, Group,
Nillable, Sort, Update
- Description
- The content type of the attachment.
If the Don't allow HTML uploads as
attachments or document records security setting is enabled for your
organization, you cannot upload files with the following file extensions:
.htm, .html, .htt,
.htx, .mhtm, .mhtml,
.shtm, .shtml, .acgi,
.svg.
When you insert a document or attachment through the API,
make sure that this field is set to the appropriate MIME type.
|
| Description |
- Type
- textarea
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- Description of the attachment. Maximum size is 500 characters. This field is available
in API version 18.0 and later.
|
| IsEncrypted |
This information is about Shield Platform Encryption and not Classic Encryption.
- Type
- boolean
- Properties
- Defaulted on create, Filter, Group, Sort
- Description
- Indicates whether the attachment is encrypted using Shield Platform Encryption
(true) or not (false). This field is available in API version 34.0 and later.
|
| IsPartnerShared |
- Type
- boolean
- Properties
- Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether this record is shared with a connection using Salesforce to
Salesforce. Label is Is Shared With Partner.
|
| IsPrivate |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group,
Sort,
Update
- Description
- Indicates whether this record is viewable only by the owner and administrators
(true) or viewable by all otherwise-allowed users
(false). During a create or update call, it is
possible to mark an Attachment record as private even if you are not the owner. This can
result in a situation in which you can no longer access the record that you just inserted
or updated. Label is Private.
Attachments on tasks
or events can't be marked private.
|
| Name |
- Type
- string
- Properties
- Create, Filter, Group, idLookup, Sort, Update
- Description
- Required. Name of the attached file. Maximum size is 255 characters. Label is File
Name.
|
| OwnerId |
- Type
- reference
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- ID of the User who owns the attachment. This field isn’t required for API version 9.0
or later.
The owner of an attachment on a task or event must be
the same as the owner of the task or event.
- This is a polymorphic relationship field.
- Relationship Name
- Owner
- Relationship Type
- Lookup
- Refers To
- Calendar, User
|
| ParentId |
- Type
- reference
- Properties
- Create, Filter, Group, Sort
- Description
- Required. ID of the parent object of the attachment. The following objects are
supported as parents of attachments:
- Account
- Asset
- Campaign
- Case
- Contact
- Contract
- Custom objects
- EmailMessage
- EmailTemplate
- Event
- Lead
- Opportunity
- Product2
- Solution
- Task
- This is a polymorphic relationship field.
- Relationship Name
- Parent
- Relationship Type
- Lookup
- Refers To
- Account, Accreditation, AssessmentIndicatorDefinition, AssessmentTask,
AssessmentTaskContentDocument, AssessmentTaskDefinition, AssessmentTaskOrder, Asset,
Award, BoardCertification, BusinessLicense, BusinessMilestone, BusinessProfile, Campaign,
CareBarrier, CareBarrierDeterminant, CareBarrierType, CareDeterminant,
CareDeterminantType, CareDiagnosis, CareMetricTarget, CareObservationComponent,
CarePgmProvHealthcareProvider, CareProgram, CareProgramCampaign,
CareProgramEligibilityRule, CareProgramEnrollee, CareProgramEnrolleeProduct,
CareProgramEnrollmentCard, CareProgramGoal, CareProgramProduct, CareProgramProvider,
CareProgramTeamMember, CareProviderAdverseAction, CareProviderFacilitySpecialty,
CareRegisteredDevice, CareRequest, CareRequestDrug, CareRequestExtension,
CareRequestItem, CareSpecialty, CareTaxonomy, Case, CommSubscription,
CommSubscriptionChannelType, CommSubscriptionConsent, CommSubscriptionTiming, Contact,
Contract, CreditMemo, DelegatedAccount, EmailMessage, EmailTemplate,
EngagementChannelType, EnrollmentEligibilityCriteria, Event, HealthcareFacility,
HealthcareFacilityNetwork, HealthcarePayerNetwork, HealthcarePractitionerFacility,
HealthcareProvider, HealthcareProviderNpi, HealthcareProviderSpecialty,
HealthcareProviderTaxonomy, IdentityDocument, Image, IndividualApplication, Invoice,
Lead, Location, MemberPlan, Opportunity, Order, OtherComponentTask, PersonEducation,
PersonLifeEvent, Product2, ProductRequest, ProductRequestLineItem, PurchaserPlan,
ReceivedDocument, ServiceAppointment, ServiceResource, Shift, SocialPost, Solution, Task,
Visit, VisitedParty, Visitor, VolunteerProject, WorkOrder, WorkOrderLineItem
|