<?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: how to avoid auto save of Editor widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760053#M70425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looking for a solution to this also...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How come we can't provide a attriubuteInspector to the Editor Widget and there is no way to avoid this behaviour (auto save)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We can add buttons to the inspector, we can connect to the layer "onBeforeApplyEdits" and all that.. but the applyEdits is always fired anyways :S&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 10:12:29 GMT</pubDate>
    <dc:creator>FlávioMelo</dc:creator>
    <dc:date>2013-10-07T10:12:29Z</dc:date>
    <item>
      <title>how to avoid auto save of Editor widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760048#M70420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;how to cancel autosave of Editor widget, on attributechange of attributesinspector .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Editor widget should not save attributes automatically&amp;nbsp; directly to database untill save button is pressed in attributeinspector.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 09:46:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760048#M70420</guid>
      <dc:creator>AbdulMateen</dc:creator>
      <dc:date>2013-07-23T09:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid auto save of Editor widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760049#M70421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the Editor dijit does not have a constructor option to require explicit 'saving' of edits, but you could implement something similar by setting &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jsapi/editor.html#editor1"&gt;enableUndoRedo&lt;/A&gt;&lt;SPAN&gt; to 'true' and specifying a valid &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jsapi/undomanager.html"&gt;UndoManager&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; this would provide an alternative technique to allow users to revert an undesirable edit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you want explicit saving, i am under the impression that you would have to handle the editing yourself using &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jsapi/featurelayer.html#applyedits"&gt;applyEdits&lt;/A&gt;&lt;SPAN&gt; on the featureC&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 14:54:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760049#M70421</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-07-24T14:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid auto save of Editor widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760050#M70422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;the Editor dijit does not have a constructor option to require explicit 'saving' of edits, but you could implement something similar by setting &lt;A href="https://developers.arcgis.com/en/javascript/jsapi/editor.html#editor1"&gt;enableUndoRedo&lt;/A&gt; to 'true' and specifying a valid &lt;A href="https://developers.arcgis.com/en/javascript/jsapi/undomanager.html"&gt;UndoManager&lt;/A&gt;.&amp;nbsp; this would provide an alternative technique to allow users to revert an undesirable edit.&lt;BR /&gt;&lt;BR /&gt;if you want explicit saving, i am under the impression that you would have to handle the editing yourself using &lt;A href="https://developers.arcgis.com/en/javascript/jsapi/featurelayer.html#applyedits"&gt;applyEdits&lt;/A&gt; on the featureC&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John, I believe that he was referring to the innate behavior of the editorWidget�??s AttributeInspector that automatically has the onAttributeChange event connected to Save the edits back to the database (applyedits).&amp;nbsp; This causes a lot of network chatter and also assumes that users always want to save the attributes after each attribute change.&amp;nbsp; There are some sample out there that add a Save Button in order to allow the users to save the attributes when they want.&amp;nbsp; I was going to initially suggest that he adds a dojo.connect for the attributeInspector onAttributeChange event and �??override�?� the functionality but I believe that he would have to disconnect the existing event prior to connecting a new event.&amp;nbsp; Is this a correct assumption? I create my own attributeInspector in my app so therefore I am able to connect the events that I want, not the ones that have been �??predefined�?� by the EditorWidget.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 15:24:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760050#M70422</guid>
      <dc:creator>DianaBenedict</dc:creator>
      <dc:date>2013-07-24T15:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid auto save of Editor widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760051#M70423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;John, I believe that he was referring to the innate behavior of the editorWidget�??s AttributeInspector that automatically has the onAttributeChange event connected to Save the edits back to the database (applyedits).&amp;nbsp; This causes a lot of network chatter and also assumes that users always want to save the attributes after each attribute change.&amp;nbsp; There are some sample out there that add a Save Button in order to allow the users to save the attributes when they want.&amp;nbsp; I was going to initially suggest that he adds a dojo.connect for the attributeInspector onAttributeChange event and �??override�?� the functionality but I believe that he would have to disconnect the existing event prior to connecting a new event.&amp;nbsp; Is this a correct assumption? I create my own attributeInspector in my app so therefore I am able to connect the events that I want, not the ones that have been �??predefined�?� by the EditorWidget.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The solution provided need some more details like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.creating own attributeinspector with editor widget again autosave the attributes, can u provide me example editorwidget with createnew feature option with custom attributeinspector&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.if we use undoredo what if the user closes the page after edit there is no option to rollback&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 09:59:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760051#M70423</guid>
      <dc:creator>AbdulMateen</dc:creator>
      <dc:date>2013-07-25T09:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid auto save of Editor widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760052#M70424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am looking to disable this same functionality.&amp;nbsp; I have a feature class that has several attributes (25+).&amp;nbsp; Each time the user updates a value in a textbox or dropdown the form snaps back to the top of the AttributeInspector.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would love to avoid this situation...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 12:57:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760052#M70424</guid>
      <dc:creator>AaronDrake</dc:creator>
      <dc:date>2013-08-05T12:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid auto save of Editor widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760053#M70425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looking for a solution to this also...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How come we can't provide a attriubuteInspector to the Editor Widget and there is no way to avoid this behaviour (auto save)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We can add buttons to the inspector, we can connect to the layer "onBeforeApplyEdits" and all that.. but the applyEdits is always fired anyways :S&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 10:12:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760053#M70425</guid>
      <dc:creator>FlávioMelo</dc:creator>
      <dc:date>2013-10-07T10:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid auto save of Editor widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760054#M70426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking for a solution to this also....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The applyEdits is always fired anyways. It causes two problems at least:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Upon closing the page, the feature is already inserted to the DB without clicking on the "Save" or "Delete" buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If I want to enable only the &lt;STRONG&gt;Create&lt;/STRONG&gt; operation under &lt;STRONG&gt;Feature Access&lt;/STRONG&gt; capability, I cannot use the Editor because it uses the Update or Delete operations underneath. If it was the other way around, I would create a graphic on the map, fill the Attributes form and only when I click "Save", it would create a feature in the DB. In that way I could have stayed with only the &lt;STRONG&gt;Create&lt;/STRONG&gt; operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Miri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 08:11:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760054#M70426</guid>
      <dc:creator>MiriEshel</dc:creator>
      <dc:date>2014-12-11T08:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid auto save of Editor widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760055#M70427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do the following :&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-size: 14px;"&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;_editor&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;attributeInspector&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;onAttributeChange&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;lang&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;hitch&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;evt&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;nbsp;{&amp;nbsp;});&lt;/SPAN&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;_editor&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;attributeInspector&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;on&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"attribute-change"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;lang&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;hitch&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;evt&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&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;/SPAN&gt;&lt;SPAN style="color: #608b4e;"&gt;//store&amp;nbsp;the&amp;nbsp;updates&amp;nbsp;to&amp;nbsp;apply&amp;nbsp;when&amp;nbsp;the&amp;nbsp;save&amp;nbsp;button&amp;nbsp;is&amp;nbsp;clicked&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&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;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;_editor&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;editToolbar&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;_graphic&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;attributes&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;evt&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;fieldName&lt;/SPAN&gt;&lt;SPAN&gt;]&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;evt&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;fieldValue&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}));&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 01:28:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-auto-save-of-editor-widget/m-p/760055#M70427</guid>
      <dc:creator>Enguerranddes_Vaux</dc:creator>
      <dc:date>2017-03-14T01:28:14Z</dc:date>
    </item>
  </channel>
</rss>

