<?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: Many issues (solved/unsolved) on OFFLINE installation of EXB and questions related. in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1028218#M1500</link>
    <description>&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;I don't have an answer, but have had similar problems (not exactly the same though). A question - it sounds like you're connecting to ArcGIS Enterprise (on premise portal),&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; ArcGIS Online? If so, which version of Enterprise are you using?&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 19:44:00 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-02-18T19:44:00Z</dc:date>
    <item>
      <title>Many issues (solved/unsolved) on OFFLINE installation of EXB and questions related.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1028075#M1495</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;I have installed EXB v1.3 , in Offline mode connected to a portal.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Problem 1 : Solved :&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;First i couldn't access the interface, an error message was displayed :&lt;/P&gt;&lt;P class="lia-align-justify"&gt;"Experience Builder developer Edition requires an ArGIS organization account with user type that includes privileges to create content"&lt;BR /&gt;(From &lt;FONT color="#993300"&gt;&lt;EM&gt;client/dist/jimu-core&lt;/EM&gt;&lt;/FONT&gt; : &lt;FONT color="#FF0000"&gt;roleError2&lt;/FONT&gt;).&lt;/P&gt;&lt;P class="lia-align-justify"&gt;I was trying to connect with Portal administrator account (so full rights) on the experience Builder. I tried 3 accounts with various permissions but none was able to connect.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Solution :&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;After some digging, i just found out in the file :&lt;BR /&gt;&lt;FONT color="#993300"&gt;&lt;EM&gt;client/dist/jimu-core/index.js&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;On line 28, Col 134408 there is a request on portal to &lt;STRONG&gt;"ValidateAppAccess"&lt;/STRONG&gt; :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var a = 0.portal+"/oauth2/validateAppAccess?clientId="+t;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;The t variable in the request is a string which contains the NAME of the application (printed in the console : "experienceBuilder").&lt;/P&gt;&lt;P class="lia-align-justify"&gt;The rest request "&lt;STRONG&gt;ValidateAppAccess&lt;/STRONG&gt;" requires an AppID. So by changing the &lt;STRONG&gt;t&lt;/STRONG&gt; variable with &lt;STRONG&gt;o.clientId&lt;/STRONG&gt; :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var a = 0.portal+"/oauth2/validateAppAccess?clientId="+o.clientId;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Interface showed up.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;Problem 2 : Solved :&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&lt;BR /&gt;After those steps, i tried to create an application, when I added the map widget and tried to load a WebMap already prepared (from Portal).&lt;BR /&gt;The Widget keep spinning loose.&lt;/P&gt;&lt;P class="lia-align-justify"&gt;I had the same issue as &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/36532"&gt;@DaveFullerton&lt;/a&gt; on the CMD prompt (only once) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;server error read ECONNRESET&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;I had several Error Message in my Browser Console (look at the attached file : Console_error_COR.png).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Solution :&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;After looking in the documentation, I've seen that API 4 assumes that CORS is enabled on server. I have enabled CORS requests on my IIS (Config_XML_CORS.png) and the problem was solved, but two points intrigues me :&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;- Why do we need CORS for the same domain :&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;BR /&gt;https://HOSTNAME:3001&lt;BR /&gt;https://HOSTNAME/arcgis_api_js/library/4.18&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;- Why would the builder need CORS to load the API files (when the WebAppBuilder Dev Edition doesn't need it) ?&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Problem 3 : Unsolved :&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;When the map widget is initiated with various Webmapps, the switch icons are not well set (look at the attached file : WebMap_icon_fail.png).&lt;/P&gt;&lt;P&gt;It appears that the source image is a request on the portal rest but the request is false :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;https://HOSTNAME/portal/sharing/rest/content/items/0686a4a2477d42c19ba838a317386875/info/null?token=XXXXXXXXXXX.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Where token is an available token)&lt;/P&gt;&lt;P&gt;The request return an error 404 :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error404rest.png" style="width: 361px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6316iD74FAE90E81DE87E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error404rest.png" alt="Error404rest.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I stopped digging, but i suspect many requests to be false when trying to reach portal informations.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;So here are my questions :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is it an issue that API JS 4.X can't load in the experience Builder or is it a normal behavior which need CORS enabled or proxy set-up ?&lt;/P&gt;&lt;P&gt;Why are the requests wrong, are they made for Online set-up ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------&lt;/P&gt;&lt;P&gt;The last thing I'd like to report, it's the slowness of the refreshing layers when the experience is started or when the extent/zoom is reset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;A.C&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 15:35:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1028075#M1495</guid>
      <dc:creator>AlexisCuicui</dc:creator>
      <dc:date>2021-02-18T15:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Many issues (solved/unsolved) on OFFLINE installation of EXB and questions related.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1028218#M1500</link>
      <description>&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;I don't have an answer, but have had similar problems (not exactly the same though). A question - it sounds like you're connecting to ArcGIS Enterprise (on premise portal),&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; ArcGIS Online? If so, which version of Enterprise are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 19:44:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1028218#M1500</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-02-18T19:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Many issues (solved/unsolved) on OFFLINE installation of EXB and questions related.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1028484#M1504</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using ArcGIS Enterprise10.7.1 on IIS (Windows).&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 14:16:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1028484#M1504</guid>
      <dc:creator>AlexisCuicui</dc:creator>
      <dc:date>2021-02-19T14:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Many issues (solved/unsolved) on OFFLINE installation of EXB and questions related.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1028495#M1506</link>
      <description>&lt;P&gt;I sent you a direct message, Alexis.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 14:33:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1028495#M1506</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-02-19T14:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Many issues (solved/unsolved) on OFFLINE installation of EXB and questions related.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1028810#M1517</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous User&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The "&lt;SPAN&gt;https://HOSTNAME:3001&lt;/SPAN&gt;" and "&lt;SPAN&gt;https://HOSTNAME&lt;/SPAN&gt;" should be considered as two domains I think.&lt;/P&gt;&lt;P&gt;The reason why the CORS is required is: EXB is using system.js to load scripts dynamically. For security reason,&amp;nbsp;system.js add “script.crossOrigin = 'anonymous'”, but this property requires the CORS headers&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2021 02:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1028810#M1517</guid>
      <dc:creator>Junshan_Liu</dc:creator>
      <dc:date>2021-02-20T02:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Many issues (solved/unsolved) on OFFLINE installation of EXB and questions related.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1029131#M1525</link>
      <description>&lt;P&gt;Indeed HOSTNAME and HOSTNAME:PORT are considered as different domains for requests. It still is strang that WebAppBuilder Developper doesn't need CORS to acces API while using a different domain.&lt;/P&gt;&lt;P&gt;Thank you for the answer, but would you mind to developp "for security reason" pls ?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 15:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/many-issues-solved-unsolved-on-offline/m-p/1029131#M1525</guid>
      <dc:creator>AlexisCuicui</dc:creator>
      <dc:date>2021-02-22T15:37:02Z</dc:date>
    </item>
  </channel>
</rss>

