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: Hi, I am using SPServices version 0.7.2. The way to write the "url" of a list item as mentioned in this thread is not working for me. Is this working for anyone? If yes do let me know how to write the url of a list item. This is not for a document in a library. -Sameer
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: Hi, I am using SPServices version 0.7.2. The way to write the "url" of a list item as mentioned in this thread is not working for me. Is this working for anyone? If yes do let me know how to write the url of a list item. This is not for a document in a library. -Sameer