We use the XML file feature to generate the app config files for our app. The process is to manually develop/edit a version of a config file that works on the deployed app. Then, import that file into AI. Then, we modify the file definition by replacing various hard-coded values with parameters, where needed. Most of the file is static content, but a non-trivial amount varies from install to install based on customer input. That all works great.
Here’s my pain. When we change or add something to the system that requires a non-trivial change to the config file, AI has little support. I have two options: re-do the process described above … which is lengthy and error-prone. Or I could enter the new information into the file setup manually – one key/value at a time – also lengthy and error-prone. Here is what I’d like to have AI do: allow me to merge in changes from a file. This is how it would work: I would produce a config file that works for the installed system (like above). Then, in AI, I’d ask to merge this file into an exist XML file definition. AI would insert new keys and values. That’s basically it. But, I guess there would be some question about what AI should do when it finds keys/values that are different. For parameterized content, differences are expected, but for non-parameterized content one would probably want to overwrite from the new file. I guess AI could prompt for any differences and allow the user to overwrite or ignore each.