Thanks Bo. Completely forgot about /Base for a while then! Think I was focusing on webservices too much! *doh*
I took a look at the 'umbraco.webservices' project/code - curious why it is no longer shipped with Umbraco any more? The DocumentService webservice could unpublish a node (e.g. a call to the "update" method with the documentCarrier's 'publishAction' set to 'Unpublish').
But I'm going to write a few /Base methods to solve this problem - thanks again for pointing me in the right direction!
Unpublish webservice?
Does anyone know if there is a webservice available for unpublishing a content node?
I've had a look over the core API, but couldn't find anything useful. (I'm sure there was a DocumentService.asmx avaliable at one point?)
The reason I want it as a webservice is that I'd like to unpublish a node from an AJAX request (jQuery).
Also got me thinking about this other forum post: Adding Unpublish action to context menu - did anyone ever develop this?
Thanks, Lee.
Hi Lee,
There's still a DocumentService available :) In order to enable it you have to:
And there you have it.
If it can unpublish, I don't know :P
All the best,
Bo
Thanks Bo. Completely forgot about /Base for a while then! Think I was focusing on webservices too much! *doh*
I took a look at the 'umbraco.webservices' project/code - curious why it is no longer shipped with Umbraco any more? The DocumentService webservice could unpublish a node (e.g. a call to the "update" method with the documentCarrier's 'publishAction' set to 'Unpublish').
But I'm going to write a few /Base methods to solve this problem - thanks again for pointing me in the right direction!
Cheers, Lee.
is working on a reply...