Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

SharePoint 2013 - Approve a documentSet or folder using REST

$
0
0

Hello,

i have a document library in which the content approval is enabled. Inside it, once i create a documentSet, the ModerationStatus is pending (which is normal).

So i'm trying to change this status using REST with no success.

  • The approve is only available for files and if i try to make a getfilebyserverrelativeurl with the document set URL -> 404
  • Trying to change the OData__ModerationStatus with a MERGE, changes nothing; ModerationStatus and ModerationComments same thing
  • Trying to use _vti_bin, same thing ..

Has anyone faced this problem before? is there a way to approve a documentSet or a folder from REST?

Will this be fixed at least in SharePoint 2016? in O365 today, not possible also (with what i've tried)

Thank you in advance.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>