Hello!
So, what I am trying to do might not be possible or perhaps I'm going about it in the wrong way.
I have a feature layer of my agency's vehicles with a related table for maintenance/inspection records. I followed this example here to make the inspection survey from the vehicle feature layer that has a related table for the inspections: https://support.esri.com/en/technical-article/000021198. I am then using the survey in Field Maps app. You will click on the point in the map that corresponds with a particular vehicle and there is a link to my inspection survey to be used to report maintenance or inspection.
However, this example only collects the inspection data in the survey i.e. the example has me delete all the info about the vehicle parent layer (for me this includes serial number, model year, etc.). So when I go into Survey123 and view my inspection data and export the inspection data as a report, I have no idea what vehicle the inspection record is for because in the survey I am not keeping the vehicle/parent info.
My question is...is there a way to add hidden fields and automatically populate the inspection survey form with the vehicle/parent info for the point? E.g. I want to add a hidden Serial Number field (so that inspector does not have to see it, but it would be in my Survey123 report) to the inspection survey form. It would then auto populate with the serial number from the parent feature layer for the point that was clicked on to link to the survey.
I can't seem to find anyone trying to do the same thing so perhaps I'm thinking about this in the wrong way. Any feedback is appreciated. Thank you!
Solved! Go to Solution.
You want to use URL parameters to send your Ids over to 123.
See here.
https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm
I have a full write up here https://community.esri.com/t5/arcgis-survey123-questions/mapping-with-survey123-within-a-polygon-or-...
The fields cannot be hidden so I make them read only at the top of the form. The inspector will like to see it anyway.
Good luck works great for me
You want to use URL parameters to send your Ids over to 123.
See here.
https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm
I have a full write up here https://community.esri.com/t5/arcgis-survey123-questions/mapping-with-survey123-within-a-polygon-or-...
The fields cannot be hidden so I make them read only at the top of the form. The inspector will like to see it anyway.
Good luck works great for me
Thanks so much! I've actually done this before and didn't realize it...oops 🙂 The first link was all I needed! Thanks again!!