SharePoint modern pages - posting comments with specified date, author, etc.

%3CLINGO-SUB%20id%3D%22lingo-sub-1464334%22%20slang%3D%22en-US%22%3ESharePoint%20modern%20pages%20-%20posting%20comments%20with%20specified%20date%2C%20author%2C%20etc.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1464334%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EFor%20this%20project%2C%20I%20am%20attempting%20to%20load%20comment%20data%20from%20a%20SharePoint%20modern%20page%20and%20then%20re-publishing%20those%20comments%20exactly%20as%20they%20were%20first%20posted%20on%20a%20different%20site.%20I%20am%20able%20to%20get%20and%20post%20the%20comments%2C%20but%20in%20posting%2C%20I%20cannot%20seem%20to%20edit%20any%20property%20of%20the%20comment%20besides%20the%20comment%20text.%20Is%20it%20possible%20to%20alter%20the%20date%20published%2C%20author%20info%2C%20etc.%20to%20match%20the%20original%20comments%3F%20Thanks%20in%20advance!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1464334%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EComments%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

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!

1 Reply
Highlighted

@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