Hello, parameter newbie here apologies... but could anyone provide a link or information on how to configure parameters dynamically from a csv so that users can identify the Address column they want to use for the geocoder in the app-- as users will typically bring their own csv schema to the app for geocoding. Thanks for any help here!!
Page 1 / 1
Hey there, in terms of parameter types - whilst you can ‘import’ from dataset… to bring values into a choice user parameter, it is a one off load, so not dynamic. There is a user parameter type for attribute name, should the user be creating different columns for the address
Its best you create a reader for csv, where there must be one column named addressinput, which needs to be the same across all the csv’s that users import.
More advanced methods include python scripting
- Creating and Modifying User Parameters (Parameter Types: Advanced > Scripted Selection)
- Dynamic choices using Scripted Selection
Also read up about dynamic reading and writing, should you want the user’s schema outputted.