<?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: Automatically Populate Fields from a Drop-Down</title><link>https://www.infopathdev.com:443/forums/thread/70529.aspx</link><pubDate>Thu, 22 Sep 2011 13:06:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70529</guid><dc:creator>ktausher</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=70529</wfw:commentRss><description>&lt;p&gt;I figured it out.&amp;nbsp; In SharePoint 2010 the fields are set up in two groups - query and data - so the field names are prefaced with d: or q:&amp;nbsp;&amp;nbsp; In my case the XPath looked like this..&amp;nbsp; &lt;br /&gt;xdXDocument:GetDOM(&amp;quot;ClientInfo&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title[../d:ID = current()]&amp;nbsp;&amp;nbsp;&amp;nbsp; No @&amp;#39;s needed anymore&lt;/p&gt;</description></item><item><title>Re: Automatically Populate Fields from a Drop-Down</title><link>https://www.infopathdev.com:443/forums/thread/70528.aspx</link><pubDate>Thu, 22 Sep 2011 13:05:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70528</guid><dc:creator>ktausher</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=70528</wfw:commentRss><description>&lt;p&gt;I figured it out.&amp;nbsp; In SharePoint 2010 the fields are set up in two groups - query and data - so the field names are prefaced with d: or q:&amp;nbsp;&amp;nbsp; In my case the XPath looked like this..&amp;nbsp; &lt;br /&gt;xdXDocument:GetDOM(&amp;quot;ClientInfo&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title[../d:ID = current()]&lt;/p&gt;</description></item><item><title>Re: Automatically Populate Fields from a Drop-Down</title><link>https://www.infopathdev.com:443/forums/thread/70513.aspx</link><pubDate>Thu, 22 Sep 2011 04:07:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70513</guid><dc:creator>ktausher</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70513.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=70513</wfw:commentRss><description>&lt;p&gt;Hello Pasu,&lt;/p&gt;
&lt;p&gt;I know this was posted a long time ago - but I&amp;#39;m trying to do the same thing in 2010 and the @&amp;#39;s don&amp;#39;t seem to work.&amp;nbsp;&amp;nbsp; I wondered if you&amp;#39;ve made this work in 2010?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Karen&lt;/p&gt;</description></item><item><title>Re: Automatically Populate Fields from a Drop-Down</title><link>https://www.infopathdev.com:443/forums/thread/16496.aspx</link><pubDate>Thu, 14 Dec 2006 16:54:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16496</guid><dc:creator>Pasu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16496.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16496</wfw:commentRss><description>I figured it out using Trial and Error method. Prefixing &lt;font color="purple"&gt;@&lt;/font id="purple"&gt; to &lt;font color="purple"&gt;ID&lt;/font id="purple"&gt; solved the issue. &lt;br /&gt;&lt;br /&gt;The actual XPath is,&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;font color="purple"&gt;xdXDocument:GetDOM("Clients")/dfs:myFields/dfs:dataFields/dfs:Clients/@City[../&lt;b&gt;@ID &lt;/b&gt;= current()]&lt;/font id="purple"&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;Thanks to all those who were trying to offer their help.&lt;br /&gt;And special thanks to Matt Faus.</description></item><item><title>Re: Automatically Populate Fields from a Drop-Down</title><link>https://www.infopathdev.com:443/forums/thread/16495.aspx</link><pubDate>Thu, 14 Dec 2006 16:05:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16495</guid><dc:creator>Pasu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16495.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16495</wfw:commentRss><description>Thanks for your response Shilpa. But that did not provide me with a solution.&lt;br /&gt;&lt;br /&gt;My scenario is similar to that of one described by Matt Faus in his article at, &lt;a href='http://www.infopathdev.com/howto/tutorials/default.aspx?i=9111ef580f95479890fc18fb2c5bac85' target='_blank' title='http://www.infopathdev.com/howto/tutorials/default.aspx?i=9111ef580f95479890fc18fb2c5bac85'&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=9111ef580f95479890fc18fb2c5bac85&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=9111ef580f95479890fc18fb2c5bac85&lt;/a&gt;&lt;/a&gt;. &lt;br /&gt;The only difference is that I would like to use a SharePoint List as secondary data source instead of an XML file.&lt;br /&gt;&lt;br /&gt;I beleive that I need help in editing XPath &lt;font color="green"&gt;(&lt;font size="1"&gt;Step 10 of '&lt;i&gt;&lt;b&gt;Fill the drop-down list with values from the secondary data source and add rules&lt;/b&gt;&lt;/i&gt;' section in the aforementioned article.&lt;/font id="size1"&gt;)&lt;/font id="green"&gt; inside the Rules section of drop-down list.&lt;br /&gt;&lt;br /&gt;Thanks in advance!!</description></item><item><title>Re: Automatically Populate Fields from a Drop-Down</title><link>https://www.infopathdev.com:443/forums/thread/16494.aspx</link><pubDate>Thu, 14 Dec 2006 06:54:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16494</guid><dc:creator>Shilpa Pitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16494.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16494</wfw:commentRss><description>Hello Pasu and welcome to the forums,&lt;br /&gt;&lt;br /&gt;Yes, we can auto populate the fields using SharePoint List as the secondary data source&lt;br /&gt;Steps to follow:&lt;br /&gt;1. Create the SharePoint CustomList&lt;br /&gt;2. Select the field to which the data is to be autopopulated&lt;br /&gt;3. select look up values from an external data source below the list box entries in the properties&lt;br /&gt;4. Click on add button beside the data source field&lt;br /&gt;Select Create a new connetion to - Recieve &lt;br /&gt;5. Select Share point library or list radio button and click on nextdata and click on next&lt;br /&gt;6. Give the SharePoint List URl and click on next&lt;br /&gt;7. Select the list from the drop down from which values to be populated and click on next&lt;br /&gt;8. Select the value which is to be populated and click on next&lt;br /&gt;9. Select Automatically retrieve data when form is opened check box and click finish&lt;br /&gt;10. Follow the procedure for all the fields that are to be populated&lt;br /&gt;&lt;br /&gt;Hope this helps you!</description></item><item><title>Automatically Populate Fields from a Drop-Down</title><link>https://www.infopathdev.com:443/forums/thread/15500.aspx</link><pubDate>Wed, 13 Dec 2006 23:27:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15500</guid><dc:creator>Pasu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15500.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15500</wfw:commentRss><description>I have a question in response to an article at,&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=9111ef580f95479890fc18fb2c5bac85&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=9111ef580f95479890fc18fb2c5bac85&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The above tutorial details about automatically populating fields using XML file as a secondary data source.&lt;br /&gt;&lt;br /&gt;I would like to follow the same methodology, but with SharePoint List as a secondary data source. &lt;br /&gt;&lt;br /&gt;If there is a way to achieve it, please post it.&lt;br /&gt;&lt;br /&gt;Thanks.</description></item></channel></rss>