---
schema_version: "1"
id: e635a986b25607430481b2848130b03eb34dc1bd42b25e703d29fcef50d4f2fd
title: WorkThanks
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_workthanks.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workthanks.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 695c0ac368bae72dac3db107eac32abda6f38f92aea76ff5a4d00659a28c6fd1
description: Represents the source and message of a thanks post.
---
# WorkThanks

Represents the source and message of a thanks post.

## Supported Calls

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

## Additional Considerations and Related Objects

WorkBadge is a lookup to WorkThanks. Each WorkBadge record must derive a SourceId from WorkThanks.

## Fields

| Field Name | Details |
| --- | --- |
| FeedItemId | 
Type

reference

Properties

Filter, Group, Nillable, Sort

Description

ID of the FeedItem related to the thanks badge.

This is a relationship field.

Relationship Name

FeedItem

Relationship Type

Lookup

Refers To

FeedItem



 |
| GiverId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

Salesforce user ID for the giver of the Thanks record.

This is a relationship field.

Relationship Name

Giver

Relationship Type

Lookup

Refers To

User



 |
| Message | 

Type

textarea

Properties

Create

Description

Required. Message associated with the Thanks record.



 |
| NetworkId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the community that this WorkThanks is associated with. This field is available only if digital experiences is enabled in your org.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

Salesforce user ID for the owner of the badge record (typically the same user as the giver of the record).

This is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |

## Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

[WorkThanksChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 62.0)

Change events are available for the object.

[WorkThanksOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[WorkThanksShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.