Forum Discussion
SharePoint modern pages - posting comments with specified date, author, etc.
For this project, I am attempting to load comment data from a SharePoint modern page and then re-publishing those comments exactly as they were first posted on a different site. I am able to get and post the comments, but in posting, I cannot seem to edit any property of the comment besides the comment text. Is it possible to alter the date published, author info, etc. to match the original comments? Thanks in advance!
2 Replies
AThamburajAs you might be already aware Comments are not stored in the page list item and they appear to be stored in a some sort of storage container which only allows to retrieve or add through API calls. I have not came across any edit ability which will suppress creation date and allow you to input yours. For now I will assume there is noway it can be done. But if anyone has any thoughts or workaround I am following the post to learn more.
Thanks
Vik
- marc756Copper Contributor
Since the API seems to be the only way to migrate Sharepoint items with comments to another site, I stumbled across the same limitation. All migrated comments receive the current date as the creationDate. Very annoying, but there does not seem to be a solution to this.