<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Connection data. Get all nodes from SharePoint server.</title><link>https://www.infopathdev.com:443/forums/thread/42062.aspx</link><pubDate>Tue, 26 May 2009 14:06:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42062</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42062.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42062</wfw:commentRss><description>&lt;p&gt;Filtering can be done on the SharePoint side using a modified list view and an XML data view data connection to that view.&lt;/p&gt;</description></item><item><title>Re: Connection data. Get all nodes from SharePoint server.</title><link>https://www.infopathdev.com:443/forums/thread/42056.aspx</link><pubDate>Tue, 26 May 2009 09:59:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42056</guid><dc:creator>Scroll</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42056.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42056</wfw:commentRss><description>Thank you, Samir Farid! This is not exactly what I needed, but it helped me!</description></item><item><title>Re: Connection data. Get all nodes from SharePoint server.</title><link>https://www.infopathdev.com:443/forums/thread/42053.aspx</link><pubDate>Tue, 26 May 2009 09:09:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42053</guid><dc:creator>Samir Farid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42053</wfw:commentRss><description>&lt;p&gt;Hi Scroll,&lt;/p&gt;
&lt;p&gt;The solution can be implemented without using code, but the filtering cannot be done on the sharepoint side, it has to be done on the infopath side.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Let&amp;#39;s assume for my response that we have a dropdownlist on the form&amp;nbsp;called &lt;strong&gt;EmployeeType&lt;/strong&gt;. The&amp;nbsp;dropdownlist&amp;nbsp;contains 2 items &amp;quot;Programmers&amp;quot; &amp;amp; &amp;quot;Engineers&amp;quot;.&lt;/p&gt;
&lt;div&gt;Implement the following steps on the repeating table holding the SharePoint data:&lt;/div&gt;
&lt;p&gt;[1] Double-click the &lt;strong&gt;Repeating Table&lt;/strong&gt; to open its &lt;strong&gt;Properties&lt;/strong&gt; dialog box. &lt;br /&gt;[2] On the &lt;strong&gt;Repeating Table Properties&lt;/strong&gt; dialog box, click &lt;strong&gt;Display&lt;/strong&gt;, and then &lt;strong&gt;Conditional Formatting&lt;/strong&gt;. &lt;br /&gt;[3] On the &lt;strong&gt;Conditional Formatting&lt;/strong&gt; dialog box, click &lt;strong&gt;Add&lt;/strong&gt;.&lt;br /&gt;[4] On the &lt;strong&gt;Conditional Format&lt;/strong&gt; dialog box, add the following condition: &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;@EmployeeType&lt;/strong&gt; (from SharePoint list)&amp;nbsp;is not equal to &lt;strong&gt;EmployeeField &lt;/strong&gt;(Dropdownlist)&lt;/p&gt;&lt;/blockquote&gt;
&lt;div&gt;[5] On the &lt;strong&gt;Conditional Format&lt;/strong&gt; dialog box, select the &lt;strong&gt;Hide this control&lt;/strong&gt; check box, and click &lt;strong&gt;OK. &lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/strong&gt;This tells infopath to filter the repeating table and hide everything that does not match the selection in the dropdownlist.&lt;br /&gt;&lt;br /&gt;[6] Click &lt;strong&gt;OK&lt;/strong&gt; on all open dialog boxes.&lt;br /&gt;[7] Test the InfoPath form template.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;I managed to create this solution&amp;nbsp;using some of the steps&amp;nbsp;in the following article:&lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.bizsupportonline.net/infopath2007/filter-sharepoint-list-infopath-repeating-table-date-range.htm"&gt;http://www.bizsupportonline.net/infopath2007/filter-sharepoint-list-infopath-repeating-table-date-range.htm&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Hope it helps.&lt;/div&gt;</description></item><item><title>Re: Connection data. Get all nodes from SharePoint server.</title><link>https://www.infopathdev.com:443/forums/thread/42051.aspx</link><pubDate>Tue, 26 May 2009 06:26:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42051</guid><dc:creator>Scroll</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42051.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42051</wfw:commentRss><description>I need to put data from SharePoint server to repeating table. And if the initial condition = &amp;quot;programmers&amp;quot; - in a repeating table should be placed data about the programmers. If the initial condition = &amp;quot;engineers&amp;quot; - should be placed data about the engineers. 	I thought that it can not be done without code.
&lt;font face="Lucida Console" size="2"&gt;
[if variable=&amp;quot;programmers&amp;quot;]
	get data &amp;quot;programmers&amp;quot; from SharePoint server;
	put data to repeating table;
[endif]
[if variable=&amp;quot;engineers&amp;quot;]
	get data &amp;quot;engineers&amp;quot; from SharePoint server;
	put data to repeating table;
[endif]
&lt;/font&gt;</description></item><item><title>Re: Connection data. Get all nodes from SharePoint server.</title><link>https://www.infopathdev.com:443/forums/thread/42035.aspx</link><pubDate>Mon, 25 May 2009 15:55:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42035</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42035.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42035</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t understand the question.&amp;nbsp; if you want to get data from a SharePoint list or library, then you create&amp;nbsp;a data connection, which will pull all the data from a given list or a library.&amp;nbsp; Very simple without any code.&lt;/p&gt;</description></item><item><title>Connection data. Get all nodes from SharePoint server.</title><link>https://www.infopathdev.com:443/forums/thread/42023.aspx</link><pubDate>Mon, 25 May 2009 10:01:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42023</guid><dc:creator>Scroll</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42023.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42023</wfw:commentRss><description>Hello! I have a data on SharePoint server. How get and print all nodes from this data?

I do (JScript):

&lt;font face="Lucida Console" size="2"&gt;
XDocument.DataObjects(&amp;#39;names&amp;#39;).Query();
data = XDocument.DataObjects(&amp;#39;names&amp;#39;).DOM.documentElement;
&lt;/font&gt;

But I do not know what to do next. As far as I know SelectNodes() gets only selected nodes and SelectSingleNode() gets only single node.

Excuse me for my English. Thanks.</description></item></channel></rss>