TemplateReport with Feature Maps?
Is it possible to include a feature map via a TemplateReport generated through workflow? Do you have to select the features first on the client and/or pass any data via the dataset that is passed to the TemplateReport?
-
Marc,
Coincidentally trying to find the answer as well (see (http://support.geocortex.com/Forums/Thread.aspx?pageid=0&mid=2&ItemID=20&thread=46795) Basic requirements for a workflow with Report Acitvity ).
Anyone with any insight would appreciate some answers as there little info about & nil sample workflows.
Brad
0 -
+1
Anyone find a solution? I am also looking for a way to include it in a workflow.
0 -
It appears that the TemplateReport activity does not honor the MainMap component in a report? Is there a way we can pass that to the TemplateReport in the DataSet, maybe somehow in a table? How does the normal report handle that information?
I tried to create a dummy table and gave it a name of "_ReportMap" in workflow and then added it to the dataset that I pass to the TemplateReport. Then in the .rpx, I created a subreport with the _ReportMap name and tag _ReportMap.rpx in which I added the _MainMap, but that didn't work.
It would be nice to be able to include a map with the report, otherwise it is not as useful.
--Marc
0 -
Hi,
I was able to bring the featuremap image to the template report by doing the following.
1. created a datacolumn as ImageDataColumn= new DataColumn("_FeatureMap",GetType(System.Drawing.Bitmap))
2. Used the invokemathod activity to add the column to the datatable.
3. Used the ExtractFeatureMap to generate the required image, cause i am getting dynamic images for each feature.
4. Added the imagecontent to the row as TableEiendom.Rows(0).Item(ImageDataColumn.ColumnName)=imagecontent
5. Finally in the report, it was just to assign DataField property of the image placeholder with "_FeatureMap".
0 -
does anyone know how to pass the Legend and North Arrow through to the TemplateReport activity? 0
Please sign in to leave a comment.
Comments
5 comments