-
2 Attachment(s)
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).
Attachment 3058
Attachment 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
-
This is a really great feature. I look forward to it. Greetings Olaf
-
2 Attachment(s)
Merged articles now handle printing in both desktop and Web.
Attachment 3060
Attachment 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";
-
1 Attachment(s)
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
Attachment 3067
-
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.