<?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 Quick Report Template secure webmap in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798156#M1237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Added this code to the RefineLocationPage.qml to be able to use secure webmap's, it works with username and password part, but it does not work with token part. why?&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Connections &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                target&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; AuthenticationManager &lt;SPAN class="comment token"&gt;// singleton instance&lt;/SPAN&gt;
                onAuthenticationChallenge&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                    console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"LG-authentication challenge for"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; challenge&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;requestUrl&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; user &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;rot13&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;app&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;settings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;value&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"username"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; password &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;rot13&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;app&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;settings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;value&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"password"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; token &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; app&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;settings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;value&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"token"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;challenge&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;authenticationChallengeType &lt;SPAN class="operator token"&gt;===&lt;/SPAN&gt; Enums&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AuthenticationChallengeTypeUsernamePassword&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

                        &lt;SPAN class="comment token"&gt;/*var credential = ArcGISRuntimeEnvironment.createObject("Credential", {
                                                                                   username: user,
                                                                                   password: password
                                                                               });*/&lt;/SPAN&gt;


                        console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;token&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                        &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; credential &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; ArcGISRuntimeEnvironment&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;createObject&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Credential"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                                                                               &lt;SPAN class="string token"&gt;"token"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; token
                                                                               &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                        &lt;SPAN class="comment token"&gt;//credential.token = app.token&lt;/SPAN&gt;
                        challenge&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;continueWithCredential&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;credential&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

                    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
                &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 09:13:57 GMT</pubDate>
    <dc:creator>LaurynasGedminas2</dc:creator>
    <dc:date>2021-12-12T09:13:57Z</dc:date>
    <item>
      <title>Quick Report Template secure webmap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798156#M1237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Added this code to the RefineLocationPage.qml to be able to use secure webmap's, it works with username and password part, but it does not work with token part. why?&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Connections &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                target&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; AuthenticationManager &lt;SPAN class="comment token"&gt;// singleton instance&lt;/SPAN&gt;
                onAuthenticationChallenge&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                    console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"LG-authentication challenge for"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; challenge&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;requestUrl&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; user &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;rot13&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;app&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;settings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;value&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"username"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; password &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;rot13&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;app&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;settings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;value&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"password"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; token &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; app&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;settings&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;value&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"token"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;challenge&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;authenticationChallengeType &lt;SPAN class="operator token"&gt;===&lt;/SPAN&gt; Enums&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AuthenticationChallengeTypeUsernamePassword&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

                        &lt;SPAN class="comment token"&gt;/*var credential = ArcGISRuntimeEnvironment.createObject("Credential", {
                                                                                   username: user,
                                                                                   password: password
                                                                               });*/&lt;/SPAN&gt;


                        console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;token&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                        &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; credential &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; ArcGISRuntimeEnvironment&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;createObject&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Credential"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                                                                               &lt;SPAN class="string token"&gt;"token"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; token
                                                                               &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                        &lt;SPAN class="comment token"&gt;//credential.token = app.token&lt;/SPAN&gt;
                        challenge&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;continueWithCredential&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;credential&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

                    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
                &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:13:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798156#M1237</guid>
      <dc:creator>LaurynasGedminas2</dc:creator>
      <dc:date>2021-12-12T09:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Report Template secure webmap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798157#M1238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Laurynas,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first guess would be that the token might not be valid. How did you generate the token?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What error message are you seeing in the console log when using the token instead of username/password?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 17:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798157#M1238</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2020-01-03T17:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Report Template secure webmap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798158#M1239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The token is generated thru&amp;nbsp;&lt;SPAN style="color: #9aa7d6;"&gt;featureServiceManager&lt;/SPAN&gt;.generateToken() with users credentials.&lt;/P&gt;&lt;P&gt;Where is no errors when the page loads, just says "Map is not available offline","Click to refresh"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also noticed that Authentication Challenges different url if i use username:&lt;/P&gt;&lt;P&gt;sharing/rest/content/items/4900f753936e47ddb96d5cc19d0b0be6&lt;/P&gt;&lt;P&gt;vs token:&lt;/P&gt;&lt;P&gt;sharing/rest/content/items/4900f753936e47ddb96d5cc19d0b0be6/data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this has something to do with my problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 17:57:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798158#M1239</guid>
      <dc:creator>LaurynasGedminas2</dc:creator>
      <dc:date>2020-01-03T17:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Report Template secure webmap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798159#M1240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that is the token for the feature layer that is used in the Quick Report app, not necessarily the same as the webmap that is loaded from ArcGIS Online.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you expecting to skip the login when using a secure webmap in Quick Report app?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 18:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798159#M1240</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2020-01-03T18:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Report Template secure webmap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798160#M1241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have customized the QuickReport to ask for log in after the LandingPage finishes loading (Component.onCompleted).&lt;/P&gt;&lt;P&gt;code checks if token is expired and asks to relogin, then token is used thru out the App.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just manually tested token generated thru 'sharing/rest/generateToken', and it still does not work.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 18:32:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798160#M1241</guid>
      <dc:creator>LaurynasGedminas2</dc:creator>
      <dc:date>2020-01-03T18:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Report Template secure webmap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798161#M1242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Technically this is how you generate the OAuth token for ArcGIS Online or Enterprise,&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/users-groups-and-items/generate-token.htm" title="https://developers.arcgis.com/rest/users-groups-and-items/generate-token.htm"&gt;Generate Token—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But&amp;nbsp;here is the thing, in Quick Report template, we are handling the feature layer data collection workflow by calling the REST endpoint of the feature layer directly, hence appending token works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only for WebMap section in the RefineLocationPage.qml, it is loaded using the &lt;A href="https://community.esri.com/space/2136"&gt;ArcGIS Runtime SDK for Qt&lt;/A&gt; workflow, where it needs to use Portal Object and Authentication Manager to access the OAuth2 authentication when using secure items. See this doc,&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/guide/access-the-arcgis-platform.htm" title="https://developers.arcgis.com/qt/latest/qml/guide/access-the-arcgis-platform.htm"&gt;Access the ArcGIS platform—ArcGIS Runtime SDK for Qt | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be seen in Map Viewer template where we are fully using ArcGIS Runtime OAuth2 authentication and Portal object to handle the logins.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 18:50:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798161#M1242</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2020-01-03T18:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Report Template secure webmap</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798162#M1243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 19:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/quick-report-template-secure-webmap/m-p/798162#M1243</guid>
      <dc:creator>LaurynasGedminas2</dc:creator>
      <dc:date>2020-01-03T19:53:07Z</dc:date>
    </item>
  </channel>
</rss>

