<?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: Simple app with private WebMap in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813565#M1683</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;Do you have this sample still on your agenda? Waiting for it. Appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Feb 2020 08:33:42 GMT</pubDate>
    <dc:creator>PHerk</dc:creator>
    <dc:date>2020-02-12T08:33:42Z</dc:date>
    <item>
      <title>Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813556#M1674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Appstudio and Qt. I succeeded in building the Map Viewer (4.1) app with a private web map.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Map Viewer (4.1) is a big (and for me complex) app. With my limited knowledge I am not able to downscale to a 'as simple as possible" app to display a private&amp;nbsp;web map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Whenever I try to load the web map in&amp;nbsp;a simple example application like "Web Map" from the&amp;nbsp;arcgis-appstudio-samples-4.0 Git, a grey screen appears, no error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I add to be able to show the web map, just as in&amp;nbsp;&lt;SPAN&gt;Map Viewer (4.1) &lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #008000;"&gt;Company name and item id are changed in this listing&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;The code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #808000;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;QtQuick&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;2.7&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #808000;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;QtQuick.Controls&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;2.1&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #808000;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;QtQuick.Controls.Styles&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;1.4&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #808000;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;QtGraphicalEffects&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;1.0&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #808000;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;QtQuick.Controls.Material&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;2.1&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #808000;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;ArcGIS.AppFramework&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;1.0&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #808000;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;ArcGIS.AppFramework.Controls&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;1.0&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #808000;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;Esri.ArcGISRuntime&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;100.2&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #800080;"&gt;Item&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;real&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;scaleFactor&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;AppFramework&lt;/SPAN&gt;.displayScaleFactor&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;MapView&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;id&lt;/SPAN&gt;:&lt;SPAN&gt;mapView&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;anchors.fill&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;parent&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;BusyIndicator&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;anchors.centerIn&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;parent&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;height&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;48&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;*&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;scaleFactor&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;width&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;height&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;running&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;true&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Material.accent&lt;/SPAN&gt;:&lt;SPAN style="color: #008000;"&gt;"#8f499c"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;visible&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(&lt;SPAN&gt;mapView&lt;/SPAN&gt;.drawStatus&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;===&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;Enums&lt;/SPAN&gt;.DrawStatusInProgress)&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;Rectangle&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;anchors.fill&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;parent&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;color&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"transparent"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;ComboBox&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;id&lt;/SPAN&gt;:&lt;SPAN&gt;combobox&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;anchors.left&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN&gt;parent&lt;/SPAN&gt;.left&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;anchors.top&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN&gt;parent&lt;/SPAN&gt;.top&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;anchors.margins&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;10&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;*&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;scaleFactor&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;width&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;200&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;*&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;scaleFactor&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;height&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;30&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;*&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;scaleFactor&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;clip&lt;/SPAN&gt;:true&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Material.accent&lt;/SPAN&gt;:&lt;SPAN style="color: #008000;"&gt;"#8f499c"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;background&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;Rectangle&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;anchors.fill&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;parent&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;radius&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;6&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;*&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;scaleFactor&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;border.color&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"darkgrey"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;width&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;200&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;*&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;scaleFactor&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;height&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;30&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;*&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;scaleFactor&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;textRole&lt;/SPAN&gt;:&lt;SPAN style="color: #008000;"&gt;"name"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;model&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;ListModel&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;id&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;cbItems&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;ListElement&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"MYCOMPANY"&lt;/SPAN&gt;;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;item&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"XXXXXXXXXXXXXXXXXXXXXX"&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;ListElement&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"San&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;Francisco"&lt;/SPAN&gt;;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;item&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"358e6f9bebf544699b005f066886579c"&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;ListElement&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"OpenstreetMap"&lt;/SPAN&gt;;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;item&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"0d22c9bc992f4f218605d6edb042ff89"&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;onCurrentIndexChanged&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN&gt;loadWebMap&lt;/SPAN&gt;(&lt;SPAN&gt;cbItems&lt;/SPAN&gt;.get(&lt;SPAN&gt;currentIndex&lt;/SPAN&gt;).item)&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Component.onCompleted&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN&gt;loadWebMap&lt;/SPAN&gt;(&lt;SPAN&gt;cbItems&lt;/SPAN&gt;.get(&lt;SPAN&gt;currentIndex&lt;/SPAN&gt;).item)&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;            &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;loadWebMap&lt;/SPAN&gt;(webmapitemid){&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;organizationPortalUrl&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"https://mycompany-def.maps.arcgis.com/"&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #808000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;webmapUrl&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;organizationPortalUrl&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;+&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;webmapitemid&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;newMap&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;ArcGISRuntimeEnvironment&lt;/SPAN&gt;.createObject(&lt;SPAN style="color: #008000;"&gt;"Map"&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{initUrl:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;webmapUrl&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;autoFetchLegendInfos:true});&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN&gt;mapView&lt;/SPAN&gt;.map&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;newMap&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 18:39:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813556#M1674</guid>
      <dc:creator>Pvan_Herk</dc:creator>
      <dc:date>2020-02-03T18:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813557#M1675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there's an issue with the organizationPortalUrl that you are using, see this documentation,&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-map.html#initUrl-prop" title="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-map.html#initUrl-prop"&gt;Map QML Type | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="248" src="https://community.esri.com/legacyfs/online/480241_pastedImage_2.png" width="605" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the example showing when I try loading a webmap from our private ArcGIS Enterprise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG class="image-2 jive-image" height="300" src="https://community.esri.com/legacyfs/online/480263_pastedImage_3.png" width="623" /&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>Tue, 04 Feb 2020 17:06:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813557#M1675</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2020-02-04T17:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813558#M1676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply Erwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried all 3 calls but no success. Below is the function. In the last line I do a console.log. In the console I copy the url and put it in a browser. That leads me to the correct map inside ArcGIS. So it seems, the link organizationPortalUrl and id are valid. It still gives me a grey screen. In Javascript I request the same map from a HTML file on my server. That works. See the second listing below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open the HTML file from my server in a browser, I get the map and it works as expected.&lt;/P&gt;&lt;P&gt;When I build the Browser View application from AppStudio, and put in the url to my &lt;SPAN&gt;the HTML file from my server&lt;/SPAN&gt;, I get a login screen, and after that I only see the 2 zoom buttons. The map is plain&amp;nbsp;grey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;loadWebMap&lt;/SPAN&gt;(webmapitemid){&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;organizationPortalUrl&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"https://mycompany-def.maps.arcgis.com/home/item.html?id="&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;//var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;organizationPortalUrl&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"https://mycompany-def.maps.arcgis.com/home/webmap/viewer.html?webmap=";&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;//var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;organizationPortalUrl&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"https://mycompany-def.maps.arcgis.com/sharing/rest/content/items/";&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;webmapUrl&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;organizationPortalUrl&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;+&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;webmapitemid&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;//var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;webmapUrl&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;organizationPortalUrl&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;webmapitemid&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;'/data';&lt;/SPAN&gt;&lt;/PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;newMap&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;ArcGISRuntimeEnvironment&lt;/SPAN&gt;.createObject(&lt;SPAN style="color: #008000;"&gt;"Map"&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{initUrl:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;webmapUrl&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;autoFetchLegendInfos:true});&lt;/PRE&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;//&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;the&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;the&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;MapView&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN&gt;mapView&lt;/SPAN&gt;.map&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;newMap&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #0055af;"&gt;console&lt;/SPAN&gt;.log(&lt;SPAN style="color: #2985c7;"&gt;webmapUrl&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

Javascript:

 var portal = new Portal();
 var first = true;
 portal.load().then(function() {
 dom.byId('viewDiv').style.display = 'flex';

 var webMap = new WebMap({ 
 portalItem: {
 id: "xxxxxxxxxxxxxxxx",
 portal: "https://mycompany-def.maps.arcgis.com"
 }
 });
 var view = new MapView({
 container: "viewDiv",
 map: webMap,
 center: [5.123456,50.123456],
 zoom: 19
 });
 

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:34:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813558#M1676</guid>
      <dc:creator>Pvan_Herk</dc:creator>
      <dc:date>2021-12-12T09:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813559#M1677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree that I think the URL is good now. The next thing we want to check is the "Authentication", what type of security authentication is used in the ArcGIS Enterprise?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is using OAuth, there is a sample in AppStudio Desktop called "OAuth Biometric Authentication", if others, this is the documentation on using AuthenticationManager in ArcGIS Runtime,&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/guide/access-the-arcgis-platform.htm#ESRI_SECTION1_2513881AFEDD4B1688E614554463EB71" title="https://developers.arcgis.com/qt/latest/qml/guide/access-the-arcgis-platform.htm#ESRI_SECTION1_2513881AFEDD4B1688E614554463EB71"&gt;Access the ArcGIS platform—ArcGIS Runtime SDK for Qt | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 21:29:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813559#M1677</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2020-02-04T21:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813560#M1678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Javascript HTML page, I use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var info = new OAuthInfo({&lt;BR /&gt; appId: "xxxxxxxxxxxxxxxxxxxxxx", //*** Your Client ID value goes here ***//&lt;BR /&gt; popup: false // inline redirects don't require any additional app configuration&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;identityManager.registerOAuthInfos([info]);&lt;/P&gt;&lt;P&gt;// send users to arcgis.com to login&lt;BR /&gt; on(dom.byId("sign-in"), "click", function() {&lt;BR /&gt; identityManager.getCredential(portalUrl);&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it is OAuth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 06:26:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813560#M1678</guid>
      <dc:creator>Pvan_Herk</dc:creator>
      <dc:date>2020-02-05T06:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813561#M1679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;OAuth Biometric Authentication example, but it gives Error 400.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I think the ID is not valid.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you give directions how and what part of the OAuth Biometric Authentication code I should&lt;SPAN&gt;&amp;nbsp;include&lt;/SPAN&gt; ?&lt;/P&gt;&lt;P&gt;A working example would be very nice!&lt;/P&gt;&lt;P&gt;At this point I am in the dark.&lt;/P&gt;&lt;P&gt;Highly appreciated.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 12:26:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813561#M1679</guid>
      <dc:creator>Pvan_Herk</dc:creator>
      <dc:date>2020-02-05T12:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813562#M1680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey @p van henk did you end up getting a worked example of this?&lt;/P&gt;&lt;P&gt;I can only find paragraphs of writing but no examples. Also in the dark here...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 01:18:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813562#M1680</guid>
      <dc:creator>CraigGadaloff</dc:creator>
      <dc:date>2020-02-07T01:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813563#M1681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try to put together a new sample to show this, give me a few moments.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 01:20:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813563#M1681</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2020-02-07T01:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813564#M1682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig. No success. Didn't find any&amp;nbsp;working examples, and I spend searching and trying for many hours. But I am thankful Erwin gives a helping hand. Waiting&amp;nbsp;for his sample.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 07:06:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813564#M1682</guid>
      <dc:creator>PHerk</dc:creator>
      <dc:date>2020-02-07T07:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813565#M1683</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;Do you have this sample still on your agenda? Waiting for it. Appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 08:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813565#M1683</guid>
      <dc:creator>PHerk</dc:creator>
      <dc:date>2020-02-12T08:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813566#M1684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the delay, I was tied up with Fed UC conference,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified&amp;nbsp;the Portal User Info sample to show private webmap after login, see attached modification to MyApp.qml page. Please replace the webmap id with yours.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG __jive_id="482103" class="image-1 jive-image" height="641" src="https://community.esri.com/legacyfs/online/482103_pastedImage_1.png" width="349" /&gt;&lt;IMG __jive_id="482104" class="image-2 jive-image" height="660" src="https://community.esri.com/legacyfs/online/482104_pastedImage_2.png" width="360" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-emoji jive-image" height="699" src="/legacyfs/online/482126_Screen Shot 2020-02-13 at 1.43.10 PM.png" width="959" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 18:50:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813566#M1684</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2020-02-13T18:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813567#M1685</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;YES, it works but there is a problem.&lt;/P&gt;&lt;P&gt;I used my clientId that still works on a Javascript private map. When I replace your clientId, with my clientId&amp;nbsp;I get an error:&lt;/P&gt;&lt;H3 style="color: #000000; background-color: #ffffff;"&gt;Invalid redirect_uri&lt;/H3&gt;&lt;P&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-weight: 400; font-size: 12.8px;" /&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; font-size: 12.8px;"&gt;Error:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: 400; font-size: 12.8px;"&gt;400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created several clientId's but could not get a working Id.&lt;/P&gt;&lt;P&gt;What should I do to get my own working clientId?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 08:40:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813567#M1685</guid>
      <dc:creator>PHerk</dc:creator>
      <dc:date>2020-02-14T08:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813568#M1686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Craig, look at Erwin's sample. Success.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 08:41:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813568#M1686</guid>
      <dc:creator>PHerk</dc:creator>
      <dc:date>2020-02-14T08:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813569#M1687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what the redirect URI value needed for the "Application" in the ArcGIS Online or Enterprise where you get the client ID from. This redirect URI value should be there by default when you create a new one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="220" src="https://community.esri.com/legacyfs/online/482247_pastedImage_1.png" width="672" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 17:21:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813569#M1687</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2020-02-14T17:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813570#M1688</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;What should I do with this redirect URL, it is not used in your sample app...&lt;/P&gt;&lt;P&gt;Also when I enter a new application at&amp;nbsp;this link:&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink1" href="https://developers.arcgis.com/applications" title="https://developers.arcgis.com/applications"&gt;https://developers.arcgis.com/applications&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no redirect URL generated.&lt;/P&gt;&lt;P&gt;Seems to me there should be a link between the clientID and the map, but that seems not to be the case.&lt;/P&gt;&lt;P&gt;I have this working using your clientID and my private map.&lt;/P&gt;&lt;P&gt;Totally not clear to me...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 17:54:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813570#M1688</guid>
      <dc:creator>PHerk</dc:creator>
      <dc:date>2020-02-14T17:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813571#M1689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to add that redirect URL in your "Application" in either ArcGIS Online or Developers.arcgis.com, they are the same thing, just a different interface.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This specific redirect URL is added when you create a new application in ArcGIS Online and you need this redirect URL for when using the client ID in the OAuth page in a native application. It has nothing to do with the map, it is related to the client application that is using the Client ID to authenticate to ArcGIS Online using OAuth.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="482274" class="image-1 jive-image" height="396" src="https://community.esri.com/legacyfs/online/482274_pastedImage_2.png" width="650" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 18:11:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813571#M1689</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2020-02-14T18:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813572#M1690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no redirect URL created when I add a new application, nor there is a default value. The field is empty, but I enter&amp;nbsp;this URI:&amp;nbsp;&lt;EM style="color: #52565a; font-weight: bold; font-size: 14px;"&gt;urn&lt;/EM&gt;&lt;SPAN style="color: #3c4043; background-color: #ffffff; font-size: 14px;"&gt;:&lt;/SPAN&gt;&lt;EM style="color: #52565a; font-weight: bold; font-size: 14px;"&gt;ietf&lt;/EM&gt;&lt;SPAN style="color: #3c4043; background-color: #ffffff; font-size: 14px;"&gt;:&lt;/SPAN&gt;&lt;EM style="color: #52565a; font-weight: bold; font-size: 14px;"&gt;wg&lt;/EM&gt;&lt;SPAN style="color: #3c4043; background-color: #ffffff; font-size: 14px;"&gt;:&lt;/SPAN&gt;&lt;EM style="color: #52565a; font-weight: bold; font-size: 14px;"&gt;oauth&lt;/EM&gt;&lt;SPAN style="color: #3c4043; background-color: #ffffff; font-size: 14px;"&gt;:&lt;/SPAN&gt;&lt;EM style="color: #52565a; font-weight: bold; font-size: 14px;"&gt;2.0&lt;/EM&gt;&lt;SPAN style="color: #3c4043; background-color: #ffffff; font-size: 14px;"&gt;:&lt;/SPAN&gt;&lt;EM style="color: #52565a; font-weight: bold; font-size: 14px;"&gt;oob&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-weight: normal;"&gt;That works so OK with me.&lt;/P&gt;&lt;P style="color: #3d3d3d; font-weight: normal;"&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 18:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813572#M1690</guid>
      <dc:creator>PHerk</dc:creator>
      <dc:date>2020-02-14T18:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Simple app with private WebMap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813573#M1691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great thanks&amp;nbsp;Erwin and Piet. I have my map loaded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 22:40:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/simple-app-with-private-webmap/m-p/813573#M1691</guid>
      <dc:creator>CraigGadaloff</dc:creator>
      <dc:date>2020-02-17T22:40:11Z</dc:date>
    </item>
  </channel>
</rss>

