AnsweredAssumed Answered

Adding Secure Service with Credentials stored in item

Question asked by Tbutcher-esristaff Employee on May 3, 2016
Latest reply on May 3, 2016 by Tbutcher-esristaff

I am trying to add a Map Service for ArcGIS Online into an application.  The service is stored in ArcGIS Online with the credentials as part of the service.  In this case I get the utility service URL to try and get the object.

 

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..

 

I am appending a ArcGIS Online Portal token I am getting from the service to allow this query.  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. 

 

Any suggestions?  Ideas? !

Outcomes