<?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: Homepage is loading legacyHomePage.html even though we are new to ArcGIS in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/homepage-is-loading-legacyhomepage-html-even/m-p/1174628#M46082</link>
    <description>&lt;P&gt;Thanks for looking into this, Josh. Unfortunately I'm not experienced with Python or POST requests. However, I like learning new things so I'll read up about it and see if it makes sense to me. I'll let you know how I get on.&lt;/P&gt;&lt;P&gt;Thanks for your help!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 16:01:21 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2022-05-17T16:01:21Z</dc:date>
    <item>
      <title>Homepage is loading legacyHomePage.html even though we are new to ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/homepage-is-loading-legacyhomepage-html-even/m-p/1174135#M46053</link>
      <description>&lt;P&gt;The custom homepage for our organisation is only displayed when a user is signed in. We want public users to be able to access it.&lt;/P&gt;&lt;P&gt;In answer to a previous question -&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/custom-homepage-not-showing-for-public-users/m-p/1172369" target="_blank" rel="noopener"&gt;Custom homepage not showing for public users - Esri Community&lt;/A&gt;&amp;nbsp;- I was told that it looks like it is loading &lt;STRONG&gt;legacyHomePage.html&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've read this article and it says 'All ArcGIS Online organizations created after June 30, 2020 only have the new home page, so they don’t need to transition. '&lt;/SPAN&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/administration/lets-transition-to-the-new-arcgis-online-home-page/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Let’s transition to the new ArcGIS Online home page (esri.com)&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We only started our ArcGIS Online account last year so I don't understand why we're having a problem.&lt;/P&gt;&lt;P&gt;Has anyone else had this problem, or can anyone advise what to do?&lt;/P&gt;&lt;P&gt;Many thanks Ruth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 12:12:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/homepage-is-loading-legacyhomepage-html-even/m-p/1174135#M46053</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-05-16T12:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Homepage is loading legacyHomePage.html even though we are new to ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/homepage-is-loading-legacyhomepage-html-even/m-p/1174179#M46057</link>
      <description>&lt;P&gt;I looked into this further, and when I go to switch my org's homepage from the legacy to the new one, my browser is sending the following POST request:&lt;/P&gt;&lt;PRE&gt;https://kendall.maps.arcgis.com/sharing/rest/portals/self/update&lt;/PRE&gt;&lt;P&gt;With this item in the payload:&lt;/P&gt;&lt;PRE&gt;{"homePage":"modern"}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Other org settings were in the payload as well, but this, I think, is the relevant one. I've never attempted to update AGOL settings directly from a POST request, but as long as you include a valid token, I can't see why it wouldn't work.&lt;/P&gt;&lt;P&gt;If you're comfortable with a bit of Python, this worked for me:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import requests

token_url = 'https://arcgis.com/sharing/generateToken'
token_obj = {
    'f':'json',
    'username':'your-username',
    'password':'your-password',
    'client':'requestip'
}

t = requests.post(tokenurl, tokenobj)

token = t.json()['token']

update_url = 'https://your-org.maps.arcgis.com/sharing/rest/portals/self/update'
update_obj = {
    'portalProperties': {'homePage':'modern'},
    'token': token,
    'f': 'json'
}

u = requests.post(update_url, update_obj)

print(x.text)&lt;/LI-CODE&gt;&lt;P&gt;And you ought to get a response like this:&lt;/P&gt;&lt;PRE&gt;{"success":true,"orgId":"your-org-id"}&lt;/PRE&gt;&lt;P&gt;Note that I used Python mostly because it's what I'm most familiar with. You could as easily do this by another method, even directly from your browser.&lt;/P&gt;&lt;P&gt;Next time you visit your homepage, it should be updated! Key word "should".&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 14:44:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/homepage-is-loading-legacyhomepage-html-even/m-p/1174179#M46057</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-05-16T14:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Homepage is loading legacyHomePage.html even though we are new to ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/homepage-is-loading-legacyhomepage-html-even/m-p/1174628#M46082</link>
      <description>&lt;P&gt;Thanks for looking into this, Josh. Unfortunately I'm not experienced with Python or POST requests. However, I like learning new things so I'll read up about it and see if it makes sense to me. I'll let you know how I get on.&lt;/P&gt;&lt;P&gt;Thanks for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 16:01:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/homepage-is-loading-legacyhomepage-html-even/m-p/1174628#M46082</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-05-17T16:01:21Z</dc:date>
    </item>
  </channel>
</rss>

