SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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! – sandeep talabathula Feb 2 '12 at 0:09

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.