SharePoint modern pages - using API to post comments with specified date, author, etc.

%3CLINGO-SUB%20id%3D%22lingo-sub-1749278%22%20slang%3D%22en-US%22%3ESharePoint%20modern%20pages%20-%20using%20API%20to%20post%20comments%20with%20specified%20date%2C%20author%2C%20etc.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1749278%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22question-body%20post-body%22%3E%3CP%3EFor%20my%20ongoing%20project%2C%20I%20am%20attempting%20to%20post%20the%20comment%20to%20SharePoint%20modern%20page%20using%20the%20the%20below%20REST%20API.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F_api%2Fweb%2Flists('listID')%2FGetItemById(1)%2FComments%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20able%20to%20post%20the%20comments%2C%20but%20while%20posting%2C%20I%20am%20not%20able%20to%20edit%20any%20property%20of%20the%20comment%20besides%20the%20comment%20text%20like%20author%2C%20date.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20now%20possible%20to%20alter%20the%20date%20published%2C%20author%20info%2C%20etc.%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1749278%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ecomment%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

Hello,

 

For my ongoing project, I am attempting to post the comment to SharePoint modern page using the the below REST API.

 

/_api/web/lists('listID')/GetItemById(1)/Comments

 

I am able to post the comments, but while posting, I am not able to edit any property of the comment besides the comment text like author, date.

 

Is it now possible to alter the date published, author info, etc.?

 

Thanks in advance!

0 Replies