COMPONENTTYPE attribute

The COMPONENTTYPE attribute defines a name identifying the external widget for WEBCOMPONENT fields.

Syntax

COMPONENTTYPE = "name"
  1. name defines the HTML file defining the web component.

Usage

The COMPONENTTYPE attribute is used to define the type of a WEBCOMPONENT form item for gICAPI web components.

When this attribute is specified, it defines the name of the HTML file that will be loaded by the front-end. If this attribute is not defined, the web component will be specified by an URL set dynamically by program in the field value. Consider using URL-based web components instead of gICAPI web components.

See Web components for more details about web component programming.

Example

WEBCOMPONENT f001 = FORMONLY.mycal, COMPONENTTYPE="Calendar";