<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Email Webservice Secondary Data Connection - Repeating Group</title><link>https://www.infopathdev.com:443/forums/thread/63915.aspx</link><pubDate>Mon, 07 Feb 2011 01:17:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63915</guid><dc:creator>Maureen57</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63915.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=63915</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;That got it!!!&amp;nbsp;&amp;nbsp; THANK you so much.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Email Webservice Secondary Data Connection - Repeating Group</title><link>https://www.infopathdev.com:443/forums/thread/63913.aspx</link><pubDate>Sun, 06 Feb 2011 21:18:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63913</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63913.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=63913</wfw:commentRss><description>&lt;p&gt;Ah, so you&amp;#39;re talking about parameterizing your query! That&amp;#39;s a little different. Forget about the data connections wizard - just put anything in there that returns 2 or more rows for now. Then, in your form, add a Query button and add a rule to that to set the query data connection&amp;#39;s parameter before querying the data connection. When you add a rule with an action to set a field&amp;#39;s value you are given a different dialog that lets you create an xpath using functions like current(). etc. &lt;/p&gt;
&lt;p&gt;I hope this gets you a little further, but please reply if it&amp;#39;s not clear as mud! :)&lt;/p&gt;</description></item><item><title>Re: Email Webservice Secondary Data Connection - Repeating Group</title><link>https://www.infopathdev.com:443/forums/thread/63906.aspx</link><pubDate>Sun, 06 Feb 2011 01:11:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63906</guid><dc:creator>Maureen57</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63906.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=63906</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Patrick and many thanks for the help...glad it is an easy one!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I can copy the Xpath, and I have used the current / relative xpath in code like this---&lt;br /&gt;&lt;br /&gt;comments = eventObj.Source.selectSingleNode(&amp;quot;&lt;b&gt;@Comments&lt;/b&gt;&amp;quot;).text&lt;br /&gt;&lt;br /&gt;However, in the email webservice dataconnection, it won&amp;#39;t let me enter anything&amp;nbsp; except the entire xpath..&lt;br /&gt;&lt;br /&gt;See picture - I cannot remove the &lt;b&gt;/dfs:myFields/dfs:dataFields/d:vw_Fedex_SPOD_N/&lt;/b&gt;@Email to just have the relative path @Email.&amp;nbsp;&amp;nbsp; The Infopath GUI won&amp;#39;t let me. &lt;/p&gt;&lt;p&gt;The GUI for this webserice data connection only lets me pick a field from the data connections,exactly as it is.&amp;nbsp; No changes to XPATH. &lt;/p&gt;&lt;p&gt;Should I setup another data connectionto use in the email webservice,and populate it with the current xpath?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Email Webservice Secondary Data Connection - Repeating Group</title><link>https://www.infopathdev.com:443/forums/thread/63905.aspx</link><pubDate>Sat, 05 Feb 2011 20:16:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63905</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63905.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=63905</wfw:commentRss><description>&lt;p&gt;Hi Maureen57 and welcome,&lt;/p&gt;
&lt;p&gt;Thanks for the nice image. This is an easy problem. You need to use the current() command in your xpath to get the current row. Search this site for &amp;quot;xpath current&amp;quot;. I believe Greg has several post but there are probably 100 threads on it. It&amp;#39;s probably the most popular question people have. &lt;/p&gt;</description></item><item><title>Email Webservice Secondary Data Connection - Repeating Group</title><link>https://www.infopathdev.com:443/forums/thread/63879.aspx</link><pubDate>Fri, 04 Feb 2011 15:17:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63879</guid><dc:creator>Maureen57</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63879.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=63879</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have a repeating group on a form, based on a secondary data source.&amp;nbsp; Each instance contains an email address and a button.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I also have a webservice EMAIL connection as a secondary data source.&amp;nbsp;&amp;nbsp; When I click the button, I have a rule to send an email through the webservice.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Surprise, the email always goes to the email address in the FIRST instance of the group. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;See the attached parameters for the web service call....can I change these to somehow indicate relative path?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>