<?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 do I allow a cross-site cookie? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-allow-a-cross-site-cookie/m-p/384324#M35575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to deploy an internal page using the JS 3.33 sample of the Elevation Profile widget.&amp;nbsp; (&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=widget_elevationprofile_createfeature" title="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=widget_elevationprofile_createfeature"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;)&amp;nbsp; There doesn't appear to be any updated version of it.&amp;nbsp; The sample works perfectly but I do see 29 cookies being affected by SameSite issues when I examine the developer tools.&amp;nbsp; Still it works using the ArcGIS.com background layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;moment I try to add any of my own REST services to the map it fails.&amp;nbsp; I believe this must be related to cross-site issues.&amp;nbsp; I can't add even a single feature layer without "Uncaught TypeError: FeatureLayer is not a constructor".&amp;nbsp; I think this is because the page is not allowing me to access both ArcGIS.com functionality (the elevation profile tool) and my internal rest layers.&amp;nbsp; While I am a novice developer I have successfully created several other pages utilizing featurelayers and dynamiclayers.&amp;nbsp; I don't think I have any typos or syntax errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see tons of sites saying that you can use&amp;nbsp;"&lt;SPAN style="color: #333333; background-color: rgba(220, 220, 220, 0.5);"&gt;SameSite=None" somewhere but none of them specify where this might be set.&amp;nbsp; Am I missing something?&amp;nbsp; How do I allow both of these sites to be reached by my page?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2020 16:43:23 GMT</pubDate>
    <dc:creator>ChrisArneson</dc:creator>
    <dc:date>2020-09-23T16:43:23Z</dc:date>
    <item>
      <title>How do I allow a cross-site cookie?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-allow-a-cross-site-cookie/m-p/384324#M35575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to deploy an internal page using the JS 3.33 sample of the Elevation Profile widget.&amp;nbsp; (&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=widget_elevationprofile_createfeature" title="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=widget_elevationprofile_createfeature"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;)&amp;nbsp; There doesn't appear to be any updated version of it.&amp;nbsp; The sample works perfectly but I do see 29 cookies being affected by SameSite issues when I examine the developer tools.&amp;nbsp; Still it works using the ArcGIS.com background layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;moment I try to add any of my own REST services to the map it fails.&amp;nbsp; I believe this must be related to cross-site issues.&amp;nbsp; I can't add even a single feature layer without "Uncaught TypeError: FeatureLayer is not a constructor".&amp;nbsp; I think this is because the page is not allowing me to access both ArcGIS.com functionality (the elevation profile tool) and my internal rest layers.&amp;nbsp; While I am a novice developer I have successfully created several other pages utilizing featurelayers and dynamiclayers.&amp;nbsp; I don't think I have any typos or syntax errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see tons of sites saying that you can use&amp;nbsp;"&lt;SPAN style="color: #333333; background-color: rgba(220, 220, 220, 0.5);"&gt;SameSite=None" somewhere but none of them specify where this might be set.&amp;nbsp; Am I missing something?&amp;nbsp; How do I allow both of these sites to be reached by my page?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2020 16:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-allow-a-cross-site-cookie/m-p/384324#M35575</guid>
      <dc:creator>ChrisArneson</dc:creator>
      <dc:date>2020-09-23T16:43:23Z</dc:date>
    </item>
  </channel>
</rss>

