<?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: Populating repeating table from a Sharepoint list using C#</title><link>https://www.infopathdev.com:443/forums/thread/120088.aspx</link><pubDate>Wed, 21 Nov 2018 08:34:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120088</guid><dc:creator>ajiichiban</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=120088</wfw:commentRss><description>Ah i see.  Thanks for confirming Hilary.  I suspected this was going to be the case</description></item><item><title>Re: Populating repeating table from a Sharepoint list using C#</title><link>https://www.infopathdev.com:443/forums/thread/120086.aspx</link><pubDate>Tue, 20 Nov 2018 19:45:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120086</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120086.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=120086</wfw:commentRss><description>I missed where you said you were going to try to submit to a list - many SharePoint web services aren&amp;#39;t available in browser forms on SharePoint Online, unfortunately.</description></item><item><title>Re: Populating repeating table from a Sharepoint list using C#</title><link>https://www.infopathdev.com:443/forums/thread/120083.aspx</link><pubDate>Tue, 20 Nov 2018 09:19:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120083</guid><dc:creator>ajiichiban</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120083.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=120083</wfw:commentRss><description>I&amp;#39;ve got the form submitting to the sharepoint online list with the web submit on Infopath.  
&lt;p&gt;
However when I upload the form to a SPO document library, and run it via the browser, I get numerous errors:&lt;br /&gt;
An error occurred while trying to connect to a Web service.
&lt;p&gt;
Should this still work on SPO?</description></item><item><title>Re: Populating repeating table from a Sharepoint list using C#</title><link>https://www.infopathdev.com:443/forums/thread/120060.aspx</link><pubDate>Wed, 14 Nov 2018 15:18:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120060</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120060.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=120060</wfw:commentRss><description>You won&amp;#39;t be able to use code in a browser form on SharePoint Online, sandbox has been deprecated... so yah, you are going to have to take a codeless approach.</description></item><item><title>Re: Populating repeating table from a Sharepoint list using C#</title><link>https://www.infopathdev.com:443/forums/thread/120057.aspx</link><pubDate>Wed, 14 Nov 2018 09:12:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120057</guid><dc:creator>ajiichiban</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120057.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=120057</wfw:commentRss><description>Thanks Hilary
&lt;p&gt;
That makes sense
&lt;p&gt;
I can populate field2 using code, just wanted to confirm that the C# code won&amp;#39;t trigger rules
&lt;p&gt;
Just realised that this is sandboxed code and may be an issue on SharePoint Online.  I&amp;#39;ll investigate if a codeless solution is feasible.  The posts look like they may work if I can combine the two
&lt;p&gt;
Copy repeating data &lt;br /&gt;
http://www.infopathdev.com/blogs/patrick/archive/2011/09/03/free-sample-copying-repeating-data.aspx
&lt;p&gt;
Codeless submit to sharepoint list &lt;br /&gt;
http://www.infopathdev.com/forums/t/26246.aspx?PageIndex=1</description></item><item><title>Re: Populating repeating table from a Sharepoint list using C#</title><link>https://www.infopathdev.com:443/forums/thread/120055.aspx</link><pubDate>Tue, 13 Nov 2018 22:40:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120055</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120055.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=120055</wfw:commentRss><description>So - it isn&amp;#39;t that the fields are read only - it is that they don&amp;#39;t exist at all. :) You can just continue using this approach and leave them blank. I usually get a node from the sample data and clone it instead, because that way all the fields are there. As to the rule on field1 running - I think it won&amp;#39;t run since the field is populated via code. Could you just also populate field2 as desired in your code?</description></item><item><title>Populating repeating table from a Sharepoint list using C#</title><link>https://www.infopathdev.com:443/forums/thread/120039.aspx</link><pubDate>Mon, 12 Nov 2018 08:30:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120039</guid><dc:creator>ajiichiban</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120039.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=120039</wfw:commentRss><description>I&amp;#39;m new to repeating tables and C# so I&amp;#39;m hoping I can get some guidance
&lt;p&gt;
I am designing a form which reads items from a SP custom list called TestCustomList.  This form needs to associate all the items in the list with an ID generated by the form (forming a many to one relationship).  This is just a test prototype, the actual form will need to populate other fields besides the ID.
&lt;p&gt;
The way I plan to go about this is to create a repeating table and bind it to TestCustomList directly and hide it within a section.  I will create another (local) repeating table and use C# code to copy from the SP bound rpt table to the local one.&lt;br /&gt;
http://www.bizsupportonline.net/infopath2007/copy-rows-from-sharepoint-list-to-main-data-source.htm
&lt;p&gt;
I plan to use this in conjuction with C# code which will allow me to submit a repeating table to a list:&lt;br /&gt;
http://www.bizsupportonline.net/infopath2007/how-to-submit-items-rows-repeating-table-infopath-sharepoint-list.htm
&lt;p&gt;
I have uploaded the C# code that I am using.  I needed to write something to the other fields in the repeating table otherwise when I load the form, the fields that I don&amp;#39;t modify, become read-only in the form.  So in the screenshot, I only write to field1, field2 and field5 have been commented out.  When I load the form field2 and field5 are read only.  If i uncomment the code, when I load the form these fields are writable.  Do I need to write a blank character to every field I don&amp;#39;t want to populate or is there a better way?
&lt;p&gt;
Also, if I use C# to populate a field in the repeating table, will that prevent the trigger of a rule to set the field in the second column of the repeating table?  Currently the rule is not populating the second column in the repeating table when the form loads.  After I uncomment the lines as described above, the form still does not auto populate field2.  However if I trigger a changed event on field1, field2 is populated via the rule.  
&lt;p&gt;
Rule XPath:
xdXDocument:GetDOM(&amp;quot;TestCustomList&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID[../d:Title = current()]
&lt;p&gt;
Thanks</description></item></channel></rss>