Hi all,
I can not seem to usethis request to restore my SP calendar event back to a previous version.
I have tried various versions but have been unable to make the event go back to a previous version without getting errors 401 and 400.
Can anybody advise on what I am doing wrong?
Thanks
Ethan
Please see requests screenshot below.
Hi @EthanSSEH,
Please have a try with the following operation:
_api/web/GetFolderByServerRelativeUrl('library')/Files('document')/Versions/restoreByLabel('VersionLabel')
I hope it helps.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
REFERENCING: ..com/sites/ABC/Lists/XYZ/calendar.aspx
I tried this solution taking ABC as the Library and XYZ as the file. I think this reverts the whole calendar to a previous version which is not what I want to do.
I have a calendar stored in site contents and I am looking to use the patch request to restore a previous version of any item that is modified if the modification is rejected. The idea is that if somebody modifies an event in the calendar and that identification is rejected it is automatically reverted to its previous version.
How would I use the above to tackle this?
Hi @EthanSSEH,
The events of the calendar are stored as list items in SharePoint. Currently, the SharePoint connector gets the latest information of the list items and has no way to get the previous value of the item. As a workaround, I recommend saving the information elsewhere to display that you want to achieve.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can restore a file in a documnet library fine with /restoreLabel('2.0') - but cannot seem to do it on a list item... has anyone found a way to restore a list item ?
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
41 | |
31 | |
29 | |
28 | |
26 |