Zum Hauptinhalt gehen

Keep data region form open after running workflow

Kommentare

3 Kommentare

  • Nico Burgerhart

    A button click will always close a display form.

    You will have to reopen the form and set the values again on it (via runtime modification, or as an input dataitemlist for a listbox) or display a new form with the selection results (in the same way).

     

    0
  • Permanently deleted user

    Thanks for your rpely. I'm trying figure out how I can get the values back into the comboboxes yet still allow new selections from the comboboxes with their original data sources. If you route the last step in my workflow back to the display form, it opens again but blank. If I copy the form and open a new one, and feeding in the selections by variables into the input data fields, then I won't have access to the list sources right? So how do I set a default value in a displayform that can be fed by a variable in the workflow?

    thanks

    0
  • Permanently deleted user

    Rob,

    It is not easy to catch how you implemented your workflow.

    If it is not too big your workflow, copy and paste your workflow so that others can check it out. If it is too big, Copy that workflow to the other name, and stripped out only the portion of your Display form section.

    My implementation in my head based on your user story will be

    (1) Get the Datasource for the Combobox to set List<DataItem>. The datasource will be the QueryTask result, or Datalink, or hardcoed values.

    (2) Add DisplayForm activity, and add a combobox control, and set Input Data source as the one you set at the step 1. And also its RunTime Modification will set up the SelectValue of the Combobox to set the the selected values on fly

    (3) reset the selectedValue using what a user selected on the Combobox

    (4) apply LayerDefinition or refreshmap

    (5) arrow back to the initial step 1. You may check if List<DataItem> exist or not to prevent to contruct it again.

    Wish this help you out, but if you are still an issue, post your simple version of the workflow so that others may help you out.

    Munhwan (aliased as Moon 1 :-)

    0

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