Solved

How can I include a repeating table in a SharePoint Designer 2007 e-mail notification?

Posted on 2011-03-23
3
1,170 Views
Last Modified: 2012-05-11
We are using SharePoint Designer 2007 to create workflows for a Windows SharePoint Services 3.0 form library. Our InfoPath forms are 2003-compatible. In a workflow, we would like to create an e-mail notification that includes form fields which are from a repeating table, but something is getting lost in the translation. In the e-mail, there are no line breaks between rows. We end up with a single row containing all the values for all of the fields in the repeating table. How can we force line breaks so that the repeating table resembles the one in the InfoPath form?
0
Comment
Question by:PJBluske
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
ID: 35201285
SharePoint does not support repeating elements, that is your issue.
Their hack is to make a delimited list of them but does not work very well.

Your best bet is to include a link to the form or attach the form.

Another option is to do the workflow within InfoPath, then you can email it as an attachment or convert a view to the email body.
0
 

Author Comment

by:PJBluske
ID: 35206585
This is a case where linking to the form or sending it as an attachment isn't practical. Being able to include the repeating table in a notification e-mail would mean fewer people accessing the actual form and therefore increased availability to those who need to modify it. I have seen references elsewhere suggesting that it is possible. At this point, I would even be interested in hearing more about the above-mentioned delimited list "hack."
0
 
LVL 28

Expert Comment

by:clayfox
ID: 35206765
Yah I totally understand.

If you generate the email from InfoPath, you have more options since the data is still in a repeating state.  You could have a custom email smtp and do whatever you wanted.

You could store the data in a database, which I would recommend anyway, since then you can do all sorts of reporting and aggregates and all of the repeating elements are preserved.

If you have to work with data in SharePoint then what you see is as good as you get or you have to create another list to store the repeating elements and try to link to them manually.

One have is to create your own additional field, and then in InfoPath manage is and concatenate the data into the way you might want to see it, with your own seperators.  Or if there is a finite amount or elements, allocate 10 fields and populate each one with a value from the first 10, etc.

You have just run into a design / architecture limitation with using SharePoint as the data repository.

you may be interested in the Database Accelerator tools www.qdabra.com has to offer.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sharepoint List View 6 38
"This column type cannot be filtered" - Sharepoint 2010 3 110
Sharepoint 3.0 migration 4 77
JSOM: The collection has not been initialized. 5 92
The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 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