Access file current version with ilogic

Access file current version with ilogic

MarcoMoura9852
Enthusiast Enthusiast
338 Views
2 Replies
Message 1 of 3

Access file current version with ilogic

MarcoMoura9852
Enthusiast
Enthusiast

Hello All,

 

Can anyone explain how can I access the "file current version" propertie, with ilogic? (what is the ilogic function...)

 

MarcoMoura9852_0-1664188825959.png

 

The propertie is marked yellow on the picture.

Also, as far as I know, this propertie is only visible when i access iproperties thru windows file explorer.

 

Can someone help me?

 

Thank you.

 

 

 

0 Likes
Accepted solutions (1)
339 Views
2 Replies
Replies (2)
Message 2 of 3

Michael.Navara
Advisor
Advisor
Accepted solution

Here is code to access some of this properties

Dim oDoc As Document = ThisDoc.Document

Dim currentVersion = oDoc.FileSaveCounter
Dim previousVersion = currentVersion - 1 ' NO API
Dim nextVersion = currentVersion + 1 ' NO API 
Dim createdWith = oDoc.SoftwareVersionCreated.DisplayName
Dim lastUpdateWith = oDoc.SoftwareVersionSaved.DisplayName
Dim needsMigrating = oDoc.NeedsMigrating

 

Message 3 of 3

MarcoMoura9852
Enthusiast
Enthusiast
Thank you!
0 Likes