Skip to content

Add the Widget to an Experience Builder application

  1. Log on to Portal as administrator ;
  2. Go to the Content tab;
  3. Creating an Experience Builder application ;
  4. Select a model (we recommend the Option Box template and replacing the List Widget on the left with the Isogeo Widget) ;
  5. Add the Isogeo widget from the Insert a Widget menu in the Custom section; "Add the widget to an application
  6. The widget configuration file can be edited directly from the Portal interface. The configuration will only apply to the application (see Other possible configurations).

Warning

To add the Widget to an Experience Builder application, a map must already be integrated into the application beforehand. Otherwise, it will not load.

Other possible configurations

You can also modify the following parameters:

  • dataset-only: If this parameter is set to true, only non-geographic raster, vector and tabular records will be proposed. Otherwise, service and resource records will also be proposed in the search
  • addMapServiceLayerAsFeatureLayer: Add data to the map as a service or as a layer. In the first case, the entire Map Service is added to the map when a layer is added. This makes it possible to display certain symbologies that are not displayed in FeatureLayer.
  • zoomOnAddedLayer: Zoom the map to the service layer's footprint after it has been added.
  • proxyApiUrl: Url of the proxy managing calls to the Isogeo API (reserved for the Isogeo team)
  • useToken:
    • If set to true, the Widget will connect to the proxy using the share identifier and token indicated in the manifest url.
    • Otherwise, it will call the proxy using the share identifier and token configured just below.
  • share: share identifier for local installation
  • token: security token identifier for local installation
  • filters: Whether or not to display the advanced filters below
    • filter-owner: Display filter on owner
    • filter-thematic: Display filter on themes
    • filter-keyword: Display filter on keywords
    • filter-thematic-inspire: Display filter on Inspire themes
    • filter-type: Display filter on resource type
    • filter-format: Display filter on formats
    • filter-coordinates: Display filter on map extent
    • filter-actions: Display filter on possible actions (View, Download or Other)
    • filter-licences: Display filter on licenses
    • filter-contacts: Display filter on contacts
  • multifilters: Whether or not to enable multiple-item selection for the filters below
    • filter-thematic: Enable multiple selection on themes
    • filter-keyword: Enable multiple selection on keywords
    • filter-thematic-inspire: Enable multiple selection on Inspire themes
    • filter-actions: Enable multiple selection on possible actions (View, Download or Other)
    • filter-licences: Enable multiple selection on licenses
    • filter-contacts: Enable multiple selection on contacts
  • relationGeo: geometric parameter for right-of-way searches sent to the Isogeo API (reserved for the Isogeo team)
    • Intersects: The data touches the map in some way (default value)
    • Contains: The data encompasses the entire map.
    • Disjoint: The data is completely outside the map.
    • Equals: The data's extent exactly matches the map's.
    • Overlaps: The data partially overlaps the map.
    • Within: The data fits entirely within the map.
  • layerSelectionEnabled: Whether or not to display the layer selection window when several service layers are associated with the data. If not, the following priority applies:
    • EMS (if several, the first associated layer is added to the map)
    • EFS (idem)
    • WMS (idem)

Note

For your information, the portal will automatically load the configuration entered in the catalog/config.json file each time the widget is added to a new Experience Builder application. In an existing application, check that the user has not modified the widget configuration.

Add icon to Widget controller

If you want to add the Widget to the Experience Builder controller widget, you'll need to add a PNG-format icon. To do this :

  1. Open the PNG icon at this link, then right-click, save image as.
  2. Click on the Catalog icon which is not displayed in the controller. "Modify icon in widget controller"
  3. Click on the Catalog icon.
  4. In My icons, click on the +.
  5. Import icon as PNG. "Import icon into widget controller"