Select to view content in your preferred language

Saving ArcGIS dynamic map service permanently to web app builder

197
0
03-14-2022 12:34 AM
Labels (1)
JayakumarPD
Occasional Contributor

Hi, Need inputs regarding customizing the widget to save the arcgis dynamic map service permanently into web app builder.

I have build a widget, which reads the map service from (already added) map and creates the dropdown with some relevant attributes from map service.  It is working fine. Widget code snippet kept enclosed.

Now the challenge is, this tool has to be given for inhouse staff to read the map service and add it to web app builder. I could able to add, but how to save this permanently to web app builder.

 

 bindDynamicService() {
      if (this.adminRadioBtn1.checked) {
        console.log("I am checked");
        var dynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer(
          "https://stg1.ksrsac.in/kgismaps/rest/services/Boundaries/Admin_Dynamic/MapServer"
        );

        this.map.addLayer(dynamicMapServiceLayer);
        
      }
    },

  How to save this permanently, so I can read those again and provide an interface to choose the limited service for creation of dropdown.

0 Kudos
0 Replies