Results 1 to 3 of 3

Thread: Run Database Doc as a command?

  1. #1
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,073

    Run Database Doc as a command?

    Is it possible to run the database doc as a command that outputs in a displayable format?

    Printing to PDF does carry over the collapsible labels.

    I can see a number of uses, including keeping a version-based copy as documentation for a given version.

    thanks,

    Hank
    Last edited by HankFay; 2020-11-15 at 22:08.

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,275
    I've added these two methods to 5.5.1 which should be released today as the GA version.

    The app and/or must be open.

    You can open an app in code using Lianja.openApp(cAppname)

    Database doc can be generated like this:

    push database
    open database name
    Lianja.generateDbDoc(cFilename)
    pop database

    And App doc like this:

    Lianja.generateAppDoc(cFilename)

    Make sure you specify the cFilename as a path otherwise it will be generated into the current directory. If no extension is specified .html is used.

    Incidentally these are written in LIanjaScript.

    lib:/generate_appdoc.rsp
    and
    lib:/generate_dbdoc.rsp

    You could study them and modify theme to suit your needs,
    Last edited by barrymavin; 2020-11-15 at 23:44.
    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 MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,073
    Took you long enough. <gd&rvvf>

    Thanks!

    Hank

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