I have a web map in Portal that has a sidewalk line layer.

Using Portal, I plan to collect sidewalk deficiencies using GPS (on a Microsoft Surface/Windows 10 device).

enter image description here

I would like to add the following functionality to the web map:

  1. Using the device's current GPS coordinates, snap the coordinates to the closest sidewalk line.
  2. Get the ID of the sidewalk line.
  3. Generate a URL from the ID and the snapped coordinates.
  4. Execute the URL.
    • The URL will open a work order management system form that is pre-populated with the sidewalk ID and the snapped coordinates.

How can I do this in Portal?

  • 1
    I'm getting the impression that this can't be done in Portal. Doing it in Collector would be an acceptable alternative. – User1973 Nov 3 '19 at 13:24
  • 2
    For clarity, you aren't so much asking how you can do this in Portal, you're asking how can you do this inside Web AppBuilder (that's your screen shot). What you want to do should be possible, but its going to be a couple hundred lines of custom JavaScript to wire up the workflow you've laid out. – KHibma Nov 6 '19 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.