<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to view Data retrieved from a webservice when the form is offline and/or copy data to main Datasource</title><link>https://www.infopathdev.com:443/forums/thread/64356.aspx</link><pubDate>Sat, 19 Feb 2011 21:56:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64356</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64356.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64356</wfw:commentRss><description>&lt;p&gt;Great! Thanks for posting your solution. &lt;/p&gt;</description></item><item><title>Re: How to view Data retrieved from a webservice when the form is offline and/or copy data to main Datasource</title><link>https://www.infopathdev.com:443/forums/thread/64349.aspx</link><pubDate>Fri, 18 Feb 2011 20:48:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64349</guid><dc:creator>gaya_b</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64349.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64349</wfw:commentRss><description>&lt;p&gt;thanks so much, patrick, but I figured it out! I don&amp;#39;t know if it&amp;#39;s the best way, but this is what I&amp;#39;m doing - &lt;/p&gt;&lt;p&gt;XPathNavigator serviceNav = DataSources[&amp;quot;SecDataSourceName&amp;quot;].CreateNavigator();&lt;br /&gt;XPathNodeIterator nodes = serviceNav.Select(&amp;quot;/dfs:myFields/dfs:dataFields/...&amp;quot;, NamespaceManager);&lt;/p&gt;&lt;p&gt;while (nodes.MoveNext())&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; messageBox.Show(nodes.Current.Value);&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;I&amp;#39;m copying nodes.Current.Value into a repeating table.&lt;/p&gt;&lt;p&gt;thanks again,&lt;br /&gt;gaya&lt;/p&gt;</description></item><item><title>Re: How to view Data retrieved from a webservice when the form is offline and/or copy data to main Datasource</title><link>https://www.infopathdev.com:443/forums/thread/64347.aspx</link><pubDate>Fri, 18 Feb 2011 19:42:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64347</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64347.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64347</wfw:commentRss><description>&lt;p&gt;Hi Gaya,&lt;/p&gt;
&lt;p&gt;You can use the Eval(eval(...)) trick to iterate xpath functions but there is no xpath function for copying values from a secondary data source, so you have to use some code. Since we get asked this question a lot, we created qRules back in 2007 to address the common coding questions that we get asked a lot. qRules can do a filtered copy from a repeating table in a secondary data source to the main data source or vice versa. &lt;/p&gt;
&lt;p&gt;To use qRules you will need InfoPath 2007 or 2010. If you are doing browser-based forms in 2007, you will need to admin deploy them, which is not too hard but does complicate publishing. SharePoint 2010 gets around this with sandboxes. &lt;/p&gt;
&lt;p&gt;If you&amp;#39;re interested, we can arrange to have someone call you and show you a sample of how to go about doing what you have described with qRules. If you can attach a sample XSN with instructions (just type into InfoPath view the instructions of what you want to happen), I will inject qRules and show you the technique over the weekend.&lt;/p&gt;
&lt;p&gt;Let us know.&lt;/p&gt;</description></item><item><title>Re: How to view Data retrieved from a webservice when the form is offline and/or copy data to main Datasource</title><link>https://www.infopathdev.com:443/forums/thread/64287.aspx</link><pubDate>Thu, 17 Feb 2011 15:28:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64287</guid><dc:creator>gaya_b</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64287.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64287</wfw:commentRss><description>&lt;p&gt;I should probably be more clear with what I am trying to achieve. My secondary datasource (webservice that queries AD) returns a repeating string. How do I iterate through this string and save to a repeating field in my main datasource? The secondary repeating field currently binds to a repeating table - do I iterate through the table or work directly with the secondary datasource? I am really confused as to how to go about this...any help really appreciated.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Gaya&lt;/p&gt;</description></item><item><title>Re: How to view Data retrieved from a webservice when the form is offline and/or copy data to main Datasource</title><link>https://www.infopathdev.com:443/forums/thread/64277.aspx</link><pubDate>Thu, 17 Feb 2011 12:17:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64277</guid><dc:creator>gaya_b</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64277.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64277</wfw:commentRss><description>&lt;p&gt;Thanks for getting back to me. Would you mind helping me if I took a different direction? How can I copy data from my secondary data source (webservice that returns a repeating string) to my main datasource? &lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Gaya&lt;/p&gt;</description></item><item><title>Re: How to view Data retrieved from a webservice when the form is offline and/or copy data to main Datasource</title><link>https://www.infopathdev.com:443/forums/thread/64268.aspx</link><pubDate>Thu, 17 Feb 2011 07:10:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64268</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64268.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64268</wfw:commentRss><description>&lt;p&gt;Hi Gaya_B,&lt;/p&gt;
&lt;p&gt;That&amp;#39;s a strange error. We will need more information from you. Maybe you can attach your form or screenshots. &lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: How to view Data retrieved from a webservice when the form is offline and/or copy data to main Datasource</title><link>https://www.infopathdev.com:443/forums/thread/64253.aspx</link><pubDate>Wed, 16 Feb 2011 19:41:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64253</guid><dc:creator>gaya_b</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64253.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64253</wfw:commentRss><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;thank for the suggestion. I implemented the steps in the article, but got an error from the webservice saying &amp;quot;Infopath could not store this data on the form&amp;quot;. would you have any other suggestions?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;thanks.&lt;/p&gt;</description></item><item><title>Re: How to view Data retrieved from a webservice when the form is offline and/or copy data to main Datasource</title><link>https://www.infopathdev.com:443/forums/thread/64245.aspx</link><pubDate>Wed, 16 Feb 2011 18:24:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64245</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64245.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64245</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you reviewed this article from Microsoft that explains how to deign your form for offline use?&lt;/p&gt;
&lt;p&gt;&lt;a href="http://office.microsoft.com/en-us/infopath-help/design-a-form-template-for-offline-use-HA010211739.aspx"&gt;http://office.microsoft.com/en-us/infopath-help/design-a-form-template-for-offline-use-HA010211739.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The offline scenario is one of InfoPath&amp;#39;s big advantages!&lt;/p&gt;
&lt;p&gt;Hope that helps&lt;/p&gt;
&lt;p&gt;Ted&lt;/p&gt;</description></item><item><title>How to view Data retrieved from a webservice when the form is offline and/or copy data to main Datasource</title><link>https://www.infopathdev.com:443/forums/thread/64230.aspx</link><pubDate>Wed, 16 Feb 2011 14:59:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64230</guid><dc:creator>gaya_b</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64230.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64230</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am new to Infopath Development and was hoping someone could help me out. I have a form which calls a webservice that retrieves information for a user from AD. I was able to copy the regular string fields into the main data source, but I am having trouble copying a repeating string field into the main data source (which currently binds to a repeating table in the form). What is the best way to do this? The reason I need to do this is that the infomation needs to be available in view mode without calling the webservice, so I need to store that info in the main data source. &lt;/p&gt;
&lt;p&gt;This is the structure of my webservice datasource&lt;/p&gt;
&lt;p&gt;myFields&lt;br /&gt;queryFields&lt;br /&gt;dataFields&lt;br /&gt;&amp;nbsp;-response&lt;br /&gt;&amp;nbsp;-result&lt;br /&gt;&amp;nbsp;&amp;nbsp; -string(repeating)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any help would be greatly appreciated!&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>