<?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>Re: Double eval "trick" using SharePoint lists</title><link>https://www.infopathdev.com:443/forums/thread/61026.aspx</link><pubDate>Tue, 02 Nov 2010 21:03:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61026</guid><dc:creator>ocampod</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61026.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=61026</wfw:commentRss><description>Barry,&lt;br /&gt;&lt;br /&gt;

That did the trick!&lt;br /&gt;&lt;br /&gt;

Here&amp;#39;s my XPath:&lt;br /&gt;&lt;br /&gt;

xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;Refunds Team&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Refunds_Team, &amp;#39;concat(@E-mail_Address, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;br /&gt;&lt;br /&gt;

Thanks for helping me out! &lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Double eval "trick" using SharePoint lists</title><link>https://www.infopathdev.com:443/forums/thread/61019.aspx</link><pubDate>Tue, 02 Nov 2010 18:42:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61019</guid><dc:creator>bcenters</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61019.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=61019</wfw:commentRss><description>&lt;p&gt;Not sure, here is my xpath statement for you to compare:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;Retrieval Position&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[(d:reportsto = xdXDocument:get-DOM()/my:myFields/my:Position/my:Emp_Pos_Nbr) and (d:emplid != &amp;quot;&amp;quot;)], &amp;#39;concat(&amp;quot;POS#-&amp;quot;, d:posnbr, &amp;quot;_EID#-&amp;quot;, d:emplid, &amp;quot;-&amp;quot;, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Double eval "trick" using SharePoint lists</title><link>https://www.infopathdev.com:443/forums/thread/61018.aspx</link><pubDate>Tue, 02 Nov 2010 18:32:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61018</guid><dc:creator>ocampod</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61018.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=61018</wfw:commentRss><description>Barry,

I followed your steps but I get this error:&lt;br /&gt;&lt;br /&gt;

Reference to undeclared namespace prefix: &amp;#39;d&amp;#39;.&lt;br /&gt;&lt;br /&gt;

Error occurred during a call to property or method &amp;#39;Eval&amp;#39;&lt;br /&gt;&lt;br /&gt;

For the &amp;quot;Refunds_Team&amp;quot;, I&amp;#39;m selecting the repeating group within my secondary data source. Can&amp;#39;t I use the XPath to refer to &amp;quot;Email_Address&amp;quot;?</description></item><item><title>Re: Double eval "trick" using SharePoint lists</title><link>https://www.infopathdev.com:443/forums/thread/61017.aspx</link><pubDate>Tue, 02 Nov 2010 18:15:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61017</guid><dc:creator>bcenters</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61017.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=61017</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think your problem is in the Refunds_Team, you should use the Insert Field or Group, then select your datasource, then open dataFields and select d:SharePointListItem_RW then on concat should be d:Email_Address&lt;/p&gt;
&lt;p&gt;I would envision it looking like eval(eval(&lt;u&gt;SharePointListItem_RW&lt;/u&gt;, &amp;#39;concat(d:Email_Address,&amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;
&lt;p&gt;Barry&lt;/p&gt;</description></item><item><title>Re: Double eval "trick" using SharePoint lists</title><link>https://www.infopathdev.com:443/forums/thread/61016.aspx</link><pubDate>Tue, 02 Nov 2010 17:59:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61016</guid><dc:creator>ocampod</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61016.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=61016</wfw:commentRss><description>Barry,

Thanks for following up!

Here&amp;#39;s my function:

eval(eval(Refunds_Team, &amp;#39;concat(d:@Email_Address,&amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)

The &amp;quot;Refunds_Team&amp;quot; string is the SharePoint list and @Email_Address is the field I am trying to concatenate. 

This is the error I am getting:


msxml5.dll
Expected token &amp;#39;)&amp;#39; found &amp;#39;:&amp;#39;.

concat(d--&amp;gt;:</description></item><item><title>Re: Double eval "trick" using SharePoint lists</title><link>https://www.infopathdev.com:443/forums/thread/61001.aspx</link><pubDate>Tue, 02 Nov 2010 14:00:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61001</guid><dc:creator>bcenters</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=61001</wfw:commentRss><description>&lt;p&gt;I will give you the example of the one I have and try to explain it the best way I know how.&amp;nbsp; I had problems with this for weeks until I finally understood it.&lt;/p&gt;
&lt;p&gt;eval(eval(SharePointListItem_RW[(reportsto = Emp_Pos_Nbr) and (emplid != &amp;quot;&amp;quot;)], &amp;#39;concat(&amp;quot;POS#-&amp;quot;, d:posnbr, &amp;quot;_EID#-&amp;quot;, d:emplid, &amp;quot;-&amp;quot;, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;
&lt;p&gt;eval(eval(Repeating Group &lt;em&gt;(not the field you want)&lt;/em&gt; [Filtered item], &lt;em&gt;(Concat only uses the &amp;#39; and not&amp;nbsp;&amp;quot; )&lt;/em&gt; &amp;#39;concat(notice here it is d: or m: this coincides with the repeating group you are using.&amp;nbsp; If the repeating group is in your form you will use a my:fieldnameinthegroup and if it is from a datasource you use a d:fieldnameinthegroup)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;
&lt;p&gt;As you can see I have two of the fields in the row where the filter has selected from the repeating group, and seperating them with a string:&amp;nbsp; POS#-&lt;strong&gt;FIELD_POSNBR&lt;/strong&gt;_EID#-&lt;strong&gt;FIELD_EMPLID&lt;/strong&gt;-; Repeat for next row&lt;/p&gt;
&lt;p&gt;Hope this helps, if you have problems post your string&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Barry&lt;/p&gt;</description></item><item><title>Double eval "trick" using SharePoint lists</title><link>https://www.infopathdev.com:443/forums/thread/60995.aspx</link><pubDate>Tue, 02 Nov 2010 13:33:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60995</guid><dc:creator>ocampod</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60995.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=60995</wfw:commentRss><description>Hi everyone,

I found a nice guide on how to concatenate email addresses from a repeating group here:

http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx?

Now, I tried to replicate it with a SharePoint list, but I haven&amp;#39;t had much luck. I get many errors like &amp;quot;end of string&amp;quot; and &amp;quot;invalid arguments&amp;quot; even though I followed guide, replacing the appropriate references to fields.

Has anyone been able to accomplish this?

The reason I want to use it is because a user wants to create a distribution list and email that group. I know I can use a SharePoint group for emailing, but a) it&amp;#39;s a hassle having to go in and find the person and b) I don&amp;#39;t want to provide this user such a permission.

Any help would be great!

Thanks</description></item></channel></rss>