<?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 a repeating table from a Sharepoint List</title><link>https://www.infopathdev.com:443/forums/thread/60339.aspx</link><pubDate>Thu, 14 Oct 2010 18:16:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60339</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60339.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=60339</wfw:commentRss><description>&lt;p&gt;Hi, just a comment on that:&lt;/p&gt;
&lt;p&gt;string selected = rows.Current.SelectSingleNode(&amp;quot;xSelected&amp;quot;, NamespaceManager).ValueAsBoolean.ToString(); &lt;/p&gt;
&lt;p&gt;you can just do :&lt;/p&gt;
&lt;p&gt;string selected = rows.Current.SelectSingleNode(&amp;quot;xSelected&amp;quot;, NamespaceManager).Value;&lt;/p&gt;
&lt;p&gt;it&amp;#39;s the same and simpler.&lt;/p&gt;
&lt;p&gt;For your current problem, You probably need to remove the xsi:nil attribute. Here a sample of code to remove it:&lt;/p&gt;
&lt;p&gt;IXMLDOMNode FullBooleanNode = thisXDocument.DOM.selectSingleNode(&amp;quot;//my:Node&amp;quot;);&lt;br /&gt;removeNil(FullBooleanNode ).text = &amp;quot;true&amp;quot;;&lt;br /&gt;&lt;br /&gt;public IXMLDOMNode removeNil(IXMLDOMNode node)&lt;br /&gt;{&lt;br /&gt;if (node.selectSingleNode( &amp;quot;@xsi:nil&amp;quot; ) != null)&lt;br /&gt;node.selectSingleNode( &amp;quot;@xsi:nil&amp;quot; ).text = &amp;quot;false&amp;quot;; &lt;br /&gt;&lt;br /&gt;return node;&lt;br /&gt;} &lt;/p&gt;
&lt;p&gt;you can make a&amp;nbsp; search on google for more detail.&lt;/p&gt;</description></item><item><title>Re: Populating a repeating table from a Sharepoint List</title><link>https://www.infopathdev.com:443/forums/thread/60331.aspx</link><pubDate>Thu, 14 Oct 2010 13:07:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60331</guid><dc:creator>jkuni</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60331.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=60331</wfw:commentRss><description>Since I got that working, I am trying to do the same process for an entire form. The overall goal is to have users create a new form, have everything autopopulate, then have the user able to check the rows that are needed, so that we can then use the xml to pull out only those rows to make a presentation view.  

I&amp;#39;ve got a basic structure as follows  Selected, Category Type Requirement Requestor Value Date being the columns, and category, type, requirement being strings, value a drop down between H,M,L, requester a person and date date.  

Selected is the actual boolean check list.  Now my problem is I get a null error when I use, even though selected shows the value of false. 


string selected = rows.Current.SelectSingleNode(&amp;quot;xSelected&amp;quot;, NamespaceManager).ValueAsBoolean.ToString();


So my first question would be how to solve this, and secondly is what I am trying to do even possible? I don&amp;#39;t want the data to be uplaoded to a sharepoint list, rather be able to create a view in sharepoint to pull out only the selected fields from the xml.  Sorry, basically new to Infopath and Sharepoint.  Thanks for any help.</description></item><item><title>Re: Populating a repeating table from a Sharepoint List</title><link>https://www.infopathdev.com:443/forums/thread/60285.aspx</link><pubDate>Wed, 13 Oct 2010 13:45:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60285</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=60285</wfw:commentRss><description>&lt;p&gt;Your welcome !&lt;/p&gt;</description></item><item><title>Re: Populating a repeating table from a Sharepoint List</title><link>https://www.infopathdev.com:443/forums/thread/60284.aspx</link><pubDate>Wed, 13 Oct 2010 13:38:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60284</guid><dc:creator>jkuni</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60284.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=60284</wfw:commentRss><description>&lt;p&gt;Yeah that worked.&amp;nbsp; I figured it would be something very small.&amp;nbsp; Thank you.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Populating a repeating table from a Sharepoint List</title><link>https://www.infopathdev.com:443/forums/thread/60280.aspx</link><pubDate>Wed, 13 Oct 2010 13:24:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60280</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=60280</wfw:commentRss><description>&lt;p&gt;Hi, I think you have a problem with your Xpath. You don&amp;#39;t paste you &amp;quot;rows&amp;quot; line so I can be sure but I suppose you have to change all your &lt;font color="#a31515"&gt;&amp;quot;/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:FirstName&amp;quot; by just&amp;nbsp;&amp;quot;d:FirstName&amp;quot;, &amp;quot;d:Email&amp;quot;,&amp;quot;d:LastName&amp;quot;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Populating a repeating table from a Sharepoint List</title><link>https://www.infopathdev.com:443/forums/thread/60278.aspx</link><pubDate>Wed, 13 Oct 2010 13:09:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60278</guid><dc:creator>jkuni</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=60278</wfw:commentRss><description>&lt;p&gt;I found a few tutorials online regarding this and am having trouble getting it working 100%.&lt;/p&gt;
&lt;p&gt;I have 7 rows in a list of emails, MyContacts.&amp;nbsp; The repeating table will fill 7 rows, but each row is filled with the information from the first row, say&amp;nbsp; first name - John&amp;nbsp; last name- Doe email-&amp;nbsp;&lt;a href="mailto:johndoe@.com"&gt;johndoe@.com&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I know that row is actually progressing and holding the values of the next row in the list, and when i do row.Current.Value it actually spits out the entire next row correctly. &lt;/p&gt;
&lt;p&gt;code :&lt;/p&gt;&amp;nbsp;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;DataSource&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ds = DataSources[&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;MyContacts&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;];&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; domNav = ds.CreateNavigator();&lt;/p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; listNav = ds.CreateNavigator();&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XPathNodeIterator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; rows = listNav.Select(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;while&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (rows.MoveNext())&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; lastName = rows.Current.SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:LastName&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).Value.ToString();&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; firstName = rows.Current.SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:FirstName&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).Value.ToString();&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; email = rows.Current.SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Email&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).Value.ToString();&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;AddItem(lastName, firstName, email);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume something is going wrong with the SelectSingleNode, and the xpath attribute to pull from.&amp;nbsp; Any help would be much appreciated.&amp;nbsp; &lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>