getwebtabletemplate(
getwebtabletemplate(
DATABASE
,
TEMPLATE
)

The getwebtabletemplate( function converts a web table template (created by the Text Export Wizard) into the format compatible with the HTMLDataTable statement.

Parameters

This function has two parameters:

database – database that contains the table template, or “” for current database.

template – name of the web table template. Alternatively, you can put the entire blueprint for the web table into this parameter (you can access the blueprint with the Arrange>Blueprint menu item in the Text Export wizard).

Description

This function converts a web table template (created by the Text Export Wizard) into the format compatible with the HTMLDataTable statement. This example fetches the Price template for the current database, then renders the currently selected data into an HTML table in the cgiHTML variable.

    let priceTableOptions = GetWebTableTemplate("","Prices")
    htmldatatable cgiHTML,priceTableOptions

See Also

- getwebtabletemplate -- converts a web table template (created by the Text Export Wizard) into the format compatible with the HTMLDataTable statement.
- listwebtables -- generates a list of web tables (generated by the Text Export wizard) in the specified database.
- listwebtables( -- returns the list of web tables (generated by the Text Export wizard) in the specified database.
- renderwebtable -- renders a web table using records selected with WebSelect in the current database.
- renderwebtable( -- renders a web table using records selected with WebSelect in the current database.

History

Version | Status | Notes
10.2 | No Change | Carried over from Panorama 6.0