Skip to main content
edited tags
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345
Source Link
kukis
  • 33
  • 6

ArcGIS JS api - how to hide attributes editor when new graphic is added

I use ArcGIS Javascript api in 3.12 version. I have followed this sample in order to display editing toolbar plus template picker. It works pretty good. However I would like to hide popup window with attributes editor which is displayed after new graphic is added. That's because I already have attached to every FeatureLayer my own InfoTemplate:

    var template = new InfoTemplate();
    template.setTitle("Object");
    template.setContent(getPassportLink);
    var layer = new Dependencies.FeatureLayer(layers[i].serviceUrl, {
        mode : Dependencies.FeatureLayer.MODE_ONDEMAND,
        infoTemplate : template,
        outFields : [ "*" ],
    });

How can I achieve that?