Represents a vote that a user
has made on an Idea or a Reply.In API version
16.0 and earlier, SOQL queries on the Vote object only return votes
for the Idea object. Starting in API version
17.0, SOQL queries return votes for both Idea and Reply.
Supported Calls
create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()
Fields
| IsDeleted |
- Type
- boolean
- Properties
-
Defaulted on create, Filter
- Description
- Indicates whether the object has been moved to the Recycle
Bin (true) or not (false). Label is Deleted.
|
| ParentId |
- Type
- reference
- Properties
-
Group, Sort, Create, Filter
- Description
- ID of the Idea or Reply associated with this vote.
|
| Type |
- Type
- picklist
- Properties
-
Group, Sort, Create, Filter, Restricted picklist
- Description
- Picklist that indicates the type of vote. The value Up indicates that the vote is a user's
positive endorsement of the associated idea or reply. The value Down indicates that the vote is a user's
negative endorsement of the associated idea or reply.
|
If you are importing Vote data into Salesforce 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
In version 12.0 and later, use this
object to track the votes that users made on ideas. For more information
on ideas, see “Ideas Overview” in the Salesforce online
help.
In version 17.0 and later, use this object to track the
votes users made on replies. For more information, see “Answers Overview” in the Salesforce online
help.
In version 17.0 and later, you must filter using the following
syntax when querying this object in a SOQL query: ParentId = single ID, Parent.Type = single Type, Id = single ID, or Id IN (list of IDs). See Comparison Operators in the Salesforce SOQL and SOSL Reference Guide for a sample query.
A SOQL query must filter using one of the following
Parent or Id clauses.
- ParentId = [single ID]
- Parent.Type = [single type]
- Id = [single ID]
- Id IN = [list of IDs]