Mailing labels report with Workflow5 and Web app builder
In my existing geocortex sites I have a mailing label workflow and call for report and created mailing labels base on feature selection on the map.
I would like to use same workflow and build it with Workflow 5 designer. But I would like to use it in WebAppBuilder app to run it. I guess, I am not clear how it can be done, since report is built with Report Designer and is saved on Geocortex server?
Thanks,
Nataliya
-
Hello Nataliya,
While I haven't personally created a report to be run using this manner, you can run an Essentials workflow by using a Send Web Request to the Essentials endpoint and sending the parameters using the Query input.
For Example:
Method: GET
Query: = true && {featureIDs:11,f:"json"}
Expect: json
Channel Name: geocortex
We have a rather complex workflow that can be run within GVH here: http://gedemo.geocortex.com/Html5Viewer/index.html?viewer=DamageAssessment
Click 'Run Damage Assessment', Find assessments (Next), Search by Damage then set to Affected (Next), Yes, then open the report by clicking on 'Assessment Report'.
The workflow can be found here: http://latitudegeo.maps.arcgis.com/home/item.html?id=e6b7c541e4d24812a7a4a12d1481ccec
In the future, we will likely create activities dedicated to generating reports which will make this process easier.
I hope this information helps,
Stefan
0 -
Stefan,
Thank you for the information. That workflow is very complicated on the designer side. But the end user interface on the demo website is pretty slick.
Thanks again,
Nataliya
0 -
Stefan,
I got this workflow to work with my data (and my report) in Geocortex Viewer (just this part: "Click 'Run Damage Assessment', Find assessments (Next), Search by Damage then set to Affected (Next), Yes, then open the report by clicking on 'Assessment Report'".
Now ,I would like to test it in Web App builder, but I cannot even initialize the workflow. When I click workflow widget to run it I get an error message that says: "Something went wrong while running the workflow. Refer to the browser console for more details."
When I look that the browser console I am getting following error:

What am I missing?
Thank you,
Nataliya
0 -
Hello Nataliya,
The Run Command can only be run in GVH, or any custom application that implements it; it is not supported in WAB.
Thanks, Stefan
0 -
Hi @Nataliya Lys? ,
The Web App Builder version of this workflow can be found here:
https://latitudegeo.maps.arcgis.com/home/item.html?id=0cee9b976b04453fb760661285e3622d
The viewer url for it is here: https://gedemo.geocortex.com/DamageAssessmentWAB/
I have not yet added the report functionality within WAB yet but can let you know after I've enabled it.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
5 commentaires