WorkBadge

Represents information about who the badge was given to and which badge was given. A WorkBadge record is created for each recipient of a WorkBadgeDefinition.

Supported Calls

create()delete()describeLayout(), describeSObjects()getDeleted()getUpdated()query()retrieve()search(), undelete()update()upsert()

Additional Considerations and Related Objects

WorkBadge is a lookup to WorkThanks. Each WorkBadge record must derive a SourceId from WorkThanks. There can be multiple WorkBadge records tied to a single WorkThanks record.

Fields

Field Name Details
DefinitionId
Type
reference
Properties
Create, Filter, Group, Sort
Description
Required. Salesforce unique ID for the given WorkBadgeDefinition record given.
Description
Type
textarea
Properties
Nillable
Description
The description of the WorkBadgeDefinition.
GiverId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The ID of the badge giver.
ImageUrl
Type
url
Properties
Filter, Group, Nillable, Sort
Description
The URL of the badge image.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The time stamp that indicates when the current user last viewed a record that is related to this WorkBadge.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The time stamp that indicates when the current user last viewed this WorkBadge. If this value is null, this record might have been only referenced (LastReferencedDate) and not viewed.
Message
Type
textarea
Properties
Nillable
Description
The message accompanying the thanks badge.
NetworkId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the community that this WorkBadge is associated with. This field is available only if Salesforce Communities is enabled in your organization.
RecipientId
Type
reference
Properties
Create, Filter, Group, Sort
Description
Required. Salesforce unique ID for User who is the Recipient of Badge.
RewardId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Salesforce unique ID for Reward given with badge (if Reward Badge)
SourceId
Type
reference
Properties
Create, Filter, Group, Sort
Description
Salesforce unique ID for Thanks record referenced to this badge.