<?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 XMLHttpRequest for rest service required CORS in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/xmlhttprequest-for-rest-service-required-cors/m-p/875024#M13451</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;I have manage to extend the QUERY WIDGET to add custom reports on the query result. The widget works fine before&amp;nbsp; until recently when&amp;nbsp;it start to give error&amp;nbsp;with Cross Origin issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error message says :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XMLHttpRequest for &lt;A href="https://my_server_address/server/rest/services/.../MapServer/export"&gt;https://my_server_address/server/rest/services/.../MapServer/export?&lt;/A&gt;&amp;nbsp;required Cross Origin Resorces Sharing (CORS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help . what to do ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have setup a proxy server but the same error message still appeared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/394457_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;this my proxy.config setting .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/394458_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this my webapp setting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm sure i have miss some steps here . any help are much appreciated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zamzam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jan 2018 16:51:48 GMT</pubDate>
    <dc:creator>zam_zammalek</dc:creator>
    <dc:date>2018-01-22T16:51:48Z</dc:date>
    <item>
      <title>XMLHttpRequest for rest service required CORS</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/xmlhttprequest-for-rest-service-required-cors/m-p/875024#M13451</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;I have manage to extend the QUERY WIDGET to add custom reports on the query result. The widget works fine before&amp;nbsp; until recently when&amp;nbsp;it start to give error&amp;nbsp;with Cross Origin issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error message says :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XMLHttpRequest for &lt;A href="https://my_server_address/server/rest/services/.../MapServer/export"&gt;https://my_server_address/server/rest/services/.../MapServer/export?&lt;/A&gt;&amp;nbsp;required Cross Origin Resorces Sharing (CORS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help . what to do ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have setup a proxy server but the same error message still appeared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/394457_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;this my proxy.config setting .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/394458_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this my webapp setting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm sure i have miss some steps here . any help are much appreciated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zamzam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2018 16:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/xmlhttprequest-for-rest-service-required-cors/m-p/875024#M13451</guid>
      <dc:creator>zam_zammalek</dc:creator>
      <dc:date>2018-01-22T16:51:48Z</dc:date>
    </item>
  </channel>
</rss>

