<?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>Associating infopath form with a sharepoint list's ID field</title><link>https://www.infopathdev.com:443/forums/thread/55569.aspx</link><pubDate>Thu, 03 Jun 2010 13:19:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55569</guid><dc:creator>paul_mc_87</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55569.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=55569</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am looking for ideas on a solution to the following problem:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a sharepoint list and am using the ID field to associate documents with a particular record, using web parts with filters for this bla bla bla anyway that works fine. &lt;/p&gt;
&lt;p&gt;I have an infopath form and I am using it as a content type, what i want is that when a user clicks on a particular record (in the list web part) it shows the documents that are avaialble for that partiuclar record in another document library web part (this is working, i am getting to my point trust me) BUT when the use clicks on &amp;quot;new&amp;quot; in the document library webpart it opens up my content type (which is a risk assesment form ) AND when the form opens it automatically populates a field in the infopath form which picks up the list value the user has clicked on.&lt;/p&gt;
&lt;p&gt;To summarise, user opens page &amp;gt; clicks on the ID field in the data view web part for a list &amp;gt; the associated documents are then showed in a document library web part (with a field called reference number which looks up the ID field of the corresponding list this is how it knows what associated with it) &amp;gt; The user clicks on new &amp;gt; clicks on risk assesment &amp;gt; risk assesment form opens in infopath &amp;gt; the &amp;quot;reference number&amp;quot; field is already populated with the ID of the list record they have clicked on &amp;gt; user fills out the risk assesment form &amp;gt; submits it to the document library &amp;gt; HEY PRESTO, now when a user clicks on a particular ID field in the list view web part they only see documents that are associated with that record.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I know its hard to get your head round and it took me a while to understand what my colleague was going on about, however it is a good solution but like i say i am stuck on that last bit of populating the reference number field in the infpath form so that it knows what particular record it is associated with&lt;/p&gt;</description></item></channel></rss>