Display custom results in workflow container
Hi,
I am trying to essentially create a mini-custom report that displays in the workflow container "DataRegion" that will display the culmination of multiple spatial queries in a quick output without having to launch a formal report pdf and allow for some interaction between the report area and the map.
For example the user selects an area of interest and the intersected wetlands are returned along with the watershed, county, histogram chart of wetland value scores, etc. If a user clicks on a wetland, county or watershed in the report, it would zoom to that feature.
Is there a way to do this? Ideally I would like to be able to format an output in a form like display with text labels and show the feature information. The DisplayForm activity only seems to show form objects for input and the description section of a group doesn't recognize variable information. I can sort of get some variable information to display dynamically in the ConfigureWorkflowContainer activity, but I can't get it to show on multiple lines or figure out how I could do a looping through the selected features to display something like:
/customer/servlet/servlet.FileDownload?file=00P6000000e884bEAA
-
I tried to load an image in the original post, but I think this will work now.
/customer/servlet/servlet.FileDownload?file=00P6000000e88C0EAI
0 -
I would like to do something like this. Using the Web Request Method, I have tabular results that I want to display in a form in the DataRegion. Is this possible?
0 -
Marc,
As of Essentials 3.9 the DisplayForm activity is now capable of displaying "dynamic" content based on variable values. The Form Designer itself is not aware of variables, but there is a new "RuntimeModifications" sequence available on the activity that provides access to the object model of the form and allows you to modify the form inputs using Assign activities. Have a look at the latest help documentation for the DisplayForm activity for some example syntax. In Essentials 3.8 and older the forms you create are static.
There are limits to what we can currently display in a form. There is a lot going on in the sample form image you posted (command buttons, tables, interactive graphs). This stuff is not supported today. If you are looking to reproduce this functionality you will likely need to do some custom development to create a user control that you have complete control over. This would still fit very well with workflow. Rather than using a DisplayForm activity you would use a DynamicExternal activity that targets your custom Silverlight (or Flex, or JavaScript) code.
--Ryan
0 -
Toby,
There isn't an existing form item that supports the display of tabular data. If you have a tabular data structure you've obtained from a web request you may be able to use it with the SelectFeatures activity. You'd need to convert your tabular data into a FeatureSet first and then use a RunExternalCommand activity to switch the results view to use the Table orientation.
The SelectFeatures activity can display arbitrary tabular data so long as it is in the form of a FeatureSet. There is no requirement for the Features to have geometries or correspond to an existing layer in the application. There is a DataTable to FeatureSet activity in Essentials 3.9 that may come in handy.
--Ryan
0 -
Ryan, I'm trying to use the RuntimeModifications on the form, but I am unable to. When I specify form item I get an error in WorkflowDesigner that says:
Type GroupBoxFormItem is not defined.
Here's the line of code in the To box of the Assign:
form.Find(Of GroupBoxFormItem)("GroupBox1")
I get this error no matter what form item I try to find using the Form.Find method.
0 -
Hi Toby,
You'll need to add a reference to the Geocortex.Forms.Client.Items namespace. Click the "Imports" tab at the bottom of the application and select "Geocortex.Forms.Client.Items" from the list.
--Ryan
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare