<?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: How do I check if a Filename already exists in SP form library from IP 03 before submitting?</title><link>https://www.infopathdev.com:443/forums/thread/47934.aspx</link><pubDate>Thu, 15 Oct 2009 12:41:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47934</guid><dc:creator>princevis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47934.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=47934</wfw:commentRss><description>&lt;p&gt;Sorry for replying late.I thought by the time u must have found a solution to ur problem.If not,then shile creating a dataconnection to submit a form to ur library,u have to define the url of ur form library and then in the second row,instead of submitting it with a name form,select some unique function for that click on Fx button and select now() from the list.Now when u&amp;#39;ll submit the form it wont get overwrite..&lt;/p&gt;
&lt;p&gt;Let me know if u still face this issue..&lt;/p&gt;</description></item><item><title>How do I check if a Filename already exists in SP form library from IP 03 before submitting?</title><link>https://www.infopathdev.com:443/forums/thread/47725.aspx</link><pubDate>Thu, 08 Oct 2009 15:31:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47725</guid><dc:creator>clinter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47725.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=47725</wfw:commentRss><description>&lt;p&gt;I have a form library in SP. Users can click &amp;#39;New&amp;#39; to create a new form, then they click a &amp;#39;Register&amp;#39; button which submits the form&lt;/p&gt;
&lt;p&gt;Problem: If they click &amp;#39;New&amp;#39; then &amp;#39;Register&amp;#39; again this overwrites the form and&amp;nbsp;they loose all the data&amp;nbsp;they had on the previous form. I need to find a way to check if the filename already exists before.&lt;/p&gt;
&lt;p&gt;Can this be&amp;nbsp;done using a rule?? I have a data connection to the&amp;nbsp;form library, but can&amp;#39;t figure out how to search it. Also the Register button uses VBScript, heres what i have so far&lt;/p&gt;
&lt;p&gt;Sub btnRegister_OnClick(eventObj)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;userChoice = XDocument.UI.Confirm(&amp;quot;Are you sure your registration details are correct?&amp;quot;, 4)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;If userChoice = 6 Then &lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;XDocument.DOM.selectSingleNode(&amp;quot;my:myFields/my:Current_Status&amp;quot;).Text = &amp;quot;New PPR Form&amp;quot;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;XDocument.DOM.selectSingleNode(&amp;quot;my:myFields/my:Submitted&amp;quot;).Text = 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;XDocument.Submit()&lt;br /&gt;&amp;nbsp;&amp;nbsp;XDocument.View.Window.Close(true)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Else&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;XDocument.UI.Alert(&amp;quot;Please contact Human Resources to amend your details&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;XDocument.View.Window.Close(true)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;End If&lt;br /&gt;End Sub&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>