<?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: Web AppBuilder Deploying to Website in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516492#M13531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You!. I was able to download it from ArcGIS Online and extracted the zip folder to our test server. It loaded up great! I changed something around and now I want to deploy it to our production server. I copy and past the file over to the production server. When i go to the URL I get the following error:&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;Unexpected token &amp;lt; in JSON at position 0. Any idea whats going on?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 15:31:24 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-10-05T15:31:24Z</dc:date>
    <item>
      <title>Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516487#M13526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a Web AppBuilder through ArcGIS Online. I then log onto the Web AppBuilder for Developers and download the zipfile. I unzip the file and place the contents on my server. When I go to the URL, all i get is the loading screen that never goes away. See below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried following the instructions here.&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/guide/xt-deploy-app.htm" title="https://developers.arcgis.com/web-appbuilder/guide/xt-deploy-app.htm"&gt;Deploy your app—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 4 is adding a proxy. Everything in my web app will be public, is it still necessary to do this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Then it ask to register your app online. I tried to doing this, but i think im getting messed up on the URIs. I entered &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F%5Bmyserver%5D%3Aport" rel="nofollow" target="_blank"&gt;https://[myserver]:port&lt;/A&gt;&lt;SPAN&gt; &amp;amp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F%5Bmyserver%5D%3Aport" rel="nofollow" target="_blank"&gt;http://[myserver]:port&lt;/A&gt;&lt;SPAN&gt;, but i still got the loading screen.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is my first time hosting a web appbuilder and any help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/375895_pastedImage_108.png" style="width: 276px; height: 152px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 21:06:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516487#M13526</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-10-04T21:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516488#M13527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did notice that when i Load the website and inspect it, I get the following error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Uncaught Error: Invalid template: &amp;lt;div&amp;gt;&lt;BR /&gt; &amp;lt;div class="loading-container"&amp;gt;&lt;BR /&gt; &amp;lt;div data-dojo-attach-point="imgDiv" class="img-div"&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;p data-dojo-attach-point="textNode"&amp;gt;&amp;lt;/p&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&amp;lt;div id="sd40s" style="visibility: hidden; position: absolute; bottom: -1px"&amp;gt;4oiGIFNEIEJJVCBEZXRlY3Rpb24=&amp;lt;/div&amp;gt;&lt;BR /&gt; at Function.g.getCachedTemplate (init.js:374)&lt;BR /&gt; at Object.buildRendering (init.js:373)&lt;BR /&gt; at Object.create (init.js:350)&lt;BR /&gt; at Object.postscript (init.js:349)&lt;BR /&gt; at new &amp;lt;anonymous&amp;gt; (init.js:161)&lt;BR /&gt; at Object.loadConfig (ConfigManager.js?wab_dv=2.5:130)&lt;BR /&gt; at Object.initApp (main.js?wab_dv=2.5:223)&lt;BR /&gt; at init.js:206&lt;BR /&gt; at ia (init.js:28)&lt;BR /&gt; at init.js:28&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not sure what this really means or is useful in helping find the issue.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 21:21:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516488#M13527</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-10-04T21:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516489#M13528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This first part is a little confusing:&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have created a Web AppBuilder through ArcGIS Online. I then log onto the Web AppBuilder for Developers and download the zipfile.&lt;/BLOCKQUOTE&gt;&lt;P&gt;The version of WAB that is online on AGOL is version 2.6 which the WAB Dev version is still on version 2.5 for a few more weeks so if you are saying that you downloaded the app from AGOL and are try to import it into WAB Dev then this is an issue. But if you are just downloading from AGOL and then trying to deploy to your web server then you should be good to go. As far as the proxy you will not need the proxy unless you are using secured services or you are buffering large geometries that would cause the app to send URL strings that exceed the GET string limit and need to use POST instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:46:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516489#M13528</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-10-05T12:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516490#M13529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To explain the first a bit more, I created the Web App through Web AppBuilder on AGOL. When i go the item details page, download wasn't an option. I then log onto Web AppBuilder for Developers, import the web app and download the zip file.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516490#M13529</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-10-05T13:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516491#M13530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So that is the issue you can not import a WAB 2.6 (AGOL's current version) into WAB Dev with is only 2.5 currently.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:16:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516491#M13530</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-10-05T13:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516492#M13531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You!. I was able to download it from ArcGIS Online and extracted the zip folder to our test server. It loaded up great! I changed something around and now I want to deploy it to our production server. I copy and past the file over to the production server. When i go to the URL I get the following error:&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;Unexpected token &amp;lt; in JSON at position 0. Any idea whats going on?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:31:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516492#M13531</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-10-05T15:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516493#M13532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you have introduced a syntax error in your change that you made.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:33:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516493#M13532</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-10-05T15:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516494#M13533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;The only change i did was changing an image source. When i inspect the website i get this in the console:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background: #f6f6f6; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;main.js?wab_dv=2.6:13 SyntaxError: Unexpected token &amp;lt; in JSON at position 0&lt;BR /&gt;at JSON.parse (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at json (init.js:147)&lt;BR /&gt;at n (init.js:146)&lt;BR /&gt;at d.f [as handleResponse] (init.js:138)&lt;BR /&gt;at XMLHttpRequest.e (init.js:143)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;It looks like it is coming from the main.js. I didnt even open that up.&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;On the test server, everything works fine. I copy and paste it over and then this error shows up.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516494#M13533</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-10-05T15:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516495#M13534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The source of the error saying is is in the main.js does not really mean the syntax error is in the main.js that just the file that is reporting the error from trying to parse a json file. What json file or files did you change?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 16:03:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516495#M13534</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-10-05T16:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516496#M13535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed more_normal.svg and more_hover.svg to .pngs within the Widget.js within LayerList folder within the Widget folder.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 16:06:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516496#M13535</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-10-05T16:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516497#M13536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And your app worked fine with that change before you moved it to the production server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 16:10:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516497#M13536</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-10-05T16:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516498#M13537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Yeah, everything on the test server loads up fine and works the way it is intended. This is what is confusing me the most. I figure there must be some setting on our&amp;nbsp;production server that is causing the issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 16:13:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516498#M13537</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-10-05T16:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516499#M13538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try deploying a vanilla (unchanged) WAB app to you production server and see if it works OK?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 16:38:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516499#M13538</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-10-05T16:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516500#M13539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could it be a&amp;nbsp;Cross Origin Resource Sharing (CORS) issue, just because it works on the test server but not on the production server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 21:05:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516500#M13539</guid>
      <dc:creator>ZaferDefne</dc:creator>
      <dc:date>2017-10-10T21:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516501#M13540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked on it the website today and everything loaded up fine on production. I wonder if had do with the server replicating. Thanks Robert for all your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 21:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516501#M13540</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-10-10T21:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Deploying to Website</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516502#M13541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm getting this exact same console log when trying to load a Web AppBuilder Application that's deployed to my company's server.&amp;nbsp; Do you have any more info on how you fixed this?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 22:49:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-deploying-to-website/m-p/516502#M13541</guid>
      <dc:creator>BrantCarman</dc:creator>
      <dc:date>2017-12-08T22:49:31Z</dc:date>
    </item>
  </channel>
</rss>

