Zum Hauptinhalt gehen

How do I apply a token to a workflow for a map service that I recently secured in ArcGIS Server Manager?

Kommentare

6 Kommentare

  • Permanently deleted user
    Hi Scott,

     

    There are two types of tokens, an ArcGIS token and a Geocortex token.  You would typically require an ArcGIS token but if you have permissions set on the "Permissions" page in Essentials Manager you would need a Geocortex token.  ArcGIS tokens can be obtained from the GetMapServiceInfo or GenerateToken activity and the Geocortex token can be obtained from a GetRequestInfo activity.

     

    Regards,

     

    Wayne Richard

     

    Latitude Geographics Group Ltd.

     

    Head Office: 300 – 1117 Wharf Street  Victoria, BC Canada V8W 1T7

     

    Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com 

     

    Developers of Geocortex web-based mapping software | www.geocortex.com

     

    An Esri Platinum Business Partner

     

     
    0
  • Permanently deleted user
    Thank you Wayne. The error occurs for both secured and unsecured sites, so can I assume I need to obtain the token from the GetMapServiceInfo or GenerateToken activity? Also, is this activity inserted after the Query Parcel Layer activity? I've attached an image of the workflow.

     

    Thank you

     

    Scott

     

    _img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000XdvN&feoid=Body&refid=0EMf2000000YCk8" _/_img_

     

     
    0
  • Ryan Kelley
    Hi Scott,

     

    You need to use the GenerateToken activity, which yields a string variable, which is your token. Put that variable into the QueryTask activity, for the Token argument. So, the Generate Token activity needs to happen prior to the Query Task, so you can use it.
    0
  • Permanently deleted user
    Hi Scott,

     

    What is the error?  You should not see an error with an un-secured service unless it requires a Geocortex token or it may be not related to a token at all.

     

    Regards,

     

    Wayne
    0
  • Permanently deleted user
    Hi Wayne,

     

    Just to clarify, the workflow works fine when the service is unsecured whether it's within a viewer that is password protected or not. The only issue is when the map serivce is secured. 

     

    Thanks

     

    Scott
    0
  • Permanently deleted user
    Thank you Ryan. I will make an attempt at this configuration.

     

    Scott
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.