Hoppa till huvudinnehållet

get workflow to proceed without using button

Kommentarer

3 kommentarer

  • Permanently deleted user

    Does anyone know if this is possible.

    At the moment the user has to select the item in the combobox  then hit a "Next" button to fire a workflow.

    Is there a way for the combobox to automatically proceed to the next step,  when the user selects an item.

     

    0
  • Berend Veldkamp

    Unfortunately, at this moment it is not possible to start the next activity when a user selects an item from a combobox. A user must click on one of the buttons to proceed.

     

    One way around this I can think of, is to build a custom viewer module, for either the HTML or Silverlight viewer.

     

    Alternatively, you could set up a new mapservice layer for this specific case: Add two fields:

    • Layername
    • SearchValue

    All combinations of Layername/SearchValue should go in there.

    Then, setup two cascading comboboxes for these two values (sorry, no autocomplete), this will give you the layername, and the value to search for. With the layername, you could get the URL of the actual mapservice, and use that to perform a QueryTask for the selected SearchValue to get the geometry.

    This approach has some drawbacks: As said, you can only use comboboxes or listboxes. Second, it is not possible to change the label for the 2nd combobox once a layer is selected, so you would have to come up with a more generic text, e.g. 'Search in the selected layer', or something along those lines. And last but not least, the contents of the layer should be kept in sync with the 'real' data.

    0
  • Permanently deleted user

    Thanks Berend

    For my case,  when a user selects the item in the list and hits ok it fires off another workflow. I was thinking it might need a custom job. Have not got time for that now though. Maybe at a later time I will set up a custom module.

    0

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