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.
create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()
Field | Details |
---|---|
IsDeleted |
|
LastModifiedById |
|
LastModifiedDate |
|
ParentId |
|
Type |
|
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..
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.