[Reposting this outside of the Infopath 2007 Beta 2 forum since it is locked and I replied to an old post there.]
I'm prototyping an "electronic traveler" system for our
manufacturing department. We want to track a complex, multi-step
manufacturing process for various products, which have similar but not
identical processes. If I can develop a "universal" traveler form that
would simplify things for us.
In order to keep data management
simpler, I was thinking of organizing the submitted InfoPath forms into
subfolders in the Sharepoint document library (i.e. per-product or whatever). I can create a
subfolder in the library, navigate to that folder, and click New to
create a new InfoPath form, but when I submit the form, it is posted to
the top-level of the document library. This makes sense given that the
submit location logic is embedded in the form itself.
Is there
a way to 1) identify the relative folder path in the document library
for the newly-created form that hasn't yet been posted to the library,
and 2) modify the submit location based on that? I don't necessarily want to select the target location based on some actual form data, but rather the location in Sharepoint where the "New" button was clicked.
Basically I'm
looking for a "do what I expect" approach here -- I create a subfolder,
click New, fill out the form, submit, and the newly-created form should be saved back to where I created it
from in the first place.