How can I read data from Identify Results?
With the following line of code I can able to read data from assigned feature layer data through script of Geocortex Report Designer. How can I read data of other feature layers of Identify Results?
DataTable dt = ((DataSet)rpt.DataSource).Tables[0];
0
-
Hi Ramesh,
When you run a report, the data that is sent to the report is associated only with the one layer that owns the layer report, plus its data links. You cannot read data from other feature layers using Report Designer scripting.
You can write a workflow that assembles a DataSet with as many DataTables as you like, and then run the report with that DataSet using the Template Report activity.
If you specifically want to generate a report based on some particular Identify results from your layers, then I recommend posting an Idea to our Ideas page, or contact your account manager to see about getting some Services work done.
Regards,
-Malcolm0
Please sign in to leave a comment.
Comments
1 comment