Skip to main content

Display custom results in workflow container

Comments

6 comments

  • Marc Rempel

    I tried to load an image in the original post, but I think this will work now.

    /customer/servlet/servlet.FileDownload?file=00P6000000e88C0EAI

    0
  • Permanently deleted user

    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
  • Ryan Cooney

    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
  • Ryan Cooney

    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
  • Permanently deleted user

    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
  • Ryan Cooney

    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

Please sign in to leave a comment.