Looking to hide the Geopoint map in Survey123. Need to collect the location of the user from the coordinates that I'm passing to Survey via the custom URL. I do not want the user to see or edit these coordinates.
Any solutions out there?
What might be possible, although this involves more knowledge of Web App Builder than I have, is to extract the latitude and longitude values of the point separately, and use them to populate hidden questions added through Survey123 Connect (the web app supports questions of the 'hidden' question type added in Survey123 Connect, it's just that the web designer has no ability to add them itself). This won't be filled in as a location for the survey, however, on a map view the results will still show at latitude 0, longitude 0. You'd just have the X and Y values in a text field on your app.
I don't think this would work for you, and you're better off with just a read-only (and hide-input, you're right on that one!) geopoint, possibly with a comment in the label or hint for the question that it's a read-only value that you don't need to worry about.
I will keep this in the back of my mind but my current flow is working fine now. I'm just showing the map in my survey and locking the user out from doing anything. Thanks for the info
Have you tried to create the form that you are passing information into via the custom URL within Survey123 Connect and leave out the "Geopoint" question itself? I have posted a few surveys to ArcGIS Online without a "geopoint" question and then I use the custom URL to pass information from a different form into this form.Then I turn around a pass additional information from this form into a completely new form for other data capture.
Survey123 Connect will automatically create the point feature class within the Hosted Feature Service(HFS) and this new point will be named exactly what the "form_id" contains under the settings tab. I would think that you would be able to use the coordinates from the previous form as the x= and y= portion of the custom URL; which should place a new location without the map present in the survey form. If this doesn't work, then do not tell the Survey123 team as it is working for me.
Thanks I'll give it a shot. I'm surprised how hiding the map all together isn't an option.
I also wanted to "hide" the Geopoint Map from my users, but still generate the coordinates in the table.
My solution at this point is to do a pulldata request on the 'geopoint' generating my X/Y coordinates in the table. I then placed the 'geopoint' within a 'group' and then set the appearance as 'compact'. While the map is not gone, it does require the user to open the group to see the map.
It's not perfect, but I am satisfied.
Figured it out! If the geopoint is set to required and I pass in coordinates via URL, the map displays in the web version
Can I at least change the "Set Location" button text to something like location confirmed?
This also isn't currently possible to my knowledge, unfortunately; that used to be the functionality of geopoint questions in the web app, but there's not currently a way to restore it. I'll also raise that to the website team, though, I'm not sure if this is something we actually can't support, or just something that we don't currently support.
Yes that's a good option that I will explore.
If that doesn't work I was thinking of just leaving the map open instead of showing the "Set Location" button. How would I do this? I've removed hide input and read only and the map still doesn't show in the web form.
Unfortunately, functionality has recently changed so that questions that didn't display due to not being called as relevant now don't record values. This changed for the field app in 3.0, but may have been true before then in the website, I'm not certain. I will raise this with the website team, though.
What I can suggest is that you experiment with setting the geopoint question to read-only through Survey123 Connect and then loading it in the website; while users will be able to see it, they won't be able to write values to it. I will warn that I couldn't get this to work in my case, though.
You can set the 'relevant' attribute of that geopoint field to some false condition to hide the geopoint. I think it will still hold the value you pass it through a custom URL scheme (test it to make sure) but I believe that it won't work if you're using something else like a calculation to obtain that value (through a pulldata or other function).
Can I hide geopoint in the online form and still pass in the coordinates? Any other options to allow for this?
On Thu, Jul 12, 2018 at 6:07 PM, Claire Proctor<geonet@esri.com> wrote:
#yiv6476511316 * #yiv6476511316 a #yiv6476511316 body {font-family:Helvetica, Arial, sans-serif;}#yiv6476511316 #yiv6476511316 h1, #yiv6476511316 h2, #yiv6476511316 h3, #yiv6476511316 h4, #yiv6476511316 h5, #yiv6476511316 h6, #yiv6476511316 p, #yiv6476511316 hr {}#yiv6476511316 .yiv6476511316button td {}
|
GeoNet
Re: Hide Geopoint Map in Survey123
reply from Claire Proctor in Survey123 for ArcGIS - View the full discussion
Hi Joe,
If you don't include a geopoint question in your survey, the field app will still capture a coordinate behind the scenes. This doesn't work for the Survey123 website, however, which only captures a location if a geopoint question is in your survey.
Reply to this message by replying to this email, or go to the message on GeoNet
Start a new discussion in Survey123 for ArcGIS by email or at GeoNet
Following Re: Hide Geopoint Map in Survey123 in these streams: Inbox
This email was sent by GeoNet because you are a registered user.
You may unsubscribe instantly from GeoNet, or adjust email frequency in your email preferences
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.