<?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: how to get values returned by esriRequest request Succeeded   in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-values-returned-by-esrirequest-request/m-p/188590#M17476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the variable "response" is the value if the return is just text. &amp;nbsp;Do you send back a json string or just a value? &amp;nbsp;So is the web service returning text "value1" or something like this json string {'value':'value1'}? &amp;nbsp;If it is a json string then you need to parse it and reference the name otherwise use the value of response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run this in IE or Chrome and put a break point in the&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;requestSucceeded function you can see the format of the value that was returned&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2016 19:20:20 GMT</pubDate>
    <dc:creator>RichardAbram</dc:creator>
    <dc:date>2016-12-05T19:20:20Z</dc:date>
    <item>
      <title>how to get values returned by esriRequest request Succeeded</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-values-returned-by-esrirequest-request/m-p/188589#M17475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;Hello everyone,&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&amp;nbsp;I am testing a rest web service created in ASP.Net.&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;The rest service &lt;A href="http://localhost:61004/api/value"&gt;&lt;SPAN style="text-decoration: underline;"&gt;http://localhost:61004/api/value&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp; returns one value:&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&amp;nbsp; "value1"&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;I am testing also how to call&amp;nbsp;this Restful service from esri javascript 1.38. This is the sample called "requests JSON using esriRequest".&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/data_requestJson.html"&gt;&lt;SPAN style="text-decoration: underline;"&gt;https://developers.arcgis.com/javascript/3/jssamples/data_requestJson.html&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just copied it and set up the proxy and changed the default url&lt;/P&gt;&lt;P&gt;esriConfig.defaults.io.proxyUrl = "/proxy/";&lt;/P&gt;&lt;P&gt;dom.byId("url").value = "&lt;A href="http://localhost:61004/api/aasis"&gt;http://localhost:61004/api/aasis&lt;/A&gt;";&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;and it works!!!&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;My question now, is how do I get the content of "response" in a local variable to process it. My goal is to save this value in a field, but I do not know how to retrieve it.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; requestSucceeded(response, io) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dom.byId(&lt;/SPAN&gt;&lt;SPAN style="background: white; color: #a31515; font-size: 9.5pt;"&gt;"status"&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;).innerHTML = &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #a31515; font-size: 9.5pt;"&gt;""&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojoJson.toJsonIndentStr = &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #a31515; font-size: 9.5pt;"&gt;" "&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dom.byId(&lt;/SPAN&gt;&lt;SPAN style="background: white; color: #a31515; font-size: 9.5pt;"&gt;"content"&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;).value = dojoJson.toJson(response, &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;);&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt;=============== &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&amp;nbsp;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 18:44:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-values-returned-by-esrirequest-request/m-p/188589#M17475</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2016-12-05T18:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to get values returned by esriRequest request Succeeded</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-values-returned-by-esrirequest-request/m-p/188590#M17476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the variable "response" is the value if the return is just text. &amp;nbsp;Do you send back a json string or just a value? &amp;nbsp;So is the web service returning text "value1" or something like this json string {'value':'value1'}? &amp;nbsp;If it is a json string then you need to parse it and reference the name otherwise use the value of response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run this in IE or Chrome and put a break point in the&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;requestSucceeded function you can see the format of the value that was returned&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 19:20:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-values-returned-by-esrirequest-request/m-p/188590#M17476</guid>
      <dc:creator>RichardAbram</dc:creator>
      <dc:date>2016-12-05T19:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to get values returned by esriRequest request Succeeded</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-values-returned-by-esrirequest-request/m-p/188591#M17477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to save in&amp;nbsp;the field "evt.adds[0].attributes.COMMENTS" &amp;nbsp;the value "&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;response&lt;/SPAN&gt;" returned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(evt.adds[0].attributes.hasOwnProperty('COMMENTS')){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; evt.adds[0].attributes.COMMENTS =&amp;nbsp;&amp;nbsp; ????? ;&amp;nbsp; &amp;lt;&amp;lt;== value&amp;nbsp;"response" from &lt;SPAN style="font-size: small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; requestSucceeded&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&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;function&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; getContent() {&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;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; result = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;""&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: #0000ff; font-size: small; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; contentDiv = dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"content"&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; contentDiv.value = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;""&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; domClass.remove(contentDiv, &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"failure"&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; dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"status"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).innerHTML = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"Downloading..."&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: #0000ff; font-size: small; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; requestHandle = esriRequest({&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: #a31515; font-size: small; font-family: Consolas;"&gt;"url"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;: dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"url"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).value,&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: #a31515; font-size: small; font-family: Consolas;"&gt;"handleAs"&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;"json"&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: #a31515; font-size: small; font-family: Consolas;"&gt;"callbackParamName"&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;"jsoncallback"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;requestHandle.then(requestSucceeded, requestFailed);&lt;/P&gt;&lt;P&gt;&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;function&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; requestSucceeded(response, io) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"status"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).innerHTML = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;""&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; dojoJson.toJsonIndentStr = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;" "&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; dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"content"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).value = dojoJson.toJson(response, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;);&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; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; requestFailed(error, io) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; domClass.add(dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"content"&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;"failure"&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; dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"status"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).innerHTML = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;""&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; dojoJson.toJsonIndentStr = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;" "&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; dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"content"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).value = dojoJson.toJson(error, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 19:53:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-values-returned-by-esrirequest-request/m-p/188591#M17477</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2016-12-05T19:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to get values returned by esriRequest request Succeeded</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-values-returned-by-esrirequest-request/m-p/188592#M17478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;You would need to set that value in the requestSucceeded function.&amp;nbsp;&lt;/STRONG&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="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt; requestSucceeded(response, io) {&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;dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; border: 0px; font-weight: inherit; font-size: small;"&gt;"status"&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;).innerHTML = &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;dojoJson.toJsonIndentStr = &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;dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; border: 0px; font-weight: inherit; font-size: small;"&gt;"content"&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: small;"&gt;).value = dojoJson.toJson(response, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; border: 0px; font-weight: inherit; font-size: small;"&gt;true&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;/P&gt;&lt;P style="border: 0px;"&gt;&lt;STRONG&gt;if(evt.adds[0].attributes.hasOwnProperty('COMMENTS')){&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; evt.adds[0].attributes.COMMENTS = &amp;nbsp;response;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;}&lt;/STRONG&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:01:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-values-returned-by-esrirequest-request/m-p/188592#M17478</guid>
      <dc:creator>RichardAbram</dc:creator>
      <dc:date>2016-12-05T20:01:05Z</dc:date>
    </item>
  </channel>
</rss>

