Results 1 to 5 of 5

Thread: Coming in Lianja 9.3

  1. #1
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22

    Coming in Lianja 9.3

    I have added document data merging into Lianja 9.3

    The "ArticleView" section now handles:

    - {Macro} substitution when an article is displayed
    - {template:filename} insertion from the templates/articles directory (filename may be static text or a .rsp, .pysp or .jssp server page).
    - {insertfile:filename} insertion from the app directory (filename may be static text or a .rsp, .pysp or .jssp server page).

    Click image for larger version. 

Name:	Screen Shot 2023-09-19 at 12.38.16 PM.jpg 
Views:	107 
Size:	95.6 KB 
ID:	3058

    Click image for larger version. 

Name:	Screen Shot 2023-09-19 at 12.37.54 PM.jpg 
Views:	118 
Size:	99.6 KB 
ID:	3059

    You can insert HTML that is dynamically generated in a .rsp page, a python .pysp page or a javascript .jssp page.

    This provides the ability to dynamically generate HTML content with tables, images etc into the displayed document
    Last edited by barrymavin; 2023-09-19 at 06:58.
    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

  2. #2
    Senior Member
    Join Date
    Oct 2019
    Posts
    341
    This is a really great feature. I look forward to it. Greetings Olaf

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Merged articles now handle printing in both desktop and Web.

    Click image for larger version. 

Name:	Screen Shot 2023-09-21 at 11.49.31 AM.jpg 
Views:	85 
Size:	61.4 KB 
ID:	3060


    Click image for larger version. 

Name:	Screen Shot 2023-09-21 at 11.48.58 AM.jpg 
Views:	81 
Size:	66.8 KB 
ID:	3061

    Note also that you can dynamically change what HTML file is displayed in the "ArticleView" section.

    So you can create / edit articles in the App Builder and specify HTML layout and data bound {macros} in the HTML editor.

    You can then have a combo in your app that selects articles that the user can print in both desktop and web.

    Code:
    var sec = Lianja.get("page1.section2");
    // the section is automatically generated and displayed when the file is changed
    sec.file = "another article.html";
    Last edited by barrymavin; 2023-09-21 at 05:56.
    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

  4. #4
    Senior Member
    Join Date
    Oct 2019
    Posts
    341
    Barry in the announcement you announced the macros for HTML text for version 9.3. In the example shown, {employees.Lastname} and {date()} were shown. If I use these fields, these fields are not converted and remain displayed {date()}. What have I missed or is this function not yet available in the beta version? Greetings Olaf
    Name:  Bild1.png
Views: 44
Size:  23.5 KB

  5. #5
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Firstly you have got the section relationship incorrect I can see from your screenshot.

    What type of section is section3? Macros only work with ArticleView sections NOT WebView sections.

    Open the example_datamerge app and navigate the records.
    Last edited by barrymavin; 2023-09-26 at 14:43.
    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