<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Stop infoWindow appearing when editing in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564564#M52695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This may be a crude solution, but whenever I have to do something like this, I create a variable called counter and set it equal to 0.&amp;nbsp; For the identify function, I check to see if counter = 0 before it does anything else.&amp;nbsp; When the user clicks a button to begin editing, the edit function immediately sets counter = 1, so whenever the user clicks on a feature, though the identify function is still called, it doesn't actually do anything since it fails the if statement.&amp;nbsp; When the edits are finished, I set counter equal to zero again so they can resume identifying features.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2012 12:13:40 GMT</pubDate>
    <dc:creator>BrettGreenfield__DNR_</dc:creator>
    <dc:date>2012-12-07T12:13:40Z</dc:date>
    <item>
      <title>Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564548#M52679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully a simple one, but I can't crack it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the editor and template picker to allow editing of a layer through the API and this works great.&amp;nbsp; However in this instance there is no need for the infoWindow to appear when a user clicks a shape to edit, i.e. I don't want it to pop-up, I just want to be able to edit the shape, not the attributes.&amp;nbsp; So how do you prevent the infoWindow appearing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Mar 2011 11:22:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564548#M52679</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2011-03-27T11:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564549#M52680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Hopefully a simple one, but I can't crack it.&lt;BR /&gt;I'm using the editor and template picker to allow editing of a layer through the API and this works great.&amp;nbsp; However in this instance there is no need for the infoWindow to appear when a user clicks a shape to edit, i.e. I don't want it to pop-up, I just want to be able to edit the shape, not the attributes.&amp;nbsp; So how do you prevent the infoWindow appearing?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;Mark.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;add map.infoWindow.hide(); in your event handler to hide the infoWindow.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 19:13:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564549#M52680</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-03-28T19:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564550#M52681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for that.&amp;nbsp; What event works with this?&amp;nbsp; I have tried a few things that don't work, and I can use map.infoWindow.hide() to hide the window a split second after it appears, but not to stop it appearing in the first place.&amp;nbsp; Can you please post the code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 06:51:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564550#M52681</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2011-03-29T06:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564551#M52682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for that.&amp;nbsp; What event works with this?&amp;nbsp; I have tried a few things that don't work, and I can use map.infoWindow.hide() to hide the window a split second after it appears, but not to stop it appearing in the first place.&amp;nbsp; Can you please post the code?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;could be in&amp;nbsp; dojo.connect(map, "onClick", function(evt){ map.infoWindow.hide();.... }); or&amp;nbsp; dojo.connect(yourfeaturelayer, "onClick", function(evt){ map.infoWindow.hide();.... }); depending upon your code logic..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 12:09:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564551#M52682</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-03-29T12:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564552#M52683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These don't work.&amp;nbsp; I have tried both.&amp;nbsp; The problem is the hide(), it is not a 'stop', so the infoWindow still shows, so in the case of the event ideas you suggest I expect the hide() actually fires before the show, or I can put some logic in my code to hide() a split second after the show, but the infoWindow still shows for a split second.&amp;nbsp; I think I need to disable the infoWindow by some other technique but I don't know what.&amp;nbsp; With the Identify code you actually code the infoWindow.show() to open the infoWindow at the appropriate time, but that seems to be hidden with the editor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 13:21:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564552#M52683</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2011-03-29T13:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564553#M52684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;These don't work.&amp;nbsp; I have tried both.&amp;nbsp; The problem is the hide(), it is not a 'stop', so the infoWindow still shows, so in the case of the event ideas you suggest I expect the hide() actually fires before the show, or I can put some logic in my code to hide() a split second after the show, but the infoWindow still shows for a split second.&amp;nbsp; I think I need to disable the infoWindow by some other technique but I don't know what.&amp;nbsp; With the Identify code you actually code the infoWindow.show() to open the infoWindow at the appropriate time, but that seems to be hidden with the editor.&lt;BR /&gt;&lt;BR /&gt;Mark.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you might want to set map's showInfoWindowOnClick as false as default and only show it when necessary. like this &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map = new esri.Map("map", {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; ......,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; showInfoWindowOnClick:false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; });&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 14:37:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564553#M52684</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-03-29T14:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564554#M52685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, that doesn't work either, I have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map = new esri.Map("mapDIV", { extent: customExtent, showInfoWindowOnClick:false });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the infoWindow still appears when editing, the above probably only applies to the Identify.&amp;nbsp; Any chance you feel like trying it to make sure it's not just me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 14:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564554#M52685</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2011-03-29T14:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564555#M52686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;No, that doesn't work either, I have:&lt;BR /&gt;map = new esri.Map("mapDIV", { extent: customExtent, showInfoWindowOnClick:false });&lt;BR /&gt;&lt;BR /&gt;And the infoWindow still appears when editing, the above probably only applies to the Identify.&amp;nbsp; Any chance you feel like trying it to make sure it's not just me?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Well i looked at the API carefully. It stated showInfoWindowOnClick:false only works "&lt;/SPAN&gt;&lt;STRONG&gt;if the Graphic has a defined InfoTemplate when the user clicks on the graphic&lt;/STRONG&gt;&lt;SPAN&gt;". I tested it. showInfoWindowOnClick:false indeed worked on a layer (feature or graphiclayer) which has a defined infoTemplate. It did not honored if the layer has no infoTemplate attached. You might have to define a infoTemplate so you can workround it. Good luck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 16:52:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564555#M52686</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-03-29T16:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564556#M52687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate all your responses, but I'm still getting nowhere.&amp;nbsp; I have tried defining an infoTemplate, but the infoWindow that appears when I click a shape for editing is just the default template, for some reason I don't seem to be able to alter it.&amp;nbsp; Below is my code that runs to load the editor service if that gives any clues.&amp;nbsp; I haven't used the infoTemplate before so I could be getting it wrong.&amp;nbsp; Also, I still have the code in place which should stop the window appearing anyway, and that's not taking effect.&amp;nbsp; If you have any working code you don't mind sharing then please post it.&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;function loadEditor() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate = new esri.InfoTemplate();
&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate.setContent("&amp;lt;b&amp;gt;Reference: &amp;lt;/b&amp;gt;${APP_REF}");
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; planAppsLayer = new esri.layers.FeatureLayer("http://myServer/ArcGIS/rest/services/Test/myService/FeatureServer/0", {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_ONDEMAND,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate: infoTemplate,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"]
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.connect(map, "onLayersAddResult", initEditing);
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayers([planAppsLayer])
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:20:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564556#M52687</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2021-12-12T00:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564557#M52688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;I appreciate all your responses, but I'm still getting nowhere.&amp;nbsp; I have tried defining an infoTemplate, but the infoWindow that appears when I click a shape for editing is just the default template, for some reason I don't seem to be able to alter it.&amp;nbsp; Below is my code that runs to load the editor service if that gives any clues.&amp;nbsp; I haven't used the infoTemplate before so I could be getting it wrong.&amp;nbsp; Also, I still have the code in place which should stop the window appearing anyway, and that's not taking effect.&amp;nbsp; If you have any working code you don't mind sharing then please post it.&amp;nbsp; Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;function loadEditor() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate = new esri.InfoTemplate();
&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate.setContent("&amp;lt;b&amp;gt;Reference: &amp;lt;/b&amp;gt;${APP_REF}");
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; planAppsLayer = new esri.layers.FeatureLayer("http://myServer/ArcGIS/rest/services/Test/myService/FeatureServer/0", {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_ONDEMAND,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate: infoTemplate,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"]
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.connect(map, "onLayersAddResult", initEditing);
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayers([planAppsLayer])
}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It could not be any better than just use the ESIR sample: I picked up the following one. &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_selectfeatures.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_selectfeatures.html&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just add showInfoWindowOnClick: false in sample's statement: var map = new esri.Map("map", { extent: esri.geometry.geographicToWebMercator(initialExtent), slider: true, nav: true }); Watch the behaviors with and without showInfoWindowOnClick: false. You can see it clearly take effect on the behavior of infowindow.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:20:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564557#M52688</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2021-12-12T00:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564558#M52689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This example does not use the editor to edit the feature shapes.&amp;nbsp; If I load my feature layer in my application but disable the editor then sure enough I can customise the infoTemplate and even stop the infoWindow appearing as you suggest in an earlier post, but with the editor and template picker in use on the feature layer I cannot control the infoTemplate and cannot prevent the infoWindow appearing.&amp;nbsp; Do you have any more suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 12:43:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564558#M52689</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2011-03-31T12:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564559#M52690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This example does not use the editor to edit the feature shapes.&amp;nbsp; If I load my feature layer in my application but disable the editor then sure enough I can customise the infoTemplate and even stop the infoWindow appearing as you suggest in an earlier post, but with the editor and template picker in use on the feature layer I cannot control the infoTemplate and cannot prevent the infoWindow appearing.&amp;nbsp; Do you have any more suggestions?&lt;BR /&gt;Thanks again.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To my understanding, if you use template picker, the editor itself will use the infowindow to display attributes. So how to use editor without showing infowindow is tricky. I have not done this so i really could say much any more on this. Perhaps you might want to think about other options such as update your feature without using editor...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 13:16:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564559#M52690</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-03-31T13:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564560#M52691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was just experiencing this same problem using the editor dijit with the attribute inspector displaying in a div instead of the info window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An empty info window kept popping up on screen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My solution was to set the following styles in my css stylesheet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;#map_infowindow {
&amp;nbsp;&amp;nbsp;&amp;nbsp; display:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; visibility:hidden;
}

.window {
&amp;nbsp;&amp;nbsp;&amp;nbsp; display:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; visibility:hidden;
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:20:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564560#M52691</guid>
      <dc:creator>Kathleen_Crombez</dc:creator>
      <dc:date>2021-12-12T00:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564561#M52692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kathleen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your post.&amp;nbsp; I tried your solution but for some reason it didn't have any effect on my window.&amp;nbsp; My only solution was to reduce the size of the info window and hide it a split second after it appears.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 07:37:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564561#M52692</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2011-08-08T07:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564562#M52693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear ESRI,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think there are people who would appreciate the option of using the editor widget without using the infowindow. The whole "hide() it after the click event fires" thing is a poor solution... yes it works, but it is a wasteful approach. It would be like me ordering a happy meal when I don't want the free toy. Instead of always getting the toy and tossing it out, can I just get the meal without the toy? I understand that the editor is a widget, and so it is a package-deal... and so I get why it is the way it is. I'm just suggesting that an extra config option to totally disable the infowindow functionality would be nice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 17:20:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564562#M52693</guid>
      <dc:creator>NicholasFloersch</dc:creator>
      <dc:date>2012-12-06T17:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564563#M52694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;is our published &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/ed_feature_creation.html"&gt;sample&lt;/A&gt;&lt;SPAN&gt; for sketching in new features without adding attributes (not using the editor widget) not helpful for those attempting to support this use case?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 22:16:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564563#M52694</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-12-06T22:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564564#M52695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This may be a crude solution, but whenever I have to do something like this, I create a variable called counter and set it equal to 0.&amp;nbsp; For the identify function, I check to see if counter = 0 before it does anything else.&amp;nbsp; When the user clicks a button to begin editing, the edit function immediately sets counter = 1, so whenever the user clicks on a feature, though the identify function is still called, it doesn't actually do anything since it fails the if statement.&amp;nbsp; When the edits are finished, I set counter equal to zero again so they can resume identifying features.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 12:13:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564564#M52695</guid>
      <dc:creator>BrettGreenfield__DNR_</dc:creator>
      <dc:date>2012-12-07T12:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Stop infoWindow appearing when editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564565#M52696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you can stop the infoWindow from displaying if you call dojo.stopEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;right after your onClick that enables the editToolbar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
dojo.forEach(layers, function(layer) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.connect(layer, "onClick", function(evt) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.stopEvent(evt);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; editToolbar.activate(esri.toolbars.Edit.EDIT_VERTICES , evt.graphic);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
});
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ive also had issues with infoWindow showing when you click a new point with template picker over existing featLayer graphics. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That issue was fixed using featLayer.disableMouseEvents(); after the template was selected&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
dojo.connect(templatePicker, "onSelectionChange", function() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(templatePicker.getSelected()){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //template selected disable non-editable featLayers onClick event
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(nonEditFeatLayers, function(layer){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.disableMouseEvents();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //template selection cleared, enable onClick
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(nonEditFeatLayers, function(layer){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.enableMouseEvents();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
});
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:20:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/stop-infowindow-appearing-when-editing/m-p/564565#M52696</guid>
      <dc:creator>danbecker</dc:creator>
      <dc:date>2021-12-12T00:20:09Z</dc:date>
    </item>
  </channel>
</rss>

