Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a requirement to read the individual rating counts on for each of the sharepoint list item.

Ex:

  • 1 star - count 32
  • 2 star - count 23

    ...

  • 5 star - count 2

Currently I'm using SocialRatingManager for reading the rating count. But it gives single count for all rating types.

Thanks for the help in advance.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You just need to use GetRatings Method instead of GetRating to get all rating for a given URI.

http://msdn.microsoft.com/en-us/library/ee575644.aspx

share|improve this answer
    
Ashish.. You are the man! I like it.. thanks for this answer. helped me a lot! –  sandeept Feb 2 '12 at 0:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.