Using a URL-based web component

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

To implement an URL-based web component:

URL-based web components are hosted on a third-party server and provide a specific service, such as a geographical location on a map. Make sure that the service is available.
  1. Identify the URL of the hosted web component you want to use.
  2. In the form file, define a WEBCOMPONENT field, without a COMPONENTTYPE attribute.

    See Defining a URL-based web component in forms for more details.

  3. In the program, set the URL of the hosted web component in the form field value.

    See Specifying the URL source of a web component for more details.

  4. In the program, detect user interactions with an ON CHANGE control block, and control the URL-based web component with dedicated front calls. See Controlling the URL web component in programs for more details.