CaseComment

Represents a comment that provides additional information about the associated Case.

Supported Calls

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

Fields

Field Field Type Field Properties Description
CommentBody textarea Create

Filter

Nillable

Text of the CaseComment. The maximum size of the comment body is 4000 bytes. Label is Body.
IsDeleted boolean Defaulted on create

Filter

Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is Deleted.
IsPublished boolean Create

Filter

Defaulted on create

Update

Indicates whether the CaseComment is visible to customers in the Self-Service portal (true) or not (false). Label is Published. This is the only CaseComment field that can be updated via the API.
ParentId reference Create

Filter

Required. ID of the parent Case of the CaseComment. For information on IDs, see ID Field Type.
Note
If you are importing CaseComment data into Salesforce and need to set the value for an audit field, such as CreatedDate, contact salesforce.com. Audit fields are automatically updated during API operations unless you request to set these fields yourself. For more information, see System Fields.

Usage

In the Salesforce user interface, comments are generally entered by Users working on a Case. All users have access to create and view CaseComments in the Salesforce user interface and when using the API. In the API, CaseComments cannot be modified after insertion unless the user has the "Modify All Data" permission. If not, users can only update the IsPublished field, and cannot delete CaseComments.

See Also:
Standard and Custom Object Basics
© Copyright 2000-2008 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.