Vote

Represents a vote that a user has made on an Idea or a Reply.
Note
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 the Idea and Reply objects.

Supported Calls

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

Fields

Field Field Type Field Properties Description
IsDeleted boolean Defaulted on create

Filter

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

ParentId reference Create

Filter

ID of the Idea or Reply associated with this vote. For information on IDs, see ID Field Type.
Type picklist Create

Filter

Restricted picklist

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.
Note
If you are importing Vote data into Salesforce.com 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 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.com 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.com 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 for a sample query.

© Copyright 2000-2009 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.