web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch Like to Sharepoi...
Power Apps
Unanswered

Patch Like to Sharepoint List

(0) ShareShare
ReportReport
Posted on by 776

Hello Experts,

 

How do i patch 'Like' to sharepoint list.

 

AshishJaiswal_0-1626250457030.png

 

I would like to set the onselect property to patch like to sharepoint list.

 

If the person has already liked it then 'like' button should be grayed out.

 

Please help

 

Categories:
  • WarrenBelz Profile Picture
    156,748 Most Valuable Professional on at

    @AshishJaiswal ,

    Two questions (quite separate) there. If you are running the Patch from the icon (assuming a text field here)

    Patch(
     ListName,
     ThisItem,
     {YourLikeField:"Like"}
    )
     

    DisplayMode of icon

    If(
     ThisItem.LikeField="Like",
     DisplayMode.Disabled,
     DisplayMode.Edit
    )
     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

     

  • AshishJaiswal Profile Picture
    776 on at

    @WarrenBelz 

    Hello Sir,

     

    Getting below error

     

    Patch('MyList',ThisItem,{'Liked By':"Like"})

     

     

    AshishJaiswal_0-1626253411257.png

     

    About the column and its type 

    AshishJaiswal_1-1626253588961.png

    AshishJaiswal_2-1626253621489.png

     

  • WarrenBelz Profile Picture
    156,748 Most Valuable Professional on at

    @AshishJaiswal ,

    What type of field is that?

  • AshishJaiswal Profile Picture
    776 on at

    @WarrenBelz 

     

    AshishJaiswal_0-1626261037788.png

     

  • WarrenBelz Profile Picture
    156,748 Most Valuable Professional on at

    @AshishJaiswal ,

    Does not help - what type of field is it in SharePoint Field Definition? I have never used Ratings - how does it show?

  • AshishJaiswal Profile Picture
    776 on at
  • WarrenBelz Profile Picture
    156,748 Most Valuable Professional on at

    @AshishJaiswal ,

    Can you please go to List Settings and show me the field

  • AshishJaiswal Profile Picture
    776 on at
  • WarrenBelz Profile Picture
    156,748 Most Valuable Professional on at

    @AshishJaiswal ,

    I have never used that field type - try FieldName.Value as the property.

    I did a test here and could not even get the field to come up in a form or Gallery.

    What properties do you have on that icon in the gallery?

  • AshishJaiswal Profile Picture
    776 on at

    @WarrenBelz 
    To get that field to come up 

     

    you need to change the below setting in your sharepoint list under rating 


    AshishJaiswal_0-1626350317994.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard