Create DataTable to pass to Template Report
I am trying to take a value (from the area and lengths task output) and add it to the dataset for a template report.
I assume to do this I need to create a new DataTable and add the value to the DataTable and then add the DataTable to the Dataset.
Any pointers on how to create the DataTable rows and items via workflow? I know how to do it in C#, but something is alluding me in the workflow VB formats.
-
Excuse me, what does DataTable mean to a workflow Form? Is this something that can be populated similar to Form?
0 -
Hi Marc,
There is an example of how to accomplish this in the code gallery (https://support.geocortex.com/create-a-dataset-out-of-the-results-of-the-areasandlengths-task-2) here .
Alex, a DataTable is not related to a workflow form. A DataTable is used to pass values to a report, using the TemplateReport activity. It is not an alternative to, and cannot be easily used in a DisplayForm activity.
I hope this helps,
Victoria
0 -
The link: https://support.geocortex.com/create-a-dataset-out-of-the-results-of-the-areasandlengths-task-2
Is not working.
0 -
Hi,
the link should be: (https://support.geocortex.com/essentialsGSCCodeGallery?sub-nav=codegall&main-nav=essentials&#!/feedtype=SINGLE_ARTICLE_SEARCH_RESULT&id=kA4600000004EWo) Create a dataset out of the results of the "AreasAndLengths" task
regards,
Edmond
0 -
The link is incorrect atm. 0 -
Sorry, Thijs. The link should take you (https://support.geocortex.com/essentialsGSCCodeGallery?sub-nav=codegall&main-nav=essentials&#!/feedtype=SINGLE_ARTICLE_SEARCH_RESULT&id=kA4600000004EWo) here . I've corrected it in Edmond's post. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare