<?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: Define default Portal with Survey123 Template in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/define-default-portal-with-survey123-template/m-p/838133#M2483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you manage to make this work with the latest AppStudio and Survey123 Template?&amp;nbsp; @&lt;A href="https://community.esri.com/people/ESoekianto-esristaff"&gt;ESoekianto-esristaff&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2020 00:36:36 GMT</pubDate>
    <dc:creator>HéctorMeléndez</dc:creator>
    <dc:date>2020-10-01T00:36:36Z</dc:date>
    <item>
      <title>Define default Portal with Survey123 Template</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/define-default-portal-with-survey123-template/m-p/838129#M2479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to edit the Survey123 Template in AppStudio. My goal is to customize the template so that when users press Sign In, they are redirected to our organizational ArcGIS Online enterprise login page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This customization allows our field staff to avoid pressing "Enterprise Login" from the main ArcGIS Online page, then typing in our organization short name (smgov), and then pressing sign in with their enterprise credentials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, instead of the default portal being "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com" rel="nofollow" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;&lt;SPAN&gt;", I'd like the default portal to be "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.smgov.maps.arcgis.com" rel="nofollow" target="_blank"&gt;https://www.smgov.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's very strange is that I was actually able to accomplish this by editing the&amp;nbsp;&lt;STRONG&gt;Portal.qml&lt;/STRONG&gt; file. I changed&amp;nbsp;&lt;STRONG&gt;kDefaultPortalUrl&amp;nbsp;&lt;/STRONG&gt;from arcgis.com to smgov.maps.arcgis.com. I was excited because this worked, at first. Now, when I ran the Survey123 Template and pressed sign in, our Enterprise portal sign-in came up by default (yay!). But then, it just stopped working. I don't know what happened but now the edited&amp;nbsp;&lt;STRONG&gt;kDefaultPortalUrl&lt;/STRONG&gt; variable no longer influences the application's behavior.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I going about this the right way?&amp;nbsp;How do I define the default Portal url?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2018 19:51:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/define-default-portal-with-survey123-template/m-p/838129#M2479</guid>
      <dc:creator>Zach_Robinson</dc:creator>
      <dc:date>2018-12-14T19:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Define default Portal with Survey123 Template</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/define-default-portal-with-survey123-template/m-p/838130#M2480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Zachary,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp;done similar customization in the past and these are the changes we did,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Portal/PortalsList.qml&amp;nbsp;on the "kDefaultPortal" property&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/431711_Screen Shot 2018-12-14 at 12.43.45 PM.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Portal/Portal.qml inside the "readSettings()" function&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/431712_Screen Shot 2018-12-14 at 12.40.40 PM.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cc: &lt;A href="https://community.esri.com/group/4077"&gt;Survey123 for ArcGIS&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2018 20:48:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/define-default-portal-with-survey123-template/m-p/838130#M2480</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2018-12-14T20:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Define default Portal with Survey123 Template</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/define-default-portal-with-survey123-template/m-p/838131#M2481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for the detailed reply! This works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2018 22:03:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/define-default-portal-with-survey123-template/m-p/838131#M2481</guid>
      <dc:creator>Zach_Robinson</dc:creator>
      <dc:date>2018-12-14T22:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Define default Portal with Survey123 Template</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/define-default-portal-with-survey123-template/m-p/838132#M2482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/39013"&gt;Erwin Soekianto&lt;/A&gt;‌&amp;nbsp; I'm revisiting this topic with AppStudio 4.1 and the Survey123 Template version 3.7.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure of the Qt files has changed in this newer version of Survey123.&amp;nbsp;I am having trouble defining a default portal url. I am trying to route users to &lt;A href="http://www.smgov.maps.arcgis.com"&gt;www.smgov.maps.arcgis.com&lt;/A&gt;&amp;nbsp;where they can login with their enterprise logins. Thank you for any help you can offer!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 00:41:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/define-default-portal-with-survey123-template/m-p/838132#M2482</guid>
      <dc:creator>Zach_Robinson</dc:creator>
      <dc:date>2020-02-14T00:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Define default Portal with Survey123 Template</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/define-default-portal-with-survey123-template/m-p/838133#M2483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you manage to make this work with the latest AppStudio and Survey123 Template?&amp;nbsp; @&lt;A href="https://community.esri.com/people/ESoekianto-esristaff"&gt;ESoekianto-esristaff&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 00:36:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/define-default-portal-with-survey123-template/m-p/838133#M2483</guid>
      <dc:creator>HéctorMeléndez</dc:creator>
      <dc:date>2020-10-01T00:36:36Z</dc:date>
    </item>
  </channel>
</rss>

