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.
-
Identify the URL of the hosted web component you want to use.
-
In the form file, define a WEBCOMPONENT field, without a
COMPONENTTYPE attribute.
See Defining a URL-based web component in forms
for more details.
-
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.
-
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.