Hi all! hope you have a good start of the week
Got a question, noted that Popularity is based on Likes on “replies to a post” on the Discussion Board (as seen below)
How can i remove the likes on the original post then? Doesnt seem to have any use on the original post
PS: Not sure but just asking, if there is a way to limit 1 reply to 1 post?
thanks!
Internally discussion board uses two lists: one to store the posts & other to store the replies. What yo could try is to switch off the likes/rating option in the posts list ie the list that you have created & just have it enabled in the replies list.
The name of the replies list is generated by the SharePoint & you may not see that in the site contents. You can find it using SharePoint designer.
The likes is actually stored on the item. However, I do not believe there is an out of the box way to adjust the likes after the fact. If you want to adjust the likes back to 0, you’d likely have to use CSOM/JSOM/PowerShell code to adjust the likes on the items.
One thing to note, that these items (discussion and the replies are stored as separate items in the list). Keeping the likes on both the discussions and messages is advantageous because you in the future they could be used to find the most liked discussions vs the most liked messages.
If you want to limit one response per post, you’ll also need to write code against this. You could do so by creating a workflow that runs and changes the permissions to read only permissions on the item after the first submission. That way, no one else can comment on the item.