<?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: API Reference Error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-reference-error/m-p/303252#M27844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post a link to the specific documentation page that you are talking about?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Is it this: &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html#event-graphic-add"&gt;https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html#event-graphic-add&lt;/A&gt;&lt;SPAN&gt; ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume you meant the 'graphic-add' event for &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;FeatureLayer&lt;/SPAN&gt;&lt;SPAN&gt;, which returns both the 'graphic' and 'target' inside a single object, as you stated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, the documentation is incorrect and I've opened a ticket to get it fixed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*edit&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed this snippet on the page I linked:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;"All On Style event listeners receive a single event object. The event&amp;nbsp; properties listed below are accessed from this event object.&amp;nbsp; Additionally, the event object also contains a 'target' property whose&amp;nbsp; value is the object which fired the event.&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like this is intended.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2014 19:41:33 GMT</pubDate>
    <dc:creator>JonathanUihlein</dc:creator>
    <dc:date>2014-02-04T19:41:33Z</dc:date>
    <item>
      <title>API Reference Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-reference-error/m-p/303251#M27843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Happened to be looking at esri/graphic and noticed that on 'graphic-add' says it returns the graphic object, when it returns an object consisting of the graphic and target (the layer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know you guys have a lot going on, but keeping the reference up-to-date and correct seems critical. Since the switch to AMD, I don't trust the reference for event returns and just test returns myself in console when I work with new events. This isn't the only one that didn't get updated during the 'on' switch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As always, thanks for your consideration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 04:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-reference-error/m-p/303251#M27843</guid>
      <dc:creator>BenFousek</dc:creator>
      <dc:date>2014-01-28T04:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: API Reference Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-reference-error/m-p/303252#M27844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post a link to the specific documentation page that you are talking about?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Is it this: &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html#event-graphic-add"&gt;https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html#event-graphic-add&lt;/A&gt;&lt;SPAN&gt; ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume you meant the 'graphic-add' event for &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;FeatureLayer&lt;/SPAN&gt;&lt;SPAN&gt;, which returns both the 'graphic' and 'target' inside a single object, as you stated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, the documentation is incorrect and I've opened a ticket to get it fixed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*edit&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed this snippet on the page I linked:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;"All On Style event listeners receive a single event object. The event&amp;nbsp; properties listed below are accessed from this event object.&amp;nbsp; Additionally, the event object also contains a 'target' property whose&amp;nbsp; value is the object which fired the event.&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like this is intended.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:41:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-reference-error/m-p/303252#M27844</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-02-04T19:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: API Reference Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-reference-error/m-p/303253#M27845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I missed that part. I guess when I look at the return I expect to see everything I'm getting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's another for you. &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html#queryfeatures"&gt;https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html#queryfeatures&lt;/A&gt;&lt;SPAN&gt; In the sample it shows "esri/tasks/Query" instead of esri/tasks/query".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 00:07:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-reference-error/m-p/303253#M27845</guid>
      <dc:creator>BenFousek</dc:creator>
      <dc:date>2014-02-06T00:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: API Reference Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-reference-error/m-p/303254#M27846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great find Ben! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a bunch for pointing that out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll notify the doc guys and get it fixed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you ever find any other issues don't hesitate to email the team, email support or make a new thread here. You're always very helpful. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again Ben!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:28:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-reference-error/m-p/303254#M27846</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-02-07T16:28:59Z</dc:date>
    </item>
  </channel>
</rss>

