Forum Discussion

PrashantBhojani's avatar
PrashantBhojani
Copper Contributor
Oct 06, 2020

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

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!

  • michelef's avatar
    michelef
    Copper Contributor

    PrashantBhojani hello, i have a similar scenario, i would like to update the comments on a list item using an http call in power automate, but i'm not able to make it works. could you please provide how does your rest api works? thanks in advance!!

  • Mastahh's avatar
    Mastahh
    Copper Contributor

    Did you find way how to post comments with specific date and user?

    I need migrate comments from old sharepoint and stuck now with this problem.

Resources