Hoppa till huvudinnehållet

Allow choosing final point location multiple times with non-modal dialog

Kommentarer

4 kommentarer

  • John Nerge
    You can't have a modal window open for the whole time, but you can pretty easily loop through the user select a point and asking if they're satisfied with it:

     

    https://drive.google.com/open?id=0B_hHHiqcTKMfNG9FbzR0S0Fwb0U
    0
  • Permanently deleted user
    Hi Michael,

     

    Did you try to use “Capture Geometry” activity?

     

    If you set WorkflowContainerName="DefaultNoCloseButton" you will see your point tool on the left side panel and user can select a point on the map. If user clicks again on point tool current point selection is cleared and new selection can be made. When user is happy of point location can click on “next” button and you can validate location or carry on with workflow logic.

     

    You can see a working example in workflow that I posted in post below (see commented out capture geometry activity) https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_DETAIL&id=90660000000Cki2AAC

     

    I hope this helps
    0
  • Permanently deleted user
    Thanks John and Francesca.

     

    Both of you are close.  But I really don't want to hassle the user with the need to go back and forth between panels (or ask the user if they are satisfied).  I want them to be able to pick-pick-pick until they are satisfied (in a very non-modal way).  I don't want a user to have to interact with anything other than the map finding their perferred location.  Once they are satisfied with the location, the user will use the Left side panel to choose "OK" to continue with the workflow logic.  Make sense?

     

    Any other takers?
    0
  • John Nerge
    The only other method I can think of right now would be to use the right-click menu:

     

    1) Right-click the location on the map and run the workflow from the menu

     

    2) Add a graphic to the map at that location and open a Display Form with an okay button and instructions to right-click again if the user doesn't like the location

     

    3) Click okay to continue or right-click again to start the workflow over
    0

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