Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Blog Post Approval Status

$
0
0

I'm using SPServices to Add/Edit/Delete items on a Blog Post collection in Sharepoint.  Everything is working as expected except the idea of Approval Status.  I can't seem to find how to change the approval status through services.

My code for updating the post works perfectly - except if I try to pass a value in for the Status of the post.  The field name seems to be:

_ModerationStatus

 

So, if I pass in a value like:  ["_ModerationStatus", 0] or ["_ModerationStatus",2] in my UpdateListItems operation, the Status is ALWAYS set to pending - and the operation DOES NOT throw an error.  So, it doesn't mind me sending the "_ModerationStatus" field, it just doesn't do anything with the data.

Is there a separate operation for changing the Status of a Blog Post item?


Viewing all articles
Browse latest Browse all 6517

Trending Articles



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