T
Troy Zirk
here is my scenario:
i have a form library with an InfoPath form. the user fills out the form and
saves it to the form library. i don't want any of the forms to be
overwritten in the form library. i want the file name to be unique.
i have two options that i can think of. if you can think of any other
options, please let me know.
1. Rename the form file BEFORE it is saved.
when the user saves the form, the Save As file dialog is somehow bypassed,
using the InfoPath object model. the form would be automatically saved when
the user clicks Save, and then an alert pops up indicating that it was
saved. i still have to research the InfoPath object model to determine
whether or not this is possible.
2. Rename the form file AFTER it is saved.
the user saves the form as the default "Form1" file name. an event sink set
on that form library automatically renames the form to a unique file name.
from my experience and research, i haven't found an answer to this one yet.
apparently, the file name is read-only. i would appreciate any ideas on how
to get around this.
thanks.
Troy
i have a form library with an InfoPath form. the user fills out the form and
saves it to the form library. i don't want any of the forms to be
overwritten in the form library. i want the file name to be unique.
i have two options that i can think of. if you can think of any other
options, please let me know.
1. Rename the form file BEFORE it is saved.
when the user saves the form, the Save As file dialog is somehow bypassed,
using the InfoPath object model. the form would be automatically saved when
the user clicks Save, and then an alert pops up indicating that it was
saved. i still have to research the InfoPath object model to determine
whether or not this is possible.
2. Rename the form file AFTER it is saved.
the user saves the form as the default "Form1" file name. an event sink set
on that form library automatically renames the form to a unique file name.
from my experience and research, i haven't found an answer to this one yet.
apparently, the file name is read-only. i would appreciate any ideas on how
to get around this.
thanks.
Troy