<?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 Web App Builder - (401) unauthorised in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-app-builder-401-unauthorised/m-p/810750#M6460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've just started using Web App Builder and have been following the instructions to create a custom widget here: &lt;A href="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm" title="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm"&gt;Create a custom in-panel widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I first attempted to test the widget via this URL: &lt;SPAN style="color: #2873ee; font-family: 'Lucida Console', Monaco, monospace; background-color: #fefefe;"&gt;&lt;A _jive_internal="true" href="https://community.esri.com/[your" rel="nofollow" target="_blank"&gt;http://[your&lt;/A&gt;&lt;SPAN&gt; host name:3344]/webapp/?config=config-demo.json &lt;/SPAN&gt;&lt;SPAN style="color: #303030; font-family: arial, helvetica, sans-serif;"&gt;I got a Access-Control-Allow-Origin error. I then set this header on the server and made its value "*". I then attempted to test the widget again and &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #fefefe; color: #303030; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN&gt; received this error: "Unable to load &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://geonet.esri.com/" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;webserver&amp;gt;/arcgis/sharing/portals/self?f=json&amp;amp;dojo.preventCache=1425517676066 status: 401".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fefefe; color: #303030; font-family: arial, helvetica, sans-serif;"&gt;Is anyone able to help me resolve this please?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2015 01:34:11 GMT</pubDate>
    <dc:creator>AndrewTerwiel</dc:creator>
    <dc:date>2015-03-05T01:34:11Z</dc:date>
    <item>
      <title>Web App Builder - (401) unauthorised</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-app-builder-401-unauthorised/m-p/810750#M6460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've just started using Web App Builder and have been following the instructions to create a custom widget here: &lt;A href="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm" title="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm"&gt;Create a custom in-panel widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I first attempted to test the widget via this URL: &lt;SPAN style="color: #2873ee; font-family: 'Lucida Console', Monaco, monospace; background-color: #fefefe;"&gt;&lt;A _jive_internal="true" href="https://community.esri.com/[your" rel="nofollow" target="_blank"&gt;http://[your&lt;/A&gt;&lt;SPAN&gt; host name:3344]/webapp/?config=config-demo.json &lt;/SPAN&gt;&lt;SPAN style="color: #303030; font-family: arial, helvetica, sans-serif;"&gt;I got a Access-Control-Allow-Origin error. I then set this header on the server and made its value "*". I then attempted to test the widget again and &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #fefefe; color: #303030; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN&gt; received this error: "Unable to load &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://geonet.esri.com/" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;webserver&amp;gt;/arcgis/sharing/portals/self?f=json&amp;amp;dojo.preventCache=1425517676066 status: 401".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fefefe; color: #303030; font-family: arial, helvetica, sans-serif;"&gt;Is anyone able to help me resolve this please?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 01:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-app-builder-401-unauthorised/m-p/810750#M6460</guid>
      <dc:creator>AndrewTerwiel</dc:creator>
      <dc:date>2015-03-05T01:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Web App Builder - (401) unauthorised</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-app-builder-401-unauthorised/m-p/810751#M6461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This issue has been addressed a few time. Here is one of the links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/119785"&gt;stemapp/sample-configs folder? Does this exist?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:45:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-app-builder-401-unauthorised/m-p/810751#M6461</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-03-05T13:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Web App Builder - (401) unauthorised</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-app-builder-401-unauthorised/m-p/810752#M6462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I added a new setting to MIME Types in IIS. This has fixed the problem. The MIME Type extension is &lt;EM&gt;json&lt;/EM&gt; and the MIME type is &lt;EM&gt;application/javascript.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;EM&gt;A few hours later this stopped working again, so I have unmarked this as correct.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 21:51:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-app-builder-401-unauthorised/m-p/810752#M6462</guid>
      <dc:creator>AndrewTerwiel</dc:creator>
      <dc:date>2015-03-05T21:51:41Z</dc:date>
    </item>
  </channel>
</rss>

