DataFrame Suppression
Is there a way to keep the DataFrame from popping out and showing all the workflow processing while a workflow is working?
I have the DataFrame closed by default for an embedded map on a page, but when I do a Select Feature activity, or a Query Task , the DataFrame pops open causing the map to recenter and the DataFrame to fill up with listed features that will eventually be in the Results table at the bottom of the map. I use the RunExternal Command activity to close it again when the workflow finishes, but i t's very distracting to many of my clients to watch "the sausage being made", and it has been pointed out to me that this not compliant with the Americans With Disabilities Act (ADA) since all the wiggling of the map dispaly could cause a seizure in some people.
I didn't see anything in the json that seemed likely to suppress the DataFrame , and I don't see any configurable property in Essentials other than having the DataFrame closed by default.
Please let me know the way to keep that panel out of sight until I call it.
Thanks so much!
-
Take a look at "resultMappings" in the JSON configuration. You can map feature set collections from various sources to different commands. If you want all workflow results to go directly into the table, for example, you can remap features tagged as workflow features to the ShowResultsTable command, rather than ShowResultsList.
0 -
Sounds likea good place to start.
What if I don't want them to show up anywhere at all?
I just want the map to center and zoom to the selected and highlighted feature without any data result display anywhere. Especially any of the intermediate processing steps.
0 -
If your workflow is doing the work of zooming and highlighting, you can most likely just empty out the array of command names from the workflow entry in resultMappings.
0 -
Sean,
If at the end of the Workflow you would like to show the user results in the table at the bottom, then do the result mappings as suggested by Jason in his first post. If you do not want results displayed until the end of the Workflow, just remove any SelectFeature activities (and remove other activities as well that show panels to the user such as "ConfigureWorkflowContainer" etc.).
If you're using SelectFeatures to just show selected features on the map, you can replace this with activities which draw temporary markup on the map, and which zoom (if needed). The QueryTask will have no effect on the viewer, so you are safe to keep using that one in your Workflow.
John
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare