<?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 How to host configurable app on your sever? in ArcGIS Instant Apps Questions</title>
    <link>https://community.esri.com/t5/arcgis-instant-apps-questions/how-to-host-configurable-app-on-your-sever/m-p/1008194#M125</link>
    <description>&lt;P&gt;Hi, I'm trying to configure the Nearby app to test on my local server and eventually my development web server but when I update the portal url, appid, and oauthappid I get an error :&lt;/P&gt;&lt;P&gt;(index):236 Uncaught TypeError: Cannot read property 'trim' of undefined&lt;BR /&gt;at Object.x [as normalize] ((index):236)&lt;BR /&gt;at d.e._sanitizeUrl (IdentityManager.js:36)&lt;BR /&gt;at d.e.findOAuthInfo (IdentityManager.js:13)&lt;BR /&gt;at IdentityManager.js:10&lt;BR /&gt;at Array.filter (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at d.e.registerOAuthInfos (IdentityManager.js:10)&lt;BR /&gt;at ApplicationBase._registerOauthInfos (ApplicationBase.ts:647)&lt;BR /&gt;at ApplicationBase.load (ApplicationBase.ts:202)&lt;BR /&gt;at init.ts:39&lt;BR /&gt;at wa ((index):19)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2020 19:02:20 GMT</pubDate>
    <dc:creator>BrittaneyHarkness</dc:creator>
    <dc:date>2020-12-09T19:02:20Z</dc:date>
    <item>
      <title>How to host configurable app on your sever?</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/how-to-host-configurable-app-on-your-sever/m-p/1008194#M125</link>
      <description>&lt;P&gt;Hi, I'm trying to configure the Nearby app to test on my local server and eventually my development web server but when I update the portal url, appid, and oauthappid I get an error :&lt;/P&gt;&lt;P&gt;(index):236 Uncaught TypeError: Cannot read property 'trim' of undefined&lt;BR /&gt;at Object.x [as normalize] ((index):236)&lt;BR /&gt;at d.e._sanitizeUrl (IdentityManager.js:36)&lt;BR /&gt;at d.e.findOAuthInfo (IdentityManager.js:13)&lt;BR /&gt;at IdentityManager.js:10&lt;BR /&gt;at Array.filter (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at d.e.registerOAuthInfos (IdentityManager.js:10)&lt;BR /&gt;at ApplicationBase._registerOauthInfos (ApplicationBase.ts:647)&lt;BR /&gt;at ApplicationBase.load (ApplicationBase.ts:202)&lt;BR /&gt;at init.ts:39&lt;BR /&gt;at wa ((index):19)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 19:02:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/how-to-host-configurable-app-on-your-sever/m-p/1008194#M125</guid>
      <dc:creator>BrittaneyHarkness</dc:creator>
      <dc:date>2020-12-09T19:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to host configurable app on your sever?</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/how-to-host-configurable-app-on-your-sever/m-p/1009064#M126</link>
      <description>&lt;P&gt;Hi Brittaney,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you haven't done so already try setting these values in the application.json:&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; appid: &amp;lt;insert app id here&amp;gt;, // This can be an empty string if there is no app id i.e. ""&lt;BR /&gt;&amp;nbsp; portalUrl: &amp;lt;insert portal url where your content is hosted&amp;gt;,&lt;BR /&gt;&amp;nbsp; oauthappid: ""&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Then, in the applicationBase.json, try setting isEsri to false.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This should get rid of the error in the console and load the app. Please let use know if you run into any more issues.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2020 01:23:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/how-to-host-configurable-app-on-your-sever/m-p/1009064#M126</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-12-12T01:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to host configurable app on your sever?</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/how-to-host-configurable-app-on-your-sever/m-p/1011438#M127</link>
      <description>&lt;P&gt;Ryan, thanks!! that did the trick&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 14:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/how-to-host-configurable-app-on-your-sever/m-p/1011438#M127</guid>
      <dc:creator>BrittaneyHarkness</dc:creator>
      <dc:date>2020-12-21T14:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to host configurable app on your sever?</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/how-to-host-configurable-app-on-your-sever/m-p/1018201#M128</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Brittaney,&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you haven't done so already try setting these values in the application.json:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; appid: &amp;lt;insert app id here&amp;gt;, // This can be an empty string if there is no app id i.e. ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; portalUrl: &amp;lt;insert portal url where your content is hosted&amp;gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; oauthappid: ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, in the applicationBase.json, try setting isEsri to false.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should get rid of the error in the console and load the app. Please let use know if you run into any more issues.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ryan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 00:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/how-to-host-configurable-app-on-your-sever/m-p/1018201#M128</guid>
      <dc:creator>RyanLibed</dc:creator>
      <dc:date>2021-01-20T00:50:36Z</dc:date>
    </item>
  </channel>
</rss>

