Saving form using script

D

Drew

I have been asked to help work on an InfoPath form that someone else
created. They want the form to be saved to a folder on the network (no
Sharepoint here), and the name of the form needs to be modified to include
the date and time of the request.

Can this be done with InfoPath? I am very familiar with VBScript, but am
very unfamiliar with InfoPath, so any guidance would be great!

Thanks!
Drew
 
C

Clay Fox

Hey Drew.
This is built in functionality with InfoPath and dataconnections (no code)
but you need a web server. There are free ones out there or IIS that you can
use to submit the form to.
Others can access the XML documents just like a network folder.
 
J

Joe

Clay,

We have a webserver that can be used, although the problem I am trying
to circumvent is with the naming of the file. The filename is not
unique, therefore it is overwritten everytime it is used. I was going
to add some vbscript to generate a filename (something like date and
time added to the name) and use that to get around our problem.

So, do I need a Virtual Directory for these forms, or will just a
regular folder, in the current Virtual Directory work?

Thanks,
Drew
 
C

Clay Fox

Overwrite should be fine and would just be a permission configuration.
Or yes part of the submit data connection is creating a unique name from
concatenated fields. This is default functionality.
 

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