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
Frank Roberts , I'm trying to develop something very similar to your report tool, how do you add tables to the reports? are you publishing this tool as a print service?
Yes, we created a custom GP process, that way we could utilize the functionality of selecting one or many features in the WAB map so we could then produce reports on them. Over the next month we plan to build out our functionality of our GP to allows for expanding and contracting elements in the form. For example if someone leaves a value blank then there is no reason to have the PDF be so long. We are finding a fair number of our clients need this capability, so hope to expand upon what we have already learned.
As mentioned above we have rewritten our GP process to use ReportLab open-source toolkit (http://www.reportlab.com/opensource/). Once the data driven pages and dynamic ReportLab "pages" are generated into a folder they are appended in the appropriate order to make the final PDF. If anyone is interested in us spinning up similar GP process for them, please contact me.
Here is a link to a newer report:https://dl.dropboxusercontent.com/u/54484896/SiteStrategyReport_2sites.pdf
Frank-
I am interested in trying to figure this out if you can give me a few pointers. I've been trying to use the layout dynamic text within the GP or trying to modify the PrintWidget. I basically need a 1 page pdf consisting of a map and attributes in the layout for a selected site.
I tried messaging you, but apparently you can only message people that are following you. Now that I am following you, if you would please message me back with a few details.
Thanks
Bob
Bob, feel free to hit me up at
froberts@innovateteam.com
Frank Roberts
Director, Information Technology
Innovate! Inc.
Phone: (208) 699-2712
Innovate!, Inc. is a Virginia-based 8(a), Hispanic- and woman-owned
business delivering Geospatial, Information Technology, Security, Business
Consulting, Project Management and Executive Coaching solutions to our
government and private sector clients. Check us out at www.innovateteam.com
.
From: Robert Mueller Jr
Sent: Friday, April 15, 2016 10:20 AM
To: Frank Roberts <froberts@innovateteam.com>
Subject: Re: - Web App Builder reporting
widget
GeoNet <https://community.esri.com/?et=watches.email.thread>
Web App Builder reporting widget
reply from Robert Mueller Jr
<https://community.esri.com/people/rmueller1%40dow.com?et=watches.email.thread>
in Web AppBuilder Custom Widgets - View the full discussion
<https://community.esri.com/message/602281?et=watches.email.thread#comment-602281>
Hi ,
Do you still have a code for this? this is exactly what i'm trying to do. Thank you in advance!!
Hillary,
We are working on a blog to walk through creating a custom widget from Report dijit. Will try to publish it asap.
Jianixa
All,
FYI, as a follow up to Jianxia's post, the blog has been published:
Creating a Custom Widget for Web AppBuilder for ArcGIS using the Report Class | ArcGIS Blog
Hope this helps,
Hi Derek,
Regarding the Reporting widget mentioned in the post from the blog (Creating a Custom Widget for Web AppBuilder for ArcGIS using the Report Class | ArcGIS Blog ), I have added the jsPDF API capability to be able to export the report, client-side, into a pdf document, but there are some problems with the pdf`s template (it doesn`t maintain the template in the html page created by the widget, or some specific characters). Do you guys know a workaround to save that report into a pdf document or generate a pdf report by a custom template?
Thanks,
Ionut
Hi Ionut,
Some suggestions to try:
- You can save the print output to a PDF using Google Chrome’s default option “Save as pdf”;
- There is also this sample http://jsfiddle.net/xzZ7n/4861/ which might enable you to link to a Report widget's ReportTemplate.html file - but I am not a developer - you may want to post a new question in this forum
Hope this helps,