Update Average Rating type field

How to update an Average Rating type of field from Star Rating to Likes in a SharePoint Online list using a Power Automate flow.

URI

Headers

Body

Not applicable

Screenshot with example

Sample data
ListId – ‘3e63a642-59fe-4419-8dad-375ac0a3f006’ (Don’t forget the single quotes. The value also needs to be encoded, the encodeUriComponent function is used for that)
ratingType – 2 (Star Ratings is 1, Likes is 2)

updateaverageratingfield

Expected response

HTTP statusCode with 200 with a SetListRating null value returned.

Copy/paste example

Expected End result

numberoflikes

Resources

Add a ratings feature to your library

That’s it, Happy testing!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.