<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Iterate through an InfoPath Multi-Selection box and write to SP List</title><link>https://www.infopathdev.com:443/forums/thread/86600.aspx</link><pubDate>Wed, 30 Jan 2013 14:56:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86600</guid><dc:creator>paulct</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86600.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=86600</wfw:commentRss><description>&lt;p&gt;Hello, I&amp;#39;m relatively new to InfoPath development but at a reasonable level. What I have is an InfoPath form that allows users to submit up to 4 items from the same SP lookup list. The fields are name1, name2, name3 and name4. Each field also has a category which states what part of the business they are in but that&amp;#39;s not currently used. When I create a list item using workflow I also email each name field (when not blank) an alert... simpe but limited to only 4. I know I could manually add more but I want the user to not be limited to any fixed number of names.&lt;/p&gt;
&lt;p&gt;What I want to do is have a combox display the business areas (done and working) which then will populate a multi-selection tickbox with all the names in that area allowing the user to multi-select (done and working) - so far so good. BUT when I publish the form and get to the dialog box asking which fields I want to make available I can select the group of names (which I call SelectedNames) and it offers me 4 &amp;#39;functions&amp;#39; (first, last, count or merge). Now I want all names selected so I picked merge. The workflow in the library detects a new form and creates a list item in a separate SP list but when I do this for the SelectedNames I get a concatenated (merged) list like &amp;quot;Andrew Ball Chris Deacon Eric Fowler&amp;quot; space separated between names but also between first and last names.&lt;/p&gt;
&lt;p&gt;So my question is how do I write the SelectedNames to a sharepoint list in such a way that I can iterate through them and send an email to each selected name? &lt;/p&gt;</description></item></channel></rss>