Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I need to know how to update likes of a Disscussion Board list item using Sharepoint REST API from a link.

I have a webpart in a page like below:
[Model Web Part]

By clicking the "Likes" link, it need to update the likes in Discussion Board of Sharepoint site.

This I need to achieve by SharePoint REST API.

Kindly suggest your ideas.....

Please note that your ideas must be related to SP REST API.

Your answers are highly appreciated :)

What I have tried:

I have tried to achieve by a custom javascript function to increment the click count and by AJAX try to update the respective item, but failed.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900