Warrtalon:
Thanks for the quick reply.
It is publishing. In InfoPath 2007, if you use the "Publishing Wizard", it gives you four options on publishing a form:
-
To a SharePoint server with or without InfoPath Forms Services
-
To a list of e-mail recipients
-
To a network location
-
As an installable form template (requires Microsoft Visual Studio
I used the "To a list of e-mail recipients" so the user could fill out a form in Outlook 2007 and submit the filled out form to a SharePoint library.
Below is the scenario:
Each year a company requires its employees (~700 employees) to fill out an attestation form. The form has to be filled out and the company needs to be able to know who has and has not filled out the form. Each employees has 7 days to fill out the form or they will receive an email telling them to fill out the form. After the seventh day warning, they receive an email every three days until the form is submitted to the SharePoint library.
I create a user control in SharePoint to create a task for each employee (~700) in a task list. The task list has a workflow that kicks off and basically waits 7 days before sending a reminder to the employee about filling out the form unless they fill it out before the 7 day window expires. After creating the task for each employee, I had to open up InfoPath to publish "to a list of e-mail recipients" to send the form to each employee. It would be nice to be able to automate this in a workflow instead of having to have someone open InfoPath to publish; for example, new employees would need to fill out the attestation form and the process would have to be repeated. One click would be a lot nicer.
The client would like to send the form using the email option. I hopes this helps in understanding the case. Let me know if I should be doing this another way or if publishing to email through code is possible. Thanks again for the quick reply.