getwebtemplate(
DATABASE
,
FORM
)

The getwebtemplate( function retrieves the web template (a dictionary) associated with a form (if any).


Parameters

This function has two parameters:

database – name of the database that contains the form. If this parameter is “” or omitted, the template will be retrieved from the current database. The specified database must be open

form – name of the form the template is associated with.


Description

This statement retrieves the web template (a dictionary) associated with a form (if any).

let signUpFormTemplate = getwebtemplate("Sign Up")

A template can be fetched from any open database.

let signUpFormTemplate = getwebtemplate("Membership Database","Sign Up")

See Also


History

VersionStatusNotes
10.2UpdatedCarried over from Panorama 6.0, but now stores the template in the form itself, and optionally allows a database to be specified.