Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2004

Tip: Looking for answers? Try searching our database.

save forms to document library with unique file name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Troy Zirk - 08 Jul 2004 18:46 GMT
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
Matthew Blain \(Serriform\) - 09 Jul 2004 01:21 GMT
3: Use Submit with the webdav adapter in SP1.
4: Use custom submit code. A bit of a pain, but it can be done.

> here is my scenario:
>
[quoted text clipped - 24 lines]
>
> Troy
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.