I'm looking for a way to script the import of documents to a container field. I have a parent table and a child table, in a one-to-many relationship, and would like to have a nice interface to import one or more files into child records. I have a script that will import one file, but anytime I try to add a second, the second file simply overwrites the first. I'm hoping to avoid requiring users to right-click on the container field and import files via that route.
Has anyone else run into this situation and come up with a solution that allows a user on a layout based on the parent record to add more than one file into child record containers?