Results 1 to 5 of 5

Thread: How do I use Versions on the modebar?

  1. #1

    How do I use Versions on the modebar?

    After an error, can I use the Versions option to get back to a previous state?
    if yes, how do I use it?

    Also, how often is an older version stored, and does it automatically delete old entries after a certain time?

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,159
    Blog Entries
    22
    All changes are versioned in real Time. If you expand the versions tree you will see its arranged by date and within date by time. Expand the time you want to revert back to and click on the file under the time sub-branch that you want to revert. This will be displayed in the file viewer panel on the right. On the top right if the header bar is a revert icon. Click it and the file will be reverted back to that version and the app reloaded.

    you can roll back and forward to any point in time.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,259
    Yes you can.
    Please see attached screenshot demonstrating how to restore the lianjademo App from the version saved at 12:16:05 on 05-Feb-2013. The lianjademo.lianja file is the main App file.
    App files are backed up when you open the App, close the App or click Save App (Page Builder). Scripts (.prg, .js, .php etc) in an App are backed up when you save changes. Backed up files are not deleted automatically. They can be found in the 'backups' sub-directory of the App, e.g. for the lianjademo App on default installation Windows: C:\Lianja\apps\lianjademo\backups.

    Link to screenshot: http://www.lianja.com/doc/images/1/1...ons_080213.png
    Attached Images Attached Images  
    Last edited by lianjasupport; 2013-02-08 at 04:01. Reason: Removed attached screenshot and added link as text not clear

  4. #4
    Thanks for the info. Very useful capability.

    Do the version backups files accumulate indefinitely?
    Should one manually delete old ones?
    Can one just delete the folder in Windows Explorer?

  5. #5
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,159
    Blog Entries
    22
    Yes they just go on forever.

    You can select a branch for a particular month and click the delete icon in the header bar.

    Yes you can delete in windows explorer just do it when you don't have the app builder running (although it probably will adjust the contents of the tree for you automagically).

    Nice thing about the versions workspace is that you can roll backwards and forwards in time.

    If you use dropbox for your development folders you get the advantage of automatic backups into the cloud as well.
    Last edited by barrymavin; 2013-02-09 at 13:14.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us