?
Solved

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

Posted on 2011-03-23
3
Medium Priority
?
1,289 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 2000 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

 [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

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

650 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