Difference between revisions of "ArticleView Options"
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 65: | Line 65: | ||
In the App Inspector [[Attributes]], the equivalent option is [[#Selectable|Selectable]] | In the App Inspector [[Attributes]], the equivalent option is [[#Selectable|Selectable]] | ||
+ | |||
+ | ==Data Merging== | ||
+ | [[{{ns:file}}:artviewmerge_edit.png|800px|left|border|link={{filepath:artviewmerge_edit.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_browser.png|800px|left|border|link={{filepath:artviewmerge_browser.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_options.png|800px|left|border|link={{filepath:artviewmerge_options.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_attributes.png|800px|left|border|link={{filepath:artviewmerge_attributes.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_edit.png|800px|left|border|link={{filepath:artviewmerge_edit.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_new1.png|800px|left|border|link={{filepath:artviewmerge_new1.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_new2.png|800px|left|border|link={{filepath:artviewmerge_new2.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_new3.png|800px|left|border|link={{filepath:artviewmerge_new3.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_new4.png|800px|left|border|link={{filepath:artviewmerge_new4.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_manage.png|800px|left|border|link={{filepath:artviewmerge_manage.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_select.png|800px|left|border|link={{filepath:artviewmerge_select.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_print1.png|800px|left|border|link={{filepath:artviewmerge_print1.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_print2.png|800px|left|border|link={{filepath:artviewmerge_print2.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | ===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. | ||
+ | [[{{ns:file}}:artviewmerge_library.png|800px|left|border|link={{filepath:artviewmerge_library.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
+ | |||
+ | [[{{ns:file}}:artviewmerge_deploy.png|800px|left|border|link={{filepath:artviewmerge_deploy.png}}|ArticleView Data Merging]] | ||
+ | <br clear=all> | ||
[[Category:Attribute Categories]] | [[Category:Attribute Categories]] |
Revision as of 05:28, 28 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.
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
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.