Allow select_one question types to use an external choice list that comes from a pulldata request

267
2
03-27-2024 08:36 AM
Status: Open
Labels (3)
Greg_Mattis
Occasional Contributor II

Very similar to ENH-000119959 that was implemented at 3.13, I am looking to pull a choice list from a json return from a javascript function associated with the survey. I understand that this functionality, if implemented, would only be allowed for non-anonymous surveys. Below is the use case:

Our Police Department currently uses an excel spreadsheet to track stolen vehicles and recovered stolen vehicles. In this form they collect the year, make, and model of the vehicle. When they have the VIN number they can use the VIN decoder function as demonstrated in multiple areas of the product/documentation. However there are times that they do not have the VIN and will have to manually fill in the year, make, and model. Rather than me as a survey admin maintaining the choice list for every possible year, make, model. I would like to turn to the National Highway Traffic Safety Administration's Vehicle API to provide me with the valid year, makes, and models thereby eliminating typos, standardizing format of models (i.e. Honda vs HNDA), and finally provide a form of verification that the specific year, make, model combination is valid. 

From a survey takers perspective, I would see it as being very similar in use to using the KBB website where you first select the year, then the make, and then it would only show you the models that were made during that year.

While my use case is specific, I see this as being a great product idea to enable survey authors to pull choice values from third party api's and not be limited to the search() function that only is designed to work on ArcGIS REST Endpoints.

@IsmaelChivite @JamesTedrick 

2 Comments
MichaelHickey1

I see great value in being able to link to other data_types/code_module!

GeoJason

This seems like an obvious feature that should be included.