Integrating the Widget into Arcopole Builder¶
The widget is also compatible with arcOpole Builder.
However, it can't be hosted by Isogeo and called up in the application like the Esri Portal.
The Widget code must be placed in the plug-in directory provided by Arcopole (see official documentation), then the config.json
file must be configured to call up the correct data share.
For example, for our demo Widget whose url generated in App is the following https://widget-wab.isogeo.com/8d491301f61249139918e3710cd39eb7/wak8OBU2hQX6F6rtIe3fWiRCvzFH0/manifest.json, this gives:
"apiUrl":https://isogeo-widget-esri-webappbuilder.azurewebsites.net/api,
"useUrlSecrets":false,
"share":"8d491301f61249139918e3710cd39eb7",
"token":"wak8OBU2hQX6F6rtIe3fWiRCvzFH0",
As a result, updates cannot be automated. The Widget source code must be replaced with each new version, and the parameters in the config.json
file must be preserved.