I'm building a custom module for job listings. One of the fields will be location, which will be a dropdown that the client can use to select one of 100+ different locations.
I noticed that these locations, when I manually add them, create nodes in DynamicModuleConfig.xml with text and value attributes. My hope was that I could create the xml nodes and paste them into that file, which would be easier than manually creating 100+ options.
The problem is, when I add my nodes nothing happens. I restart IIS, still nothing. If I go into the backend and edit the custom module again, I get my old options (the ones I created through the interface). Publishing wipes out my changes in the xml files.
Is there a way to force Sitefinity to read that xml file and recreate the options? Is there a different way to bulk add these options with creating them one by one in the backend?