Try our conversational search powered by Generative AI!

Geting version IDs of page versions programatically

Vote:
 

Hi,

Is it possible to get the version IDs of the page versions in the version list in Edit mode programatically?

I've looked at the MasterVersionID property of PageVersion, but this doesn't seem to correspond to the IDs in the version list.

 

#60183
Jul 24, 2012 10:30
Vote:
 

Hi,

PageVersion.ID should correspond with version ID displayed as a tooltip for the version number in the list. The sequential numbers displayed in the Version column of the list are just indexes of items in a collection returned by DataFactory.Instance.ListVersions(PageLink)

#60191
Jul 24, 2012 12:10
Vote:
 

Ok, thanks!

#60194
Jul 24, 2012 14:02
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.