Select to view content in your preferred language

EB Query Widget: generate custom PDF/HTML report for download

1197
4
12-15-2022 10:03 AM
Status: Open
Labels (2)
TaraHaynes
Occasional Contributor

Would like to have the option of creating a custom template (HTML or PDF) for Query Widget results to be fed into. Right now, the report takes the form of an attribute table and allows for basic customization of the header in HTML (which is a nice feature!). I would like to be able to generate an HTML or PDF report that allows for more control over look and feel, and which can be made available to the user for download.

4 Comments
LaurenWinkler

We attempted to implement a multi-page PDF report and wanted to submit our findings:

Implementing the custom Parcel Report to print a multi-page PDF of selected features like the one in Geocortex will require a custom widget, similar to the Geoprocessing widget in Web AppBuilder.

  1. The Web AppBuilder (WAB) Select widget is not integrated with the Print widget, based on this documentation: https://doc.arcgis.com/en/web-appbuilder/latest/create-apps/widget-select.htm
  2. The WAB/Experience Builder Print widget does not allow users to select features as input inside of the widget, based on https://doc.arcgis.com/en/web-appbuilder/latest/create-apps/widget-print.htm
  3. The only out-of-the-box (OOTB) way to use a selection to generate a PDF map series in AGOL WAB would be to use the Geoprocessing Widget. This would require writing new GP script, publishing GP Service, configuring widget. Etc. Note, this is not an option for Experience Builder.
  4. There is not an Experience Builder Select widget that is integrated with the print widget
  5. There is not a GP widget in Experience Builder. It looks like it is on the long-term Experience Builder roadmap though
LaurenWinkler

We would also like to see the option to create a multi-page report of selected features without requiring a custom widget.

This functionality is available in Geocortex, and may be possible in Web AppBuilder as a custom geoprocessing service accessed using the Geoprocessing widget, but it is not possible out-of-the-box in either Web AppBuilder or Experience Builder.

Through this, we uncovered the following limitations:

  1. The Web AppBuilder (WAB) Select widget is not integrated with the Print widget, based on this documentation: https://doc.arcgis.com/en/web-appbuilder/latest/create-apps/widget-select.htm
  2. The WAB/Experience Builder Print widget does not allow users to select features as input inside of the widget, based on https://doc.arcgis.com/en/web-appbuilder/latest/create-apps/widget-print.htm
  3. The only out-of-the-box (OOTB) way to use a selection to generate a PDF map series in AGOL WAB would be to use the Geoprocessing Widget. This would require writing new GP script, publishing GP Service, configuring widget. Etc. Note, this is not an option for Experience Builder.
  4. There is not an Experience Builder Select widget that is integrated with the print widget
  5. There is not a Geoprocessing widget in Experience Builder. It looks like it is on the long-term Experience Builder roadmap though
SteveCole

I guess this idea is close to what I'm looking for as well. I'd like to print out a report (PDF/physical print) based on query features and, ideally, I could use a Word Doc as the report's template similar to what you can do in Survey 123.

rachelm

Agreed that this feature is important. Currently our solutions are to send clients to the ArcGIS Survey report page to create a report on their own (not ideal), or use the survey123 api to do this in a custom link. However this is not possible for multiple selected/filtered items. Ideally we could print a custom report based on a list of features