Deploying the gICAPI web component files
Deploy web component files to the front-end platform before using gICAPI web components.
Standard Genero gICAPI Web Components
The Genero BDL package provides a set of common, ready-to-use web components, that can be used in your application.
The Genero BDL Web Components are located in $FGLDIR/webcomponents and are found by default with any type of front-end configuration.
As these files are part of the FGLDIR installation directory, no deployment is required.
Deploying the HTML document and the JavaScript gICAPI interface
The gICAPI web component files (main HTML file, additional JavaScript files and other potential assets) must be available on the platform where the front-end executes. Depending on your configuration, Genero supports several solutions to provide the gICAPI web component files from a single location. In a distributed configuration with many individual front-end nodes, consider centralizing the gICAPI files on a server, instead of copying the gICAPI web component files manually to each front-end device.
Recommended web component directory layout
appdir
appdir/main.42m
appdir/form1.42f
appdir/form2.42f
appdir/webcomponents/3DChart
appdir/webcomponents/3DChart/3DChart.html
appdir/webcomponents/3DChart/3DChart.js
appdir/webcomponents/3DChart/3DChart.css
appdir/webcomponents/3DChart/icon_close.png
...
Deployment methods for front-end types
Defining the gICAPI files search path by program
With older versions, it was possible to use the setWebComponentPath front call, to define by program the base URL to the web component files.