<?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 API Constants look up table? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-constants-look-up-table/m-p/178834#M16572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I currently want to check if the Editor is active or not so I noticed that the Editor has a getCurrentState method (undocumented?) which returns an object that contains a reference to the current tool, graphic, and a "isModified" boolean value. When the Editor is deactivated, the tool item is set to a value of zero. This got me wondering what that represents and I can't find any cross reference. The &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/editor-amd.html"&gt;API Editor Reference&lt;/A&gt; has a list of constants but not what the true value of that constant is. I could assume that zero means the Editor is not active but I'd rather know definitively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some location with this information about constants used in the 3.x API? Somewhat related, is there some other way I can determine if the Editor is active or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2016 21:31:56 GMT</pubDate>
    <dc:creator>SteveCole</dc:creator>
    <dc:date>2016-07-26T21:31:56Z</dc:date>
    <item>
      <title>API Constants look up table?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-constants-look-up-table/m-p/178834#M16572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I currently want to check if the Editor is active or not so I noticed that the Editor has a getCurrentState method (undocumented?) which returns an object that contains a reference to the current tool, graphic, and a "isModified" boolean value. When the Editor is deactivated, the tool item is set to a value of zero. This got me wondering what that represents and I can't find any cross reference. The &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/editor-amd.html"&gt;API Editor Reference&lt;/A&gt; has a list of constants but not what the true value of that constant is. I could assume that zero means the Editor is not active but I'd rather know definitively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some location with this information about constants used in the 3.x API? Somewhat related, is there some other way I can determine if the Editor is active or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 21:31:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-constants-look-up-table/m-p/178834#M16572</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2016-07-26T21:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: API Constants look up table?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-constants-look-up-table/m-p/178835#M16573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must be confused with toolbars/edit vs dijit/editor. Editor does not contain any method by name "getCurrentState". The Editor contains an instance of edit toolbar may be you saw that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 13:13:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-constants-look-up-table/m-p/178835#M16573</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2016-07-28T13:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: API Constants look up table?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-constants-look-up-table/m-p/178836#M16574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's why I mentioned that it may be an undocumented method, just like the myriad of properties/methods for ESRI digits that begin with an underscore ("_layer", etc).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 14:51:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-constants-look-up-table/m-p/178836#M16574</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2016-07-28T14:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: API Constants look up table?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-constants-look-up-table/m-p/178837#M16575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have gone through the script as well the node, the "esri/dijit/editing/Editor", does not have any method by name "getCurrentState".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 15:15:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-constants-look-up-table/m-p/178837#M16575</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2016-07-28T15:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: API Constants look up table?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-constants-look-up-table/m-p/178838#M16576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, looks like you were correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 15:38:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-constants-look-up-table/m-p/178838#M16576</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2016-07-28T15:38:15Z</dc:date>
    </item>
  </channel>
</rss>

