Forums / Developer / Retrieving version number while editing a draft

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Retrieving version number while editing a draft

Author Message

Jerome Despatis

Tuesday 10 November 2009 4:47:13 am

Hi

 

I'm editing an article, therefore i'm editing a draft.

And in my article, I have a custom datatype in an attribute.

The latter needs to know the current version edited (the draft), how can it get it ?

Maybe looking the url, but there's surely a better way ?

Thanks

Jerome Despatis

Tuesday 10 November 2009 4:51:44 am

Well forget my question, I haven't seen the Version attribute in my contentObjectAttributes parameter in objectAttributeContent() function...