This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Retrive Old Revision

Sachin - Wednesday, October 19, 2011 9:03 AM:

hi

 I want to retrive all the document from the database But ,  I get only current revision (Updated Document Record).

   I also want to retrive old revision from the document.  How can I do this????

Please Its Very Urgent !!!!!!

Thanx

Sachin....

 

 



fli - Friday, December 9, 2011 4:15 AM:

Hi Sachin,

The first revision of an versionable Item "V1" has the property Config_id === id

the nest revision "V2" has V1.Config_id === V2.Config_id    

The config_id defines the hole revision serie.

So if you got one Item get it's config_id, the query for all Items with similar Config_id.

the result is all revisions of the Item.

I think,

Christoffer