Can InfoPath provide a unique name for each summitted form?

G

Graham

I was trying to find out if InfoPath has the ability to create a unique name
for each form that is submitted to a mail client. As an example, we have
several users that fill out the same from and submit the data to a mailbox.
The receiver of the e-mails would then receive many e-mails with an attached
XML file of the same name. We would like the attached forms to auto generate
a name based on certain criteria such as time and date. Is this possible?
 
S

S.Y.M. Wong-A-Ton

Yes. You could insert a formula in the "Attachment Name" field in the Data
Connection Wizard for email submission and use the now() function in the
formula. InfoPath will then generate a name for the form based on the date
and time every time it is submitted.

If you are using code to submit the form, you can use the AttachmentFileName
property on the EmailAdapter to set the name of the submitted form.

I hope this helps.

Regards,
S.Y.M. Wong-A-Ton
 

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