Likes LinkButton in my javascript CSR RRS feed

  • Question

  • Hi 

    I am using sharepoint 2013. I enabled likes in list. I am using Client Side rendering to show data list in different div's. 

    I want to have a Link in that each div similarly as in list. When user click that LinkButton it automaticall must show UNLIKE and it must be linked to actual likes of that sharepoint list so if i like the count must increase.

    so how can I achieve that.

     function RenderAccordionViewBodyTemplate(renderCtx) 


    //accessing list items 

                                    wikiHtml += ' <p ><span>Title: </span>';
    wikiHtml += title;
    wikiHtml += '</p>';


    Here how to access that NumberofLikes linkButton?

    Please guide me


    Remember Past Challenge Future"

    Thursday, January 21, 2016 7:44 AM