<?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 Points not displaying when ON_DEMAND mode is used in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424101#M39016</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;I am using ON_DEMAND mode to display features on a map as with the following example (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm&lt;/A&gt;&lt;SPAN&gt;). When pointing the code at an exisiting layer that has been set up all points show up fine and everything looks as it should. However as soon as I change my code to point at a newly created layer only one point is returned (I have checked the rest service and there should be over 700 points). No other changes have been made to the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do layers have to be set up in a specific way to allow for the use of ON_DEMAND as given what I have explained above Im assuming the issue lies with the layer and not my code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else come across this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jul 2011 09:36:13 GMT</pubDate>
    <dc:creator>GavinTrowles</dc:creator>
    <dc:date>2011-07-18T09:36:13Z</dc:date>
    <item>
      <title>Points not displaying when ON_DEMAND mode is used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424101#M39016</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;I am using ON_DEMAND mode to display features on a map as with the following example (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm&lt;/A&gt;&lt;SPAN&gt;). When pointing the code at an exisiting layer that has been set up all points show up fine and everything looks as it should. However as soon as I change my code to point at a newly created layer only one point is returned (I have checked the rest service and there should be over 700 points). No other changes have been made to the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do layers have to be set up in a specific way to allow for the use of ON_DEMAND as given what I have explained above Im assuming the issue lies with the layer and not my code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else come across this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 09:36:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424101#M39016</guid>
      <dc:creator>GavinTrowles</dc:creator>
      <dc:date>2011-07-18T09:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Points not displaying when ON_DEMAND mode is used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424102#M39017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gavin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does your point layer display correctly in snapshot mode? What about as a Dynamic layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could there be a scale dependency which is preventing the points from showing? Look for the &lt;/SPAN&gt;&lt;STRONG&gt;Min. Scale:&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;Max. Scale:&lt;/STRONG&gt;&lt;SPAN&gt; values in the REST services directory (eg &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/0"&gt;here&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 22:37:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424102#M39017</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-07-18T22:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Points not displaying when ON_DEMAND mode is used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424103#M39018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you see any messages in the Firefox or Chrome JavaScript console when you load the layer? Does this layer have a visible ObjectID field? Specifically, do you see an ObjectID field when you look at the layer via the services directory?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any chance you can provide a link to your services directory and/or your app?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 01:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424103#M39018</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-07-19T01:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Points not displaying when ON_DEMAND mode is used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424104#M39019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Gavin,&lt;BR /&gt;&lt;BR /&gt;Does your point layer display correctly in snapshot mode? What about as a Dynamic layer?&lt;BR /&gt;&lt;BR /&gt;Could there be a scale dependency which is preventing the points from showing? Look for the &lt;STRONG&gt;Min. Scale:&lt;/STRONG&gt; and &lt;STRONG&gt;Max. Scale:&lt;/STRONG&gt; values in the REST services directory (eg &lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/0"&gt;here&lt;/A&gt;)&lt;BR /&gt;&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The layer does not display in snapshot mode correctly but does when using the dynamic layer method. Scales have been set but Im making sure Im at the correct scale and only one point ever shows up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 12:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424104#M39019</guid>
      <dc:creator>GavinTrowles</dc:creator>
      <dc:date>2011-07-22T12:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Points not displaying when ON_DEMAND mode is used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424105#M39020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Do you see any messages in the Firefox or Chrome JavaScript console when you load the layer? Does this layer have a visible ObjectID field? Specifically, do you see an ObjectID field when you look at the layer via the services directory?&lt;BR /&gt;&lt;BR /&gt;Any chance you can provide a link to your services directory and/or your app?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The rest service is not public facing and nor is the app so I cannot provide a link. However I have noticed that the rest service does not have a field called &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-ESRI_OID (Type: esriFieldTypeOID, Alias: ESRI_OID) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which is present in a layer which does work with ON_DEMAND MODE. The current layer I'm using only holds the following fields &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ID (Type: esriFieldTypeInteger, Alias: ID) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AreaNo (Type: esriFieldTypeInteger, Alias: AreaNo) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Year (Type: esriFieldTypeInteger, Alias: Year) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CounterSite (Type: esriFieldTypeInteger, Alias: CounterSite) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Easting (Type: esriFieldTypeInteger, Alias: Easting) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Northing (Type: esriFieldTypeInteger, Alias: Northing) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AADTInfo (Type: esriFieldTypeString, Alias: AADTInfo, Length: 2000 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AWTInfo (Type: esriFieldTypeString, Alias: AWTInfo, Length: 2000 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SiteSelect (Type: esriFieldTypeString, Alias: SiteSelect, Length: 2000 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shape (Type: esriFieldTypeGeometry, Alias: Shape) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could this be the reason why and if so how can I ensure that this field is present. &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 full list of fields within the layer that does work in on demand mode&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AccidentID (Type: esriFieldTypeInteger, Alias: AccidentID) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AccidentRef (Type: esriFieldTypeString, Alias: AccidentRef, Length: 10 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NoOfVehicles (Type: esriFieldTypeInteger, Alias: NoOfVehicles) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NoOfCasualties (Type: esriFieldTypeInteger, Alias: NoOfCasualties) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AccidentDateTime (Type: esriFieldTypeDate, Alias: AccidentDateTime, Length: 36 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LocalAuthority (Type: esriFieldTypeString, Alias: LocalAuthority, Length: 200 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FirstRoadClass (Type: esriFieldTypeString, Alias: FirstRoadClass, Length: 200 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FirstRoadNo (Type: esriFieldTypeInteger, Alias: FirstRoadNo) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RoadType (Type: esriFieldTypeString, Alias: RoadType, Length: 200 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geometry (Type: esriFieldTypeGeometry, Alias: Geometry) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SpeedLimit (Type: esriFieldTypeInteger, Alias: SpeedLimit) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GeometryString (Type: esriFieldTypeString, Alias: GeometryString, Length: 2147483647 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;InspectionDate (Type: esriFieldTypeString, Alias: InspectionDate, Length: 25 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;InspectionTime (Type: esriFieldTypeString, Alias: InspectionTime, Length: 25 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AccidentSeverityID (Type: esriFieldTypeInteger, Alias: AccidentSeverityID) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PoliceForceID (Type: esriFieldTypeInteger, Alias: PoliceForceID) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI_OID (Type: esriFieldTypeOID, Alias: ESRI_OID)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 12:45:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424105#M39020</guid>
      <dc:creator>GavinTrowles</dc:creator>
      <dc:date>2011-07-22T12:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Points not displaying when ON_DEMAND mode is used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424106#M39021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, your feature layer needs an OID field. Do you see a message about this in the firebug or chrome dev tools console?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the format for the underlying data?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 14:00:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424106#M39021</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-07-22T14:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Points not displaying when ON_DEMAND mode is used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424107#M39022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, your feature layer needs an OID field. Do you see a message about this in the firebug or chrome dev tools console?&lt;BR /&gt;&lt;BR /&gt;What is the format for the underlying data?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi no errors in firebug. I have also managed to find another layer the issue happens on and I believe this is a public facing service : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A href="http://195.171.180.22/ArcGIS/rest/services/Postbox_NW/MapServer/0"&gt;http://195.171.180.22/ArcGIS/rest/services/Postbox_NW/MapServer/0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can, hopefully, see the data is point data and comes from a view held on a SQL Server database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 13:12:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424107#M39022</guid>
      <dc:creator>GavinTrowles</dc:creator>
      <dc:date>2011-07-25T13:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Points not displaying when ON_DEMAND mode is used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424108#M39023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Technically, it's wouldn't be an error in Firebug, just a warning. What do you see in the console? Are there any messages?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you modify your view to include your layer's objectID?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 14:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424108#M39023</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-07-25T14:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Points not displaying when ON_DEMAND mode is used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424109#M39024</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;Just checked and I get no warnings either. The layer/view was actually set up be a different department so getting the layer changed may be a slow process.&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, 26 Jul 2011 07:53:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-not-displaying-when-on-demand-mode-is-used/m-p/424109#M39024</guid>
      <dc:creator>GavinTrowles</dc:creator>
      <dc:date>2011-07-26T07:53:31Z</dc:date>
    </item>
  </channel>
</rss>

