In On-Demand GPS Provisioning Widget Thingy: Step 3 we published the model developed in On-Demand GPS Provisioning Widget Thingy: Step 2 . Now for some WAB hacking! In WAB on your hard drive, find ...\server\apps\2\widgets\Geoprocessing.
Edit resultRendererManager.js line 55 to be as so:
text = '<a target="_blank" href="' + value.value.url + '">Get My Data</a>';
Back in WAB, add a GP Widget to the Header Controller. Note that I am able to get this to work with https and IWA, despite Esri warning otherwise.
![](/legacyfs/online/201466_pastedImage_7.png)
Check Allow to Export Results and Output May have...
![](/legacyfs/online/201474_pastedImage_13.png)
Now run the tool!
![](/legacyfs/online/201469_pastedImage_11.png)
Here's why I emphasize the metadata. I want this to be completely self-service so a field worker can figure out, on their own, how to get the latest data. When someone click on the Help link:
![](/legacyfs/online/201473_pastedImage_12.png)
And now the user can click on the download link and follow their GPS manual instructions for uploading the waypoints to their GPS!
![](/legacyfs/online/201475_pastedImage_14.png)
Please forgive my crude text redactions in the screenshots. The data used for the demo is really secret-squirrel stuff...
![](/legacyfs/online/201477_pastedImage_1.png)
On-Demand GPS Provisioning Widget Thingy: Step 1
On-Demand GPS Provisioning Widget Thingy: Step 2
On-Demand GPS Provisioning Widget Thingy: Step 3
On-Demand GPS Provisioning Widget Thingy: Step 4