FIlter Workflow at mapservice Level
Are there any examples or documentation on how to use the Filter Workflow on mapservice level?
The workflow designer documentation has an example of a Filter Workflow at the layer level, which works (GE 4.51, GVH2.6.1) nicely. However, I want to filter all layers in 1 mapservice at once. Documentation states it should be on Dynamic layers on a dynamic mapservice, so I activated the Dynamic Layers in te service.
The documentation has 3 input arguments (layerId, layerName and dynamicLayer) and 1 output argument (where). I created a filterworkflow with those arguments.
I added a log activity first, to see if the filter workflow is running. And a simple static assign for the where argument (1=0)
Adding the filterworkflow to a specific layer: filter works, log is filled with the text.
Adding the filterworkflow to the mapservice level: filter does not work, log is not filled.
Are there any specific arguments or specific activities that should be present in a filterworkflow for mapservice level? Or should the 'where' argument filled with a specific type of whereclause?
0
-
Hi Gerben,
I'm not sure which Filter workflow you are talking about in this question. Did you want to post the workflow so I can take a look?
Otherwise, maybe you can be more specific in terms of how you want to filter the layers and I can tell you which activities to use. We do not have any activities geared towards filtering layers, so you will likely have to create this functionality yourself using the exisiting activities in Workflow Designer.
I hope this helps.
Carmen0 -
I'm facing the same problem as Gerben. Is there supposed to be any difference between: - a map service filter workflow
- a layer filter workflow
0 -
Hi Guys,
The mapservice-level filter workflow is only run when the viewer specifically makes a dynamic layer request. By default this will not happen, but it will if you choose to change the draw order of the layers or update the symbology.
There are a few other circumstances where we switch to dynamic layers prematurely (uploading a shapefile, interacting with the layer actions menu) where technically we do not need to use dynamic layers but it happens anyway. You would not normally notice until you are trying to specifically deal with dynamic layers.
Regards,
-Malcolm0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer