Zum Hauptinhalt gehen

Capture when user selects "X" (close button) in workflow container to exit

Kommentare

16 Kommentare

  • Permanently deleted user

    There are workflow containers that remove the close button.

    Try "ModalWindowNoCloseButton"

    This will actually use a floating window. There may be a container with no close button for other regions. I would check the developers guide for workflow containers.

    0
  • Permanently deleted user

    Hi Carmen,

    Have you found a solution to this problem? We are looking for the same thing and the "ModalWindowNoCloseButton" option is not good for us.

     

    Thank you,

    Claudiu.

     

    0
  • Carmen Durham

    Claudiu,

    Sorry, but I have not.  Please let us know if you ever find a solution.

    Thanks,

    Carmen

    0
  • Permanently deleted user

    Hi Carmen

    I was curious in what way it is 'no good for us'?

    Is it the way that it is a floating window?

    Thanks

    Ralph

    0
  • Permanently deleted user

    Hi Ralph,

    You are right, the problem is mostly the fact that the ModalWindowNoCloseButton region puts the form as a floting window above the map. Some of the functionality we have developed  require user interaction with the map. For example, at the begining of the workflow we use the CaptureGeometry activity to prompt the user to draw a polygon on the map. The workflow then adds that geometry as markup and runs other processes. This might be followed by other steps where we prompt the user for input. It is easy to see how the DataRegion is the best place to display for the workflow container.

    When the workflow finishes, all the graphics that have been added as part of the workflow are cleaned.

    The problem is the users might decide use the "X" button to close the form in the middle of the worflow. In this case, we are left with the graphics on the map. We have addeed a Close button on the form to allow the users to exit the workflow and do the clean-up, but we could not find a way to either hide the "X" button in the DataRegion or to run the clean-up code when the user clicks "X".

    Cheers,

    Claudiu.

    0
  • Carmen Durham

    Yes, that is exactly the reason!  Thank you, Claudiu, for the great description.

     

    0
  • Permanently deleted user

    Carmen, Claudiu

    I've included your request to hide the close ("X") button from the DataRegion to our wishlist for product improvements; however, it has not been prioritized or scheduled for future development as of yet. 

    Regards,

    --Alejandro

     

     

    0
  • Permanently deleted user

    This has been identified as a bug in my viewer by a customer.  Please can you make this a higher priority as when the 'X' is clicked during a capture geometry operation the system is irrecoverable with the capture geometry tool unable to be disabled even when reopening the same workflow.

    0
  • Permanently deleted user

    I was wondering if there has been any progress made?

     

    Thanks 

    Jake

    0
  • Permanently deleted user
    Did this ever make it to a product release? We've had the same problem raised again.
    0
  • Wout Peters
    Any updates on this?
    0
  • Nico Burgerhart
    It is not written earlier in this topic, but there is also a "DefaultNoCloseButton" workflowcontainer available. The remarks from 2013 are not valid anymore.
    0
  • Permanently deleted user
    Hey all,

     

    Clicking the close button immediately terminates the workflow, leaving behind any markup, feature sets, selections etc.that were added to the map.  At the moment, this is the expected behaviour.  If you want your workflow to clean up when closed, Nico's reply is the correct way to do it (If you want a modal window, you can use ModalWindowNoCloseButton).  

     

    In that case, you would add a cancel button, and use a flow decision, or a case activity to route the user to your cleanup sequence.  

     

    I hope this helps!

     

    Thanks,

     

    Danny
    0
  • Zack Robison
    Thank you Nico and Danny!  Where can I find these form window types, are there more than two?
    0
  • Permanently deleted user
    Hi Zack,

     

    You can find this information on the docs center.  Here's a link that should help:

     

    https://docs.geocortex.com/essentials/workflow/4.8/help/Default.htm#wf/help/activities.htm

     

    Looking at the docs, it looks like there are only the 4 options (Default, DefaultNoCloseButton, ModalWindow, and ModalWindowNoCloseButton).  

     

    I hope that helps!

     

    Thanks,

     

    Danny
    0
  • Nico Burgerhart
    As described at the link above, you can also add your own custom workflow containers.
    0

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