We have a Survey123 form for vehicle inspections. Vehicle data is kept separately (manufacturer, model, etc.) in another corporate application, which we can query into a feature class/service. Each vehicle is identified in our system by an ID (eg. AF123).
What I would like to accomplish is when doing a vehicle inspection using Survey123 and the ID is entered, the separate feature service is queried to bring in vehicle details.
Does anyone have an example they are willing to share? I am using the latest release candidate of Survey123.
I have a use case where I have a Survey123 based on a feature service. The form is for pre-start checks on vehicles. I want to pull vehicle data from a non-spatial table hosted in our portal. Is there something analogous to feature services for non-spatial table data? And can I query it via pulldata()?
Do you mean to use the table you publish from ArcMap / ArcGIS Desktop as a service to query? Yes, if you can write a custom JS function (you will need to write your own code to that and ensure the table is accessible and you have credentials etc) and can access that database and table on same network, you should be able to return the values from the table query, and pass them back into the survey form using pulldata @ JS into a text box.
Yes, that's right, I want to publish it as a service. I thought services had to be a spatial layer, but I think you can publish a hosted table? I think that's the terminology.