Click here to Skip to main content
14,545,215 members
Rate this:
Please Sign up or sign in to vote.

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.

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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100