<?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: 2 Issues:: Multiple Form Users &amp; Live Data Feed // Overwrite Existing List Item</title><link>https://www.infopathdev.com:443/forums/thread/45212.aspx</link><pubDate>Thu, 30 Jul 2009 18:22:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45212</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45212.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=45212</wfw:commentRss><description>&lt;p&gt;For #1, I don&amp;#39;t understand the problem nor the scenario.&amp;nbsp; Explain what you mean by 2 users working in this form.&amp;nbsp; Only one user can work on the form at a time, so any changes made by user 1 would be reflected in the form when opened by user 2.&amp;nbsp; if you&amp;#39;re talking about them creating separate forms, then whatever logic you&amp;#39;re using to limit the rows of data based on complaint ID, you&amp;#39;d use that same logic to restrict what is seen by user 2 when creating a new form after user 1.&amp;nbsp; If they both create a new form at the same time, you will not be able to cross-reference anything, because until the data is submitted back to SharePoint, there is no way for the form to be aware of what the other user is doing.&lt;/p&gt;
&lt;p&gt;For #2, you wouldn&amp;#39;t overwrite, but rather update an existing list item with the new information, and that would require matching a primary key of some sort.&amp;nbsp; You would set this key when creating the list item with the initial workflow - that key would be some unique identifier in both the form and the list item.&amp;nbsp; You&amp;#39;d later reference this key for updating the specific list item relevant to the changed form.&amp;nbsp; If you truly want to overwrite - meaning get rid of the previous record and make a new one - then you would first delete the relevant record and then create a new one.&amp;nbsp; Either option should work, but I figure the &amp;quot;update list item&amp;quot; is the better option.&lt;/p&gt;</description></item><item><title>Re: 2 Issues:: Multiple Form Users &amp; Live Data Feed // Overwrite Existing List Item</title><link>https://www.infopathdev.com:443/forums/thread/45206.aspx</link><pubDate>Thu, 30 Jul 2009 17:46:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45206</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45206.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=45206</wfw:commentRss><description>&lt;p&gt;Hi --&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t think of a way to handle #1, since, as you mention, the data for that dropdown is probably loaded when the form opens. Are other items filled out before the complaint ID is selected? Because you could maybe delay retreiving that data, to give a better chance of not getting two people selecting the same one. What populates the Review Date in the list? If it is something that is done from the form, perhaps you could have that happen earlier in the process, like when the user selects a complaint ID.... of course, that gets tricky, too, &amp;#39;cause you have to consider what happens when the user changes his or her mind -- you&amp;#39;d have to reset that Reiveiw Date back to blank in the list and then update a different one.&lt;/p&gt;
&lt;p&gt;As to #2, I haven&amp;#39;t used Workflows much.... but what happens when you try update list item? You say it doesn&amp;#39;t overwrite -- does it create a new list item? Are you adding a condition where the complaint id in the list = the complaint id from the form?&lt;/p&gt;</description></item><item><title>2 Issues:: Multiple Form Users &amp; Live Data Feed // Overwrite Existing List Item</title><link>https://www.infopathdev.com:443/forums/thread/45100.aspx</link><pubDate>Tue, 28 Jul 2009 16:36:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45100</guid><dc:creator>plastike</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45100.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=45100</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ve been searching the net for a non-programmatic solution to a few road-blocks I&amp;#39;ve encountered but to no avail.&amp;nbsp;For specs, I&amp;#39;m working with SharePoint Designer 20007 and InfoPath 2007. Below are my issues:&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;1. I&amp;#39;ve built out a form to where its secondary data source is a SharePoint list that feeds the data. Within the form itself, there is a &amp;#39;Complaint ID&amp;#39; drop-down field that will only prefill the form from rows in the SP list in which&amp;nbsp;a Review Date field&amp;nbsp;is blank. Since there will be 2 users working in this form, I&amp;#39;m trying to figure out a way in which if one user has selected a Complaint ID from the drop-down menu, the other user will not be able to prefill their form with that same Complaint ID - can this even be accomplished in Infopath, being all data is already sent from the SP&amp;nbsp;List to the form initially?&lt;br /&gt;&lt;br /&gt;2. This maybe better suited for a SharePoint only site, but since my issue dealt with InfoPath integration as well I thought I would post here. I&amp;#39;ve successfully created a Workflow in SharePoint Designer to where, when a new item in the SharePoint Library is created (which is linked to the aforementioned InfoPath form) then that new item will also be created in a SharePoint List; however, I&amp;#39;m needing a way to have it Overwrite a list item baseed off of the Complaint ID in the form - I&amp;#39;ve tried using Update List Item action in a new Workflow in SP Designer,&amp;nbsp; but it does not overwrite the record. Is there any known issues for this? Or is there a way to force this overwrite procedure in Infopath without the use of code?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any help is appreciated on this, thank you!&lt;/p&gt;
&lt;p&gt;P&lt;/p&gt;</description></item></channel></rss>