Select to view content in your preferred language

Load an external JS when widget start

388
0
02-04-2021 05:36 AM
GuillaumeArnaud
Frequent Contributor

Hi,

I want to use this library : https://ignf.github.io/geoportal-access-lib/latest/dist/GpServices.js (documentation : https://geoservices.ign.fr/documentation/utilisation_web/bib-acces.html )

I would like load it when the widget start but I don't know how can i do this. It's ok when I put it in resources of init.js but when there are a new version of webappbuilder, if I forget to change it again widget won't work.

So is there a mean to refer this js and acces to Gp in the widget ?

Thanks.

Guillaume

0 Kudos
0 Replies