1 Reply Latest reply on Feb 1, 2010 12:37 AM by Dallas Kuhn

    Revision number in forms.

    swindoncowboy

      Hi,

       

      I have a series of forms that are stored in a subversion repository.  I want to be able to display the repository's version onto the form.  Does anyone know if this is possible?  We can do this with SSRS reports and stored procedures but this is through SQL Server Manager and Visual Studio.

       

      Can Adobe LiveCycle achieve this?

       

      thanks,

      Paul

        • 1. Re: Revision number in forms.
          Dallas Kuhn

          If you mean the version number of the SVN commit, then yes it is possible. I

          use script objects for all my functions and right at the top of the file i

          create a variable (e.g. var version = "$Id:$";). Then on the XDP file right

          click and go to TortoiseSVN > Properties and create a new property

          (svn:keywords) with a property value (Revision HeadURL Id) . Each time the

          XDP is committed, it updates the variable with the latest date, time and

          user commit info.