Skip to main content

I am using Office Infopath forms services as the client for one of my processes.

The form allows users to attach a document, which is then uploaded to a Sharepoint document library, and removed from the form - trying to avoid a bloat of the information passed around the process.

The actual upload of the file from the form is performed using a Smartobject.

In order to ensure that there are no files uploaded with the same file name, I need to set the name of the file as it is uploaded. I can see that there is a "Name" property in the data connection of the form, but setting this does not seem to change the file name - it must be picked up from the file itself???

Can anyone tell me how to upload a file, and also set the name of the file as it is uploaded to ensure that I don't have files overwriting other files.

Thanks in advance for any assistance!

Be the first to reply!

Reply