save forms to document library with unique file name

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
 
M

Matthew Blain \(Serriform\)

3: Use Submit with the webdav adapter in SP1.
4: Use custom submit code. A bit of a pain, but it can be done.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top