cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Multiz
Frequent Visitor

"Like Button"

in Portals, 

How do I make "like button" in a grid and make it count likes ?

(as Facebook has) 

1 REPLY 1
ArchitectMadhan
Helper V
Helper V

Hi @Multiz ,

You can insert an HTML button or Image with Like icon, On click of the button you can change the color of the Like Icon or replace it with Liked icon.

https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_toggle_like_dislike

 

Also, Create a column in the Entity as "Likes" it should be Whole Number data type. you need to update the count value by adding 1 and store it in the Entity record-> Likes field using WebApi call. 

 

https://docs.microsoft.com/en-us/powerapps/maker/portals/web-api-perform-operations

 

If you find my solution helpful for resolving the issue, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,038)