Submitting the same form multiple times to the same document library

J

Jeff Richardson

Is there a way to control the submit so that file name is generated for a
new form, but uses the current file name if the form already exists in the
document library?

I have a form that multiple users will update in a SharePoint document
library. Currently my Data Connection that does the Submit generates the
file name using the current time. This works great the first time a form is
submitted, but the second time the form is edited, it creates a new form in
the library with a new name.

I am trying to do this with just rules so I do not have to create custom
code for every form that needs this behavior.
 
G

Greg Collins [InfoPath MVP]

If you create a filename field in your dom, and generate the filename into that field (only if it is blank), you can use the value of that field as the submit filename. Then, if you set your submit to allow overwrite, you should be set to go.

--
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com


Is there a way to control the submit so that file name is generated for a
new form, but uses the current file name if the form already exists in the
document library?

I have a form that multiple users will update in a SharePoint document
library. Currently my Data Connection that does the Submit generates the
file name using the current time. This works great the first time a form is
submitted, but the second time the form is edited, it creates a new form in
the library with a new name.

I am trying to do this with just rules so I do not have to create custom
code for every form that needs this behavior.
 

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