<?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: Add layer issue in webappbuilder developer site in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-layer-issue-in-webappbuilder-developer-site/m-p/186415#M5142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found out that secure layer added into the portal return&amp;nbsp;broadcasted&amp;nbsp;cors header *.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And portal just behave like the proxy and forward the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since app in the portal use same domain, there is no issue.&lt;/P&gt;&lt;P&gt;For WebAppBuilder developer with different domain, browser start checking/validating the that cors header and keep on failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After we request the team from secure layer side, to return the proper cors, and wildcard domain list, and then it is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2019 07:17:02 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-09-13T07:17:02Z</dc:date>
    <item>
      <title>Add layer issue in webappbuilder developer site</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-layer-issue-in-webappbuilder-developer-site/m-p/186414#M5141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a feature layer added as portal item which is defined through&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/portal/10.5/administer/windows/connect-secured-services.htm" title="https://enterprise.arcgis.com/en/portal/10.5/administer/windows/connect-secured-services.htm"&gt;Connect to secure services—Portal for ArcGIS (10.5.x) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;, that concept, Add the user name/password based secure service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defined web map with this feature layer, I can create the &lt;STRONG&gt;web app in the portal&lt;/STRONG&gt; from this web map, this layer can be loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I got issue loading this feature layer from WebAppBuilder &lt;STRONG&gt;Developer&lt;/STRONG&gt; site (another domain), got cors issue with Access-control-allow-origin header in the response must not be the wildcard "*" when the ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I did add the proxy configuration and add the esri resource proxy into the webappbuilder developer site, the cors issue is gone but still cannot load yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every time it reached to The layer, ${layers} cannot be added to the map error message popup and that layer cannot be added at all.&lt;/P&gt;&lt;P&gt;I tried with WebAppBuilder developer from version 2.6 to 2.13,( no luck)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Advice?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2019 07:42:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-layer-issue-in-webappbuilder-developer-site/m-p/186414#M5141</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-09T07:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add layer issue in webappbuilder developer site</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-layer-issue-in-webappbuilder-developer-site/m-p/186415#M5142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found out that secure layer added into the portal return&amp;nbsp;broadcasted&amp;nbsp;cors header *.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And portal just behave like the proxy and forward the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since app in the portal use same domain, there is no issue.&lt;/P&gt;&lt;P&gt;For WebAppBuilder developer with different domain, browser start checking/validating the that cors header and keep on failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After we request the team from secure layer side, to return the proper cors, and wildcard domain list, and then it is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2019 07:17:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-layer-issue-in-webappbuilder-developer-site/m-p/186415#M5142</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-13T07:17:02Z</dc:date>
    </item>
  </channel>
</rss>

