Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Like/Unlike a SharePoint List Item


I have a custom list in SharePoint Online with the rating activated.

In my PowerApp, I have a button to like/unlike an item.

The property available for the like/unlike is "LikedBy" which is a list of Claims Users.

With this code, I can add/remove the current user to/from the list which simulate the like/unlike.


If(IsBlank(First(Search(LikedBy, "i:0#.f|membership|" & Lower(User().Email), "Claims"))), UpdateIf(Improvements, Title = Title, {LikedBy:Collect(LikedBy, {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",Claims:"i:0#.f|membership|" & Lower(User().Email),Department:"", DisplayName:User().FullName,Email:User().Email,JobTitle:".",Picture:User().Image})}), UpdateIf(Improvements, Title = Title, {LikedBy:RemoveIf(LikedBy, Claims = ("i:0#.f|membership|" & Lower(User().Email)))}))


It works well in term of considering that the item is liked or unliked.

The problem is that the Number of likes is not updated.


I can see in different articles that there is another property called "LikesCount" but it is not available here.


Is there something I missed?

Can you help me please?

Thanks a lot.


Community Support Team
Community Support Team

Re: Like/Unlike a SharePoint List Item

Hi @_fabrice_,


Could you please share a bit more about your SharePoint list which has enabled Rating option?


I have made a test and the issue is confirmed on my side. The number of likes is not updated within my SharePoint list when I like an item within my PowerApps.


In addition, I could not find the LikeCount property within my PowerApps app Form (and SharePoint list). If you want to update the number of likes of an item within your PowerApps app, I afraid that there is no way to achieve your needs in PowerApps currently.


If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:


Best regards,


Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: Like/Unlike a SharePoint List Item

Hi, did you manage to find a solution to updating the number of likes?

Helpful resources


Power Apps Super User Class of 2020

Check it out!


New Badges

Check it out!


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,261)