<?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: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478061#M44441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the arrays structure? Just saying it is an array does not answer the issue of that does the key value pairs of the returned json look like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jun 2017 17:34:05 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-06-20T17:34:05Z</dc:date>
    <item>
      <title>I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478049#M44429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; map;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;require([&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"esri/map"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"esri/symbols/SimpleLineSymbol"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"esri/graphic"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"esri/symbols/SimpleMarkerSymbol"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"esri/Color"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"dojo/on"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"dojo/dom"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"esri/geometry/Point"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"dojo/domReady!"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; ], &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; (&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Map, SimpleLineSymbol, Graphic, SimpleMarkerSymbol, Color, on, dom, Point&lt;/P&gt;&lt;P&gt;) {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; markers = JSON.parse(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;lt;%&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;ConvertDataTabletoString() %&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; map = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; Map(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"map"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; basemap: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"osm"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;center: [-122.9007, 47.0379],&lt;/P&gt;&lt;P&gt;zoom: 9&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;//scale &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;map.on(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"load"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; () {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;map.infoWindow.resize(250, 100);&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; map.on(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"click"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, addPoint);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; addPoint(evt) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; lat = evt.mapPoint.getLatitude();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; long = evt.mapPoint.getLongitude();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; document.getElementById(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"ContentPlaceHolder1_txtLat"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;).value = lat;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; document.getElementById(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"ContentPlaceHolder1_txtLng"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;).value = long;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;//map.infoWindow.setTitle("Coordinates");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;//map.infoWindow.setContent(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;// "lat/lon : " + latitude.toFixed(2) + ", " + longitude.toFixed(2) +&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;// "&amp;lt;br&amp;gt;screen x/y : " + evt.screenPoint.x + ", " + evt.screenPoint.y&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;//);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;// map.infoWindow.show(evt.mapPoint, map.getInfoWindowAnchor(evt.screenPoint));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 01:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478049#M44429</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2017-06-20T01:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478050#M44430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&amp;nbsp;&lt;A class="link-titled" href="http://terraformer.io/arcgis-parser/" title="http://terraformer.io/arcgis-parser/"&gt;Terraformer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 07:08:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478050#M44430</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2017-06-20T07:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478051#M44431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Malla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I don't see anywhere in your code where you are attempting to parse through your json result to create graphics to add to the map?...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:09:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478051#M44431</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-06-20T13:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478052#M44432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written that in backend c#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;using&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;SqlCommand&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; cmd = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;SqlCommand&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"SearchByRadiusMap"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, con))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; cmd.CommandType = &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;CommandType&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;.StoredProcedure;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SqlParameter&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; distancevalue = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SqlParameter&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"@distance"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, distance);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(distancevalue);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SqlParameter&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; latitudevalue = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SqlParameter&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"@lat"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, latitude);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(latitudevalue);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SqlParameter&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; longitudevalue = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SqlParameter&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"@long"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, longitude);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(longitudevalue);&lt;/P&gt;&lt;P&gt;con.Open();&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SqlDataAdapter&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; da = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SqlDataAdapter&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;(cmd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;da.Fill(dt);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; System.Web.Script.Serialization.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;JavaScriptSerializer&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; serializer = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; System.Web.Script.Serialization.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;JavaScriptSerializer&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;List&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;gt;&amp;gt; rows = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;List&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;gt;&amp;gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;gt; row;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;foreach&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;DataRow&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; dr &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; dt.Rows)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; row = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;foreach&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;DataColumn&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; col &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; dt.Columns)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;row.Add(col.ColumnName, dr[col]);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;rows.Add(row);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;return&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; serializer.Serialize(rows);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 15:51:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478052#M44432</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2017-06-20T15:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478053#M44433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks to me like this code is converting stuff in your database to JSON. &amp;nbsp;Once you've done this and sent the resulting JSON to&amp;nbsp;the client, you need to convert it from JSON into instance of Esri JS API classes. &amp;nbsp;This is done by passing the JSON to a constructor like var graphic = new Graphic(&amp;lt;Esri Graphic JSON&amp;gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the graphic(s) can be added to the map. &amp;nbsp;You can't add raw JSON to the map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 16:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478053#M44433</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-06-20T16:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478054#M44434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per in the image, i need to show the colored circles on map, I was been stuck with this json from few days, any sample or example will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample image" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/357865_arc.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 16:10:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478054#M44434</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2017-06-20T16:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478055#M44435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the value of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; markers = JSON.parse(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; border: 0px; font-weight: inherit; font-size: small;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;lt;%&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;ConvertDataTabletoString() %&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; border: 0px; font-weight: inherit; font-size: small;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 16:40:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478055#M44435</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-06-20T16:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478056#M44436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;All sql data converted to json from &amp;nbsp;below code(posted above) and called at client side everytime page accessed or loaded,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;with the client side line&amp;nbsp;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; markers = JSON.parse(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; border: 0px; font-weight: inherit; font-size: small;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;lt;%&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;ConvertDataTabletoString() %&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; border: 0px; font-weight: inherit; font-size: small;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: small;"&gt;ConvertDataTabletoString is function called everytime, there are 100's recorded loaded in to json function&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;System.Web.Script.Serialization.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; border: 0px; font-weight: inherit; font-size: small;"&gt;JavaScriptSerializer&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; serializer = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;System.Web.Script.Serialization.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; border: 0px; font-weight: inherit; font-size: small;"&gt;JavaScriptSerializer&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #2b91af; border: 0px; font-weight: inherit; font-size: small;"&gt;List&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; border: 0px; font-weight: inherit; font-size: small;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;gt;&amp;gt; rows = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; border: 0px; font-weight: inherit; font-size: small;"&gt;List&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; border: 0px; font-weight: inherit; font-size: small;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;gt;&amp;gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #2b91af; border: 0px; font-weight: inherit; font-size: small;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;gt; row;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;foreach&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; border: 0px; font-weight: inherit; font-size: small;"&gt;DataRow&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; dr &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; dt.Rows)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;{&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;row = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; border: 0px; font-weight: inherit; font-size: small;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;foreach&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; border: 0px; font-weight: inherit; font-size: small;"&gt;DataColumn&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; col &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; dt.Columns)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;{&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;row.Add(col.ColumnName, dr[col]);&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;}&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;rows.Add(row);&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;}&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;return&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; serializer.Serialize(rows);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 16:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478056#M44436</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2017-06-20T16:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478057#M44437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean, is markers a JSON array? &amp;nbsp;It seems to me that you want to convert var markers into an array of Graphics, but I don't know how to approach that unless I know the shape of the JSON.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 16:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478057#M44437</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-06-20T16:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478058#M44438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Malla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;This has yet to show what the result json string looks like. Without knowing the structure of the result json there is little help that can be provided.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 17:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478058#M44438</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-06-20T17:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478059#M44439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;result json look likes Array&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 17:31:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478059#M44439</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2017-06-20T17:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478060#M44440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;result json look likes Array&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 17:31:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478060#M44440</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2017-06-20T17:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478061#M44441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the arrays structure? Just saying it is an array does not answer the issue of that does the key value pairs of the returned json look like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 17:34:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478061#M44441</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-06-20T17:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478062#M44442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a dictionary object&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 17:41:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478062#M44442</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2017-06-20T17:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478063#M44443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am binding rows in that &amp;nbsp;object&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 17:42:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478063#M44443</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2017-06-20T17:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478064#M44444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;column name and data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 17:43:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478064#M44444</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2017-06-20T17:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: I have fetched the data from sql server and returned it as a JSon object. How to bind the Json object to Arcgis javascript map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478065#M44445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Malla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at the Graphics Layer Link in the JS API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/graphicslayer-amd.html" title="https://developers.arcgis.com/javascript/3/jsapi/graphicslayer-amd.html" rel="nofollow noopener noreferrer" target="_blank"&gt;GraphicsLayer | API Reference | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a property in it that expects an array of graphics. They make up the layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the link to the JS API for an individual graphic.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/graphic-amd.html" title="https://developers.arcgis.com/javascript/3/jsapi/graphic-amd.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Graphic | API Reference | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of adding an individual graphic to a map using JSON, notice the "MyPoint" variable is raw JSON, I think this is what&amp;nbsp;&lt;A href="https://community.esri.com/people/rscheitlin" target="_blank"&gt;rscheitlin&lt;/A&gt;‌, is looking for when he asks what your JSON output is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;require&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="string token"&gt;"esri/graphic"&lt;/SPAN&gt; 
&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Graphic&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; myPoint &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"geometry"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"x"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;104.4140625&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"y"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;69.2578125&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"spatialReference"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"wkid"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4326&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"attributes"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"XCoord"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;104.4140625&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"YCoord"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;69.2578125&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Plant"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Mesa Mint"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"symbol"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"color"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;255&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;128&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"size"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;12&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"angle"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"xoffset"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"yoffset"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"type"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"esriSMS"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"style"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"esriSMSSquare"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"outline"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"color"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;255&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"width"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"type"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"esriSLS"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"style"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"esriSLSSolid"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"infoTemplate"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"title"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Vernal Pool Locations"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"content"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Latitude: ${YCoord} &amp;lt;br/&amp;gt; Longitude: ${XCoord} &amp;lt;br/&amp;gt; Plant Name:${Plant}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; gra &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Graphic&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;myPoint&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The JSON above includes the point's geometry, Spatial Reference, attributes, symbology, and InfoTemoplate (Popup) information. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: I used the "Point" example above, but there are also examples for lines and Polygons.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-have-fetched-the-data-from-sql-server-and/m-p/478065#M44445</guid>
      <dc:creator>ChristopherSchreiber</dc:creator>
      <dc:date>2021-12-11T21:07:20Z</dc:date>
    </item>
  </channel>
</rss>

