Difference between revisions of "ArticleView Options"
Yvonne.milne (Talk | contribs) (→ArticleView Section options) |
Yvonne.milne (Talk | contribs) (→example_component) |
||
Line 16: | Line 16: | ||
==example_component== | ==example_component== | ||
The example_component App includes an ArticleView Section (section3). Find the example_component App listed under 'Examples|General' in the App Names explorer panel in the [[Apps Workspace]]. | The example_component App includes an ArticleView Section (section3). Find the example_component App listed under 'Examples|General' in the App Names explorer panel in the [[Apps Workspace]]. | ||
+ | |||
+ | ==example_datamerge== | ||
+ | The example_datamerge App includes an ArticleView Section (section1) with merged data from the current record. Find the example_datamerge App in the 'Examples|Demo Cloud Apps' category in the [[Home Workspace]] or [[Apps Workspace]]. | ||
==ArticleView Section options== | ==ArticleView Section options== |
Revision as of 10:42, 21 September 2023
Contents
See Also
ArticleView Section Attributes, Attachments Options, DocumentView Options
Overview
ArticleView Sections are used to display HTML pages with a default bootstrap theme. From v5.3.
From v8.0, click the Edit Article button to open the HTML file in the WYSIWYG HTML editor in place:
example_component
The example_component App includes an ArticleView Section (section3). Find the example_component App listed under 'Examples|General' in the App Names explorer panel in the Apps Workspace.
example_datamerge
The example_datamerge App includes an ArticleView Section (section1) with merged data from the current record. Find the example_datamerge App in the 'Examples|Demo Cloud Apps' category in the Home Workspace or Apps Workspace.
ArticleView Section options
The following ArticleView Section section-specific options are available:
Database
The Database Attribute defines the database name for the data source for data-bound ArticleView Sections.
Table
The Table Attribute defines the table name for the data source for data-bound ArticleView Sections.
Data source
The Data source Attribute defines the varchar/memo column name for data-bound ArticleView Sections.
File
The File Attribute defines the HTML file to be displayed in the Section. In the example_component App, this is:
barrytest.html
As shown in the screenshot above, clicking on the keyboard icon in the Section header opens the file in the HTML Editor.
CSS stylesheet
The CSS stylesheet Attribute defines the custom CSS stylesheet for the article. From v9.0.
Note that ArticleView sections include bootstrap by default. See the articleview.rsp Lianja Server Pages script file for included stylesheets.
Editable
The Editable Attribute determines whether the file specified above is editable (based on user roles and permissions).
Merge data
The Merge data Attribute determines whether HTML content should be merged. Use {macros} in the HTML.
See the example_datamerge App for an example. From v9.3.