Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
WorkBadgeDefinition
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Additional Considerations and Related Objects
WorkBadgeDefinition has a field called ImageUrl that references a DocumentID. This is a required field for creating a Badge.
To grant “giver” access to a WorkBadgeDefinition, you must also create the WorkAccess (and the related WorkAccessShare records.
Each WorkBadgeDefinition has an ImageUrl field that must be populated with a DocumentID of the Document record containing the badge image.
Fields
| Field Name | Details |
|---|---|
| Description |
|
| GivenBadgeCount |
|
| ImageUrl |
|
| IsActive |
|
| IsCompanyWide |
|
| IsLimitPerUser |
|
| IsRewardBadge |
|
| LastReferencedDate |
|
| LastViewedDate |
|
| LimitNumber |
|
| LimitStartDate |
|
| Name |
|
| NetworkId |
|
| OwnerId |
|
| RewardFundId |
|
Associated Objects
This object has the following associated objects. Unless noted, they are available in the same API version as this object.
- WorkBadgeDefinitionChangeEvent (API version 62.0)
- Change events are available for the object.
- WorkBadgeDefinitionFeed
- Feed tracking is available for the object.
- WorkBadgeDefinitionHistory
- History is available for tracked fields of the object.
- WorkBadgeDefinitionOwnerSharingRule
- Sharing rules are available for the object.
- WorkBadgeDefinitionShare
- Sharing is available for the object.