Old versions and directory styles

Build 1501 on 14/Nov/2017  This topic last edited on: 25/Aug/2014, at 12:55

When displaying an object old version using a directory style it is now possible to display when the version was created and by whom using the new 'VersionCreation' extra, e.g:

  . . .

  <xp:StackPanel Orientation="Horizontal">

    <xp:TextBlock Text="Version created by: " />

    <xp:TextBlock Text="{Binding Path=[object:VersionCreation.UserDesc]}" FontWeight="Bold" />

  </xp:StackPanel>

  <xp:StackPanel Orientation="Horizontal">

    <xp:TextBlock Text="Version created on: " />

    <xp:TextBlock Text="{Binding Path=[object:VersionCreation.Time]}" FontWeight="Bold" />

  </xp:StackPanel>

  . . .

produces:

versions21

The available values are:

VersionCreation.UserDesc - descriptive name of the user that created the version;

VersionCreation.UserId - database id of the user that created the version;

VersionCreation.Time - when the version was created;

VersionCreation.LoginGuid - GUID of the login used to create the version.