Domanda

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.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top