I have been using the above api to unpublish a page. it seems to work in the cms end, the document shows as unpublished, however on the front-end it shows as still being published? is there something else i need to do to refresh the umbraco.config xml?
unpublishing using umbraco api doesnt reflect on the font end
I have been using the above api to unpublish a page. it seems to work in the cms end, the document shows as unpublished, however on the front-end it shows as still being published? is there something else i need to do to refresh the umbraco.config xml?
found the answer. need to use umbraco.library.UnPublishSingleNode(d.Id); after using d.unpublish();
is working on a reply...