Hi, I recently watched Esri Emergency Management Webinar Series: Best Practices for Conducting Damage Assessments Resources. In it the presenter demonstrated the ability to query parcel data to populate fields on his form. This would be extremely useful for identifying property owners and property value. I’m trying to replicate this ability but I’m having trouble.
The process involves loading existing features into the form using the Inbox. This looks to have been designed to allow people to edit those features using the survey form. It’s not the parcels that I need to edit though, but the Damage Assessment features, a separate hosted feature class. I just want to pull attributes from the intersecting parcels.
As far as I know, you can only edit one feature class in a form at a time. I don’t see a way to load two feature classes in the form so that I can edit one and query the other.
Does anyone know how this can be done?
The advantage of using this approach with custom JS functions is that the query happens live when the user is capturing data in the field. However, keep in mind that the query is done against a feature layer, so the user must be connected. If you need to support offline workflows and still automatically get the id of the intersecting polygon I suggest you look at implementing similar functionality using web hooks. Through a web hook, the calculation of the intersecting polygon happens when the data has been submitted, so it does not matter if the user is offline when the point is captured.