I need to create a widget in webappBuilder, to generate a report, that will contain map with its graphical layer, charts, and table.
Is there a widget that does this task, can I use the print widget, customize it and generate output that have this kind of report?
Mohammed Mogahed
Good question,
This is something I am looking for as well.
You might want to take a look at creating a geoprocessing task to use in the geoprocessing widget.
-Stan
Is that possible to specify a little bit? which geoprocessing tool should I look at?
I also looking into that widget.
I truly believe it is a necessary widget with the web appbuilder. Are the widget group working on that?
How can I imagine that in the future it will not exist.
Yes I agree, reporting functionality is a critical part of spatial workflows. ESRI you need to develop this widget as part of the standard widget interface in WAB.
I set something similar up in my Flex Viewer version for a parcel report, and hope to do it with WAB if nothing better becomes available before I get to it. Here are the general steps I followed.
Web_Map_as_JSON:
{"mapOptions":{"scale":4513,"extent":{"spatialReference":{"wkid":102100},"ymin":4753914,"xmax":-13474397,"ymax":4754944,"xmin":-13475395}},"layoutOptions":{"titleText":"155 Glasson","customTextElements":[{"Address":"155 Glasson Way"},{"ZONING":"PGVCTY"},.....
Here is an example of the PDF that is output. In this case the report is pretty simple, but there is no reason you couldn't add more elements. I don't know how you would do a multipage report using this method though. Also, I had an issue with our Firewall blocking the http POST request at first, because it gets pretty long with all those text parameters.
Sebastian,
This is a great info. Thanks for sharing with us.
Jianxia