<?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: Custom Header not working in the any additional pages - CORS error in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/custom-header-not-working-in-the-any-additional/m-p/366913#M1870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help gratefully received&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Nov 2017 20:24:58 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-11-21T20:24:58Z</dc:date>
    <item>
      <title>Custom Header not working in the any additional pages - CORS error</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/custom-header-not-working-in-the-any-additional/m-p/366911#M1868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a problem with the open data site whereby the custom header we have is not replicated in the additional pages feature of the website. The custom header in&amp;nbsp;the site&amp;nbsp;&lt;A href="http://geoportal.statistics.gov.uk/"&gt;http://geoportal.statistics.gov.uk/&lt;/A&gt;&amp;nbsp;works fine but it doesn't work in&amp;nbsp;any additional pages such as&amp;nbsp;&lt;A href="http://geoportal.statistics.gov.uk/pages/news-and-updates"&gt;http://geoportal.statistics.gov.uk/pages/news-and-updates&lt;/A&gt;&amp;nbsp;- this is because&amp;nbsp;the custom css is being blocked by the browser for the reasons -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Ebrima; font-size: medium;"&gt;We use a custom domain name - geoportal.statistics.gov.uk and XHR requests to / for the opendata.css.txt file, which contains the sites custom CSS, are apparently being blocked by browsers when the site uses a custom domain name. It’s due to the client request missing the Origin header and the server response missing the Access-Control-Allow-Origin header [home-page-custom-css-CORS-error.png]. These headers are actually being included on a second cloned test&amp;nbsp;site that we have set up that does not use a custom domain name [test-site-CORS-included.png].&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Ebrima; font-size: medium;"&gt;We’ve also noticed that the sites custom CSS is being included inline within the &amp;lt;head&amp;gt; on the home page [home-page-custom-css-inline.png], however it is not included on child pages [page-missing-custom-inline.png].&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Ebrima; font-size: medium;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Ebrima; font-size: medium;"&gt;Matt (ONS Geography)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Ebrima; font-size: medium;"&gt;­­&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 09:28:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/custom-header-not-working-in-the-any-additional/m-p/366911#M1868</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-11-06T09:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Header not working in the any additional pages - CORS error</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/custom-header-not-working-in-the-any-additional/m-p/366912#M1869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to allow the custom css through to the child pages either inline in the &amp;lt;head&amp;gt; of the child pages. &lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;At the moment&amp;nbsp;the client request is missing the Origin header and the server response is missing the Access-Control-Allow-Origin header for our custom domain site which means it screws up our custom header in our child pages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 08:35:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/custom-header-not-working-in-the-any-additional/m-p/366912#M1869</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-11-16T08:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Header not working in the any additional pages - CORS error</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/custom-header-not-working-in-the-any-additional/m-p/366913#M1870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help gratefully received&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 20:24:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/custom-header-not-working-in-the-any-additional/m-p/366913#M1870</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-11-21T20:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Header not working in the any additional pages - CORS error</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/custom-header-not-working-in-the-any-additional/m-p/366914#M1871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks like a bug. We'll get one created and inform you of any updates&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 16:35:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/custom-header-not-working-in-the-any-additional/m-p/366914#M1871</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-11-22T16:35:35Z</dc:date>
    </item>
  </channel>
</rss>

