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
Super User
Super User

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.

- Architect Madhan

Please click the "Accept as Solution" button and give thumbs up, if it is helpful to you.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Users online (3,265)