<?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 Issue Zooming to URL Parameter in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-zooming-to-url-parameter/m-p/542573#M50498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having an issue using the example: &lt;A href="https://developers.arcgis.com/javascript/jssamples/exp_history.html"&gt;https://developers.arcgis.com/javascript/jssamples/exp_history.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Essentially I am using this to locate structures based on an account number. It seems to be selecting the structures when I click on them, but not when the parameter is passed through the URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My github for the project is:&amp;nbsp; &lt;A href="https://github.com/jrzimmerman/AccountParam/blob/master/accountparam.htm"&gt;https://github.com/jrzimmerman/AccountParam/blob/master/accountparam.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Live: &lt;A href="http://207.255.7.12/AccountParam/accountparam.htm?accountno=1035556"&gt;http://207.255.7.12/AccountParam/accountparam.htm?accountno=1035556&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Any help is greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Justin Zimmerman&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Aug 2014 13:04:23 GMT</pubDate>
    <dc:creator>JustinZimmerman</dc:creator>
    <dc:date>2014-08-08T13:04:23Z</dc:date>
    <item>
      <title>Issue Zooming to URL Parameter</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-zooming-to-url-parameter/m-p/542573#M50498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having an issue using the example: &lt;A href="https://developers.arcgis.com/javascript/jssamples/exp_history.html"&gt;https://developers.arcgis.com/javascript/jssamples/exp_history.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Essentially I am using this to locate structures based on an account number. It seems to be selecting the structures when I click on them, but not when the parameter is passed through the URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My github for the project is:&amp;nbsp; &lt;A href="https://github.com/jrzimmerman/AccountParam/blob/master/accountparam.htm"&gt;https://github.com/jrzimmerman/AccountParam/blob/master/accountparam.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Live: &lt;A href="http://207.255.7.12/AccountParam/accountparam.htm?accountno=1035556"&gt;http://207.255.7.12/AccountParam/accountparam.htm?accountno=1035556&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Any help is greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Justin Zimmerman&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 13:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-zooming-to-url-parameter/m-p/542573#M50498</guid>
      <dc:creator>JustinZimmerman</dc:creator>
      <dc:date>2014-08-08T13:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Zooming to URL Parameter</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-zooming-to-url-parameter/m-p/542574#M50499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Justin ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&amp;nbsp;&amp;nbsp; Your issue is simple your AccountNo field is a double and your query where clause is setup for a string query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Is currently:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14075044156374812" jivemacro_uid="_14075044156374812"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;query.where = "AccountNo = '" + accountno + "'";&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Should be:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14075044217617427 jive_text_macro" jivemacro_uid="_14075044217617427"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;query.where = "AccountNo = " + accountno;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 13:26:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-zooming-to-url-parameter/m-p/542574#M50499</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-08-08T13:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Zooming to URL Parameter</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-zooming-to-url-parameter/m-p/542575#M50500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert! I am glad it was an easy fix, I should've thought about the field data type. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 13:31:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-zooming-to-url-parameter/m-p/542575#M50500</guid>
      <dc:creator>JustinZimmerman</dc:creator>
      <dc:date>2014-08-08T13:31:57Z</dc:date>
    </item>
  </channel>
</rss>

