Hoppa till huvudinnehållet

How to run identify tool from workflow with custom arguments

Kommentarer

1 kommentar

  • Permanently deleted user
    Hi Zack, 

     

    If you look at our Geocortex SDK for HTML5 API Reference guide (that gets shipped with every viewer installation), there is a link on the homepage called "Viewer Commands". If you click on this link, you will be able to see a long list of commands that are compatible with the RunExternalCommand activity in a workflow. One of these commands include the Identify tool.

     

    In your case, you want to run the Identify tool on a specific geometry. To do that, you will need to use the RunExternalCommand and the parameters are as follows:

     

    Command Name: "Identify"

     

    Command Parameter: geometryPolygon 

     

    where geometryPolygon is a variable of type esri.geometry.Geometry used to represent the polygon geometry. You can get this geometry by using the DisplayCaptureGeometry, which allows the user to pick their own geometry for the Identify or you can extract it from a feature set. 

     

    I hope this helps

     

    Carmen
    0

Du måste logga in om du vill lämna en kommentar.