I am using the Content Service to output a set of all content nodes, most nodes are in a published state and some have been un-published - I have no problem differentiating between them and can retrieve a clean set of published nodes.
My problem comes when a previously published node has been updated, saved - but the saved changes have not yet been published.
The API seems to tag 'starred' nodes as unpublished and my filter ignores them.
Ideally I need a way to identify these nodes and to retrieve the last published state of them - any ideas?
Last published version of a saved Content node
I am using the Content Service to output a set of all content nodes, most nodes are in a published state and some have been un-published - I have no problem differentiating between them and can retrieve a clean set of published nodes.
My problem comes when a previously published node has been updated, saved - but the saved changes have not yet been published.
The API seems to tag 'starred' nodes as unpublished and my filter ignores them.
Ideally I need a way to identify these nodes and to retrieve the last published state of them - any ideas?
Hello Graeme,
Did you manage to solve this problem? Is there any one who has the answer?
https://our.umbraco.org/documentation/reference/management/services/contentservice
Published version has Published property == true
So you can get last published version this way:
is working on a reply...