On-Demand GPS Provisioning Widget Thingy: Step 4

1198
1
05-19-2016 08:51 AM
ThomasColson
MVP Frequent Contributor
1 1 1,198

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.

Check Allow to Export Results and Output May have...

Now run the tool!

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:

And now the user can click on the download link and follow their GPS manual instructions for uploading the waypoints to their GPS!

Please forgive my crude text redactions in the screenshots. The data used for the demo is really secret-squirrel stuff...

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

Tags (3)
1 Comment
About the Author
This is a personal account and does not reflect the view or policies of my org.