<?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: Adding Secure Service with Credentials stored in item in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/adding-secure-service-with-credentials-stored-in/m-p/305520#M1499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Create a UserCredentials object with the username/password - &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/class_user_credentials.html" title="https://developers.arcgis.com/qt/qml/api-reference/class_user_credentials.html"&gt;ArcGIS Runtime SDK for Qt QML API: UserCredentials Class Reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Assign this object to your Layer's credential property - &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/class_layer.html#ad77cd5714e536ba01dc630f205ac8754" title="https://developers.arcgis.com/qt/qml/api-reference/class_layer.html#ad77cd5714e536ba01dc630f205ac8754"&gt;ArcGIS Runtime SDK for Qt QML API: Layer Class Reference&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2016 16:20:38 GMT</pubDate>
    <dc:creator>LucasDanzinger</dc:creator>
    <dc:date>2016-05-03T16:20:38Z</dc:date>
    <item>
      <title>Adding Secure Service with Credentials stored in item</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/adding-secure-service-with-credentials-stored-in/m-p/305519#M1498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add a Map Service for ArcGIS Online into an application.&amp;nbsp; The service is stored in ArcGIS Online with the credentials as part of the service.&amp;nbsp; In this case I get the utility service URL to try and get the object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Futility.arcgis.com%2Fusrsvcs%2Fservers%2F4374389db5a14a7985ec39fb1b778408%2Frest%2Fservices%2FSFI%2FSFI_HrvstPlan_Testing%2FMapServer%3Ftoken%3DE_LFO1N-W-OGnpFHF_YtM0dcfTT8MPnI_JdWkiW0XDhVOZCD4X-mixrR3S31MhjYYZwHhAeHxqr3k8N7uGCW3GN35kDD-VUcQ0_xvO-eVHHQND5rKFdlMyV1RkxcQvk3SQXoEJ93tkJUN5_kkDR74y7uNp4N3K-YPZniPUYKerHBQ2SF8UcVNiW43fa3LJjZTzAozPniIDwuzQBT6YTo-g" rel="nofollow" target="_blank"&gt;https://utility.arcgis.com/usrsvcs/servers/4374389db5a14a7985ec39fb1b778408/rest/services/SFI/SFI_HrvstPlan_Testing/MapServer?token=E_LFO1N-W-OGnpFHF_YtM0dcfTT8MPnI_JdWkiW0XDhVOZCD4X-mixrR3S31MhjYYZwHhAeHxqr3k8N7uGCW3GN35kDD-VUcQ0_xvO-eVHHQND5rKFdlMyV1RkxcQvk3SQXoEJ93tkJUN5_kkDR74y7uNp4N3K-YPZniPUYKerHBQ2SF8UcVNiW43fa3LJjZTzAozPniIDwuzQBT6YTo-g&lt;/A&gt;&lt;SPAN&gt;..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am appending a ArcGIS Online Portal token I am getting from the service to allow this query.&amp;nbsp; I can copy and paste the above into a browser (the token times out in 30 minutes so likely no longer valid) but when I try to add to a QML app nothing is showing up.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&amp;nbsp; Ideas? !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 14:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/adding-secure-service-with-credentials-stored-in/m-p/305519#M1498</guid>
      <dc:creator>TravisButcher</dc:creator>
      <dc:date>2016-05-03T14:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Secure Service with Credentials stored in item</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/adding-secure-service-with-credentials-stored-in/m-p/305520#M1499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Create a UserCredentials object with the username/password - &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/class_user_credentials.html" title="https://developers.arcgis.com/qt/qml/api-reference/class_user_credentials.html"&gt;ArcGIS Runtime SDK for Qt QML API: UserCredentials Class Reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Assign this object to your Layer's credential property - &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/class_layer.html#ad77cd5714e536ba01dc630f205ac8754" title="https://developers.arcgis.com/qt/qml/api-reference/class_layer.html#ad77cd5714e536ba01dc630f205ac8754"&gt;ArcGIS Runtime SDK for Qt QML API: Layer Class Reference&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 16:20:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/adding-secure-service-with-credentials-stored-in/m-p/305520#M1499</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-05-03T16:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Secure Service with Credentials stored in item</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/adding-secure-service-with-credentials-stored-in/m-p/305521#M1500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this work with an ArcGIS online user?&amp;nbsp; We are using OAuth to get into ArcGIS online.&lt;/P&gt;&lt;P&gt;In reading the API Doc:&amp;nbsp; "&lt;SPAN style="color: #000000; font-family: Roboto, sans-serif; font-size: 14px;"&gt;Represents user credentials for accessing secured ArcGIS services and tasks"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating the UserCredentials with the Online credentials but that did not seem to be working either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 16:26:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/adding-secure-service-with-credentials-stored-in/m-p/305521#M1500</guid>
      <dc:creator>TravisButcher</dc:creator>
      <dc:date>2016-05-03T16:26:09Z</dc:date>
    </item>
  </channel>
</rss>

