From Chris Quick:
Here are some of the functions that I would definitely use within 2010 scripting solutions:
· GetRatingOnUrl
· GetRatingAverageOnUrl
· SetRating
The challenge is these don’t seem to be documented at all by MSDN, so I’m not sure what caveats there are to using these methods. Also, I have been poking around in the ratings.js file and it appears the javascript makes use of the social data web service – why it doesn’t work with a CQWP is beyond my understanding at this point. I want to be able to provide a quick and easy way to include a rating on an item using javascript. It’s easy enough with list views, but the CQWP doesn’t seem to have all the necessary dependencies for the rating control.
Comments: Sameer: This is a very old, closed issue. I'd suggest posting in the discussions instead, as few people other than me follow the Issue Tracker. It's also much easier to post code. If you can post what you've already tried, it would be easier to help you. M.
Here are some of the functions that I would definitely use within 2010 scripting solutions:
· GetRatingOnUrl
· GetRatingAverageOnUrl
· SetRating
The challenge is these don’t seem to be documented at all by MSDN, so I’m not sure what caveats there are to using these methods. Also, I have been poking around in the ratings.js file and it appears the javascript makes use of the social data web service – why it doesn’t work with a CQWP is beyond my understanding at this point. I want to be able to provide a quick and easy way to include a rating on an item using javascript. It’s easy enough with list views, but the CQWP doesn’t seem to have all the necessary dependencies for the rating control.
Comments: Sameer: This is a very old, closed issue. I'd suggest posting in the discussions instead, as few people other than me follow the Issue Tracker. It's also much easier to post code. If you can post what you've already tried, it would be easier to help you. M.