Forum Discussion
Remove or Delete Comments on a Communication Site's Page
- Apr 02, 2018
Well you could access the comments via the Rest API as detailed here - https://www.vrdmn.com/2017/07/working-with-page-comments-rest-api-in.html and would need to build up some level of admin page in your site to use these calls and 'manage' the comments.. as in delete the ones you don't want..
Joe Ayre Work This sounds good, but I couldn't find the part where you could manage the comments. I got to Site pages -> found the news post. But couldn't find anything related to comments. Could you put a screen shot of the path here? I have created the intranet so I should have rights to delete the comments as well. Coding I don't know how to do. Thank you!
I've recorded and attached a short video to show you the required steps. In the video, I add a comment to a SharePoint page called 'Page with Comments' (page-with-comment.aspx). Then, I visit the Site Pages library, select it, open the properties panel, delete three of the comments which leaves one comment. I then open the 'Page with Comments' (page-with-comment.aspx) page to show that only one comment remains. I then add a comment to that effect and end the video.
Hope that helps. Let me know if it does.
Thanks,
Joe
- EddaSofiaJul 10, 2020Copper Contributor
YES!!! Thank you so much for the video, I highly appreciate it. I hadn't realized that I should open the details pane (hadn't seen that before). Thank you, this video was very helpful!
- Joe Ayre WorkJul 10, 2020Brass Contributor
EddaSofia No problem - glad it was helpful.
- instylerobJan 18, 2021Copper ContributorI found this super helpful as well... thnx + rgds