?
Solved

Infopath Repeating Section Question

Posted on 2011-04-26
2
Medium Priority
?
453 Views
Last Modified: 2012-05-11
Hello and thanks in advance!

I have an infopath 2010 form im designing, in which we are using for new user provisioning. I have a repeating section in which our HR folks fill out the relevant data, and then may need to add a few more in a single session.

The catch:
I'm emailing the data in this form to our ticketing system, I'd like to get each repeating section to send it's data as a seperate email to the same location when the user clicks the submit button.

So:
Form1
Repeat1 --> email
Repeat2 -->email
Repeat3 -->email

Any ideas?
0
Comment
Question by:eeamodei
  • 2
2 Comments
 
LVL 28

Expert Comment

by:clayfox
ID: 35467367
So you want the sections broken up but to go to the same recipient.

This is a bit tough to accomplish.  It may be able to be done via code and a SMTP server component but this is complex.

Why not just have them do one new user per form/email.

If there are defaults you want to preserve between them in one session then have 2 forms or pass the data from one form and launch a second one seeded with the information.  This is a design that would be easier to accomplish.

You would still need some code but just to pass variables between 2 forms, the current and the one you just launched, using the Application.XDocument.NewFromSolution
and
selectSingleNode
to reference each field.
there are code samples on www.infopathdev.com
0
 
LVL 28

Accepted Solution

by:
clayfox earned 2000 total points
ID: 35467383
Another thought would be to make views to step through each of the sections and show just the one records information at a time, but this would require the user emailing each one individually but maybe you could encorporate it with review the information or something.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Screencast - Getting to Know the Pipeline
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question