Using a gICAPI web component

This section describes how to add a gICAPI-based web component to your application.

To implement a gICAPI-based web compoent:
  1. Identify the web component you want to use and get the source code (HTML, JavaScriptâ„¢, CSS).
  2. Implement the gICAPI interface script for the web component.

    See The gICAPI web component interface script for more details about the gICAPI interface script implementation.

  3. Define the location where the front end can find the gICAPI interface files. This depends on the front end technology used by your application.

    See Deploying the gICAPI web component files for more details.

  4. Define a WEBCOMPONENT field in the form file. Use the COMPONENTTYPE attribute to define the root HTML file name describing the gICAPI web component.

    See Defining a gICAPI web component in forms for more details.

  5. Use the web component in the dialog of the program.

    See Controlling the gICAPI web component in programs for more details.

  6. If image resources are required by your web component, you must provide them as part of the gICAPI web component assets, or provide them from the program with a specific API.

    See Using image resources with the gICAPI web component for more details.