function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sravusravu 

Total Number of Votes voted by a user

Hi,

 

I have a requirement where i need to get the total number of votes that the logged in user has voted. There is a field Called votetotal on ideas object but, it is giving both positive and negative points. I want to get the number of votes whether it might be positive or negative.

 

Does any one has any idea how to query this as Vote is a child object of idea it is not allowing me to use count on vote object