savewebtemplate
DATABASE
,
FORM
,
TEMPLATE

The savewebtemplate statement saves a web template (a dictionary) associated with a form.


Parameters

This statement has three parameters:

database – name of the database that contains the form, or “” for the current database. The specified database must be open

form – name of the form the template is associated with, or “” for the current form.

template – web template (a dictionary).


Description

This statement saves the web template (a dictionary) associated with a form. This example creates a web template from the currently open form, and then saves that template into the form.

let formTemplate = initializedictionary(
    "DATABASE", dbname(),
    "FORM", info("formname")
)
makeformwebtemplate formTemplate
savewebtemplate "","",formTemplate

See Also


History

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