ArticleView Options

From Lianjapedia
Revision as of 05:32, 28 September 2023 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

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.

ArticleView Section


From v8.0, click the Edit Article button to open the HTML file in the WYSIWYG HTML editor in place:

ArticleView Section


ArticleView Section


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.

Selectable

The Selectable Attribute determines whether the article is selectable by the end-user (operates as article viewer).

From v9.3.

In the Page Builder Assistant, the equivalent option is Article viewer

Article viewer

The Page Builder Assistant Article viewer option determines whether the article is selectable by the end-user (operates as article viewer).

From v9.3.

In the App Inspector Attributes, the equivalent option is Selectable

Data Merging

ArticleView Data Merging


ArticleView Data Merging


ArticleView Data Merging


ArticleView Data Merging


ArticleView Data Merging


ArticleView Data Merging


ArticleView Data Merging


ArticleView Data Merging


ArticleView Data Merging


ArticleView Data Merging


ArticleView Data Merging


ArticleView Data Merging


ArticleView Data Merging


Library Workspace

ArticleView files now have their own category section in the Library Files tree. Right-click to display the context menu and select New Article... to create a new ArticleView File and open the HTML Editor.

ArticleView Data Merging


Deploy Workspace

ArticleView files now have their own category section in the Deploy Files tree.

ArticleView Data Merging