PersonAffinity
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Fields
AffinityType
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: Specifies the type of the person affinity.
-
Possible values:
- Dislike
- Interest
- Like
ArchivedDate
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The date on which the person affinity was archived.
Category
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specifies the category of the person affinity.
ContactId
- Type: reference
- Properties: Create, Filter, Group, Sort, Update
-
Description: The contact associated with the person affinity.
This field is a relationship field.
- Relationship Name: Contact
- Refers To: Contact
CurrencyIsoCode
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: The ISO code for the currency related to the person affinity.
- Default value: USD
-
Possible values:
- GBP—British Pound
- USD—U.S. Dollar
Description
- Type: textarea
- Properties: Create, Nillable, Update
- Description: The description of the person affinity.
IsActive
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the person affinity is active (true) or not (false).
- Default value: false
LastReferencedDate
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The timestamp when the current user last accessed this record, a record related to this record, or a list view.
LastViewedDate
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The timestamp when the current user last viewed this record or list view. If this value is null, the user might have only accessed this record or list view (LastReferencedDate) but not viewed it.
Name
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: The name of the person affinity.
OwnerId
- Type: reference
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Description: The user who owns this record.
This field is a polymorphic relationship field.
- Relationship Name: Owner
- Refers To: Group, User
Source
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specifies the information source of the person affinity.
StartDate
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specifies the start date of the person affinity.
SubCategory
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specifies the sub category of the person affinity.
UsageType
- Type: picklist
- Properties: Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort
- Description: Specifies the usage type for the person affinity.
- Default value: EducationCloud
-
Possible values:
- EducationCloud—Education Cloud
Associated Objects
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
- PersonAffinityHistory
- History is available for tracked fields of the object.
- PersonAffinityOwnerSharingRule
- Sharing rules are available for the object.
- PersonAffinityShare
- Sharing is available for the object.