---
schema_version: "1"
id: e05dc246a064228b5eacc8c7e068d508cb7fb252962930f49f452da076f193c7
title: IdeaComment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_ideacomment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_ideacomment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 51dda5267091824b3989fceef54c21107d5b7307225498efd094c3137bf0b7b4
description: Represents a comment that a user has submitted in response to an idea.
---
# IdeaComment

Represents a comment that a user has submitted in response to an idea.

## Supported Calls

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

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

When performing a SOSL search on IdeaComment objects, Idea objects are also searched.

## Fields

| Field | Field Type |
| --- | --- |
| CommentBody | 
Type

textarea

Properties

Create, Filter, Nillable, Sort, Update

Description

Body of the submitted comment.



 |
| CommunityId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The zone ID associated with the idea. Once you create an idea, you can’t change the zone ID associated with that idea.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

API version 12 does not support zone ID. If you create an idea in version 12, your idea is automatically posted to the oldest zone that you have permission to access.















 |
| CreatorFullPhotoUrl | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

URL of the user’s profile photo. This field is available in API version 28.0 and later.





 |
| CreatorName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Name of the user who posted the idea or commented on the idea. This field is available in API version 28.0 and later.



 |
| CreatorSmallPhotoUrl | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

URL of the user’s thumbnail photo. This field is available in API version 28.0 and later.





 |
| IdeaId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the idea on which this comment was made.

This is a relationship field.

Relationship Name

Idea

Relationship Type

Lookup

Refers To

Idea



 |
| IsHtml | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Read-only. If this value is true, your organization has the Ideas HTML editor enabled, and the CommentBody field may contain HTML. If this value is false, the HTML editor is disabled and the CommentBody field only contains regular text.



 |
| UpVotes | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Total number of up votes for the question.





 |

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

If you import these records, and need to set the value for an audit field, such as CreatedDate, contact Salesforce. Audit fields are automatically updated during API operations unless you request to set these fields yourself.

## Usage

Use this object to track comments on ideas, which are users' text responses to ideas.

#### See Also

- [Idea](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_idea.htm "Represents an idea on which users are allowed to comment and vote, for example, a suggestion for an enhancement to an existing product or process. This object is available in API version 12 and later.")
- [Vote](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_vote.htm "Represents a vote that a user has made on a Knowledge Article, Idea, or Reply.")