Sending Email Notifications with Infopath

F

frikker

Until now, we have been using Outlook Forms (such a bad experience).
Now, I am trying to set up a sharepoint and infopath solution. We are
creating a form for "testing notifications". When someone wants to run
a test in a lab, they fill out the form and submit it (to the form
library). The lab then would receive a notification email that a new
test has come in, and they would go to the form library and open it.
Once the test is run, the lab submits feedback in the form, and the
person who asked for the test submits feedback as well. These are all
done by editing the existing form and saving it. What I need to do is
somehow have an email notification that goes out when the form is
updated. When it is submitted, the lab needs to get an email. When
the lab updates the form the original person needs to be notified. How
can I do this? I know you can set up notifications from sharepoint, but
that would be only helpful for the lab. Otherwise, you're going to
have every single person who submitted a test getting emails on every
single update for all forms... this is not what I want. Any insight
would be wonderful. The email would just go something along the lines
of "Your form was updated - click here to see the form library".

Thank you in advance,
Blaine
 
A

Adam Harding

Hi

Click on TOOLS-DATA CONNECTIONS-ADD

Then select 'Submit', 'Email Message' select the field for the originators
email address and put that in the "to" field. in the "subject" field add a
formula using the CONCAT function some text and their test title or number,
and make sure the attachment field is blank. Then add another data
connection for the lab. Then on your submit buttons add this as a rule that
is run when the form is submitted, job done.

Hoep this helps, any problems, get back to me.

Cheers Adam
 
F

frikker

Thank you for the suggestion - this is the technique I used. I called
it from a script using the EmailAdapter.

Thanks!
Blaine
 

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