I want to know whether the component latest version is published or not in a specific publication target.

Could you please help me in placing the correct API call.

  • 1
    duplicate of tridion.stackexchange.com/questions/6124/…
    – Raj Kumar
    Commented Jul 18, 2014 at 11:08
  • I am looking for particular component(latest)version is published or not.If not published i will publish it if published i will not publish again. Commented Jul 22, 2014 at 4:40
  • so by default it will check for latest version only, the link which i posted above should answer your question.
    – Raj Kumar
    Commented Jul 22, 2014 at 7:59

1 Answer 1


SDL Tridion publishing is (currently) not version based, which means that at the time an item is published, its latest (checked in) version is used when the item is rendered. The actual version number the item had that that time is not stored on the CM side, so there also is no direct way of retrieving that via the TOM.NET API.

What you could do is write some code which checks the version history of the item, and through that determine what version was possibly published. I deliberately say possibly, since if there are items removed from history, you might not get a correct result back.


As Frank was smart enough to comment, indeed the version of each published item is actually sent along to the Content Delivery side and stored in the Broker storage (in the Items table to be specific).

So you could revert to checking the Content Delivery API, to see if you can determine the version information from there. I didn't bother checking what APIs are available for you on that side ;o)

  • IIRC the version number is stored in the broker database. Commented Jul 18, 2014 at 13:01
  • Yeah. If you have the content Delivery webservice installed, it's a very simple query...
    – Nuno Linhares
    Commented Jul 18, 2014 at 13:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.