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


History

VersionStatusNotes
10.2No ChangeCarried over from Panorama 6.0