How to select one of two "Result Table" (GXWeb) components from a "Show Result" activity (GXWorkflow) ?
Hey everyone,
After inserting two "Result table" components in a viewer in Geocortex Web. Is there a way in Geocortex Workflow, from a "Show Result" activity (or another one) to select one of the two "Result Table"?
Thanks for your help :)
-
Hi Benjamin,
You can do this in Web using its native "results.display" command, which is documented here. One of its overloads takes in an object specifying both the features to display, as well as the specific results component to target.
To illustrate this, I've created a simple Web application showing the technique. Each of the two buttons in the upper right will invoke this workflow, passing in a reference to the appropriate result table's model in the workflow inputs. The workflow will query the current extent for buildings with a height > 20m and show the results in one of two different results tables, depending which button you press.
Hope that helps,
Eric
0 -
Hi Derek/Eric
Thanks for sharing the workflow on this. It's very useful. Could you let us know what you are passing in as the 'table' parameter to the workflow? When I click on your link to the 'simple Web application' I only see it in runtime. Is there a way to open this in the GXW Designer? I've been trying to view the traffic in my Firefox 'Network' list but have not been able to find this particular parameter.
Your workflow shows:
"results":$getWorkflowInputs1.inputs.table
as part of the parameter to the Run Command activity but it's not clear what this 'table' contains.
Thanks
Mark
0 -
Hi all,
I want to do the same and have the same question as Mark. How can I refer from the workflow to the table I want to have the results in?
Can someone give me some more insight in this?
Thanks,
Caroline
0
Please sign in to leave a comment.
Comments
3 comments