My workflow is to have a link in Field Maps open up to the Survey123 field app. The field app is preferred due to low connectivity and having drafts just in case.
I have used both the argis-survey123:// prefix and the one listed on the website https://survey123.arcgis.app/ and both result in a constant cycle between "Downloading", "Unpacking", and "Downloading thumbnail" and will not open the form.
It is a survey that has URL parameters set to autopopulate fields within the feature layer and the survey also includes repeat questions. If I take out the URL parameters, survey opens up but the fields do not populate. If I include just GlobalID parameter, it will not open and blinks through the cycle.
Is there something wrong with my URL link or something I am missing?
Example:
https://survey123.arcgis.app/?itemID={ITEMID}?field:parentglobalID={GlobalID}&field:TYPE={TYPE}&field:ID={BMP_ID}&field:ASSET_ID={ASSET_ID}
Is this on a windows pc? I have never got the app launch to work on windows. May be due to having to be an admin install not sure.
But the URL you posted does seem to have an issue. After itemid should be & not ?.
https://survey123.arcgis.app/?itemID={ITEMID}&field:TYPE={TYPE}&field:ID={BMP_ID}&field:ASSET_ID={ASSET_ID}
It looks from the help that this URL does use ? but not the app link? Tricky.
vs
from here https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm
I am also not sure you can use a field for itemid. Not sure I have never done it but try that also.
Hope that helps
Hi, thanks so much! So to clarify, item ID isn't a field but the pre-set survey ID (sorry my syntax was confusing). And video is taken on the mobile app, not desktop.
And WOW I think it was in fact the & instead of the ? - my mistake. Thank you so much for catching that!
I think one point of confusion for me still is when do I need to set the GlobalID in the URL parameter? It looks like the survey is inputting those fields I set from the URL parameters. But do I need GlobalID={GlobalID} or parentglobalID={GlobalID} (for the related table) or does it automatically set it based on the survey in the pop-up? I would assume I need the latter but I'm a bit confused.
Edit - I just tested it out and am extremely confused. It looks like completing the inspection also creates a brand new point in the layer, which is not ideal. What we'd want to do is create and inspection from the existing point.
Well this gets asks a lot but it can be hard to explain. Sounds like you created the form based on a service that has the parent and the child in it, which means the form now does. Instead you can have the form just create the child and send over whatever your related key is. At that points it is linked. Right now you just have a form that looks like the service so it will create new parent and child. For this way you remove the parent part of the form and instead pass the key in via URL managing the relate yourself basically. Using a standard text key here and not a globalid works better.
Or you have the form open a parent for editing and add a repeat. I do not like this option since users can mess up the parent.
I would start by reading my post here on connecting these. It is a advanced topic so it will take some reading to get it all. https://community.esri.com/t5/arcgis-survey123-questions/mapping-with-survey123-within-a-polygon-or-...
Hope that helps. Relationships can be complicated :).
But if using the app on field app you want this format arcgis-survey123://?itemID=ea7c126d644