<?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: Delete file from WSS library</title><link>https://www.infopathdev.com:443/forums/thread/25860.aspx</link><pubDate>Wed, 23 Jan 2008 17:07:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25860</guid><dc:creator>KoopLaFez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25860.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=25860</wfw:commentRss><description>&lt;p&gt;I had the same problem with Agni Reddy&amp;#39;s instructions.&amp;nbsp; It worked great till I got to the end and the code was in C Sharp.&amp;nbsp; I&amp;#39;m running InfoPath out of the Office Suite, so I can only use Javascript or VB Script.&amp;nbsp; I fooled around with it a little bit, though, and was able to come up with a workable equivalent in Javascript.&amp;nbsp; Here&amp;#39;s what I came up with:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;function deleteFile(fileName)&lt;br /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument.GetDOM(&amp;quot;UpdateListItemsConfig&amp;quot;).selectSingleNode(&amp;quot;/UpdateListItemsConfig/SharepointDelete/Batch/Method/Field[@Name = &amp;#39;FileRef&amp;#39;]&amp;quot;).text = fileName; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument.DataAdapters(&amp;quot;SharePointDelete&amp;quot;).Submit();&amp;nbsp;&amp;nbsp; &lt;br /&gt;}&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I should mention that not only am I green when it comes to SharePoint and InfoPath, but also Javascript and XML, so this solution might be horrendously inelegant for all I know, but it works, so I thought I&amp;#39;d pass it along.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Delete file from WSS library</title><link>https://www.infopathdev.com:443/forums/thread/23658.aspx</link><pubDate>Thu, 11 Oct 2007 13:20:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23658</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23658.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=23658</wfw:commentRss><description>&lt;p&gt;You obviously have the submit dataconnection for saving the form in SharePoint.&lt;/p&gt;
&lt;p&gt;You would need to create another that was identical except it adds the History folder.&lt;/p&gt;
&lt;p&gt;The you would setup the two data connections specified by Agni in his post on deleting. You can do it without code too.&lt;/p&gt;
&lt;p&gt;In your case you would need to set the name for each file you were going to delete.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another option is you could look at the Database Accelerator &lt;a href="http://www.infopathdev.com/files/folders/dbxldownload/entry22386.aspx" target="_blank"&gt;Qdabra Database Accelerator Suite Version 2.1.2815 - Developer&lt;/a&gt;&amp;nbsp;and you could evaluate the benefits of using SQL to store your forms over SharePoint.&lt;/p&gt;
&lt;p&gt;Otherwise,&amp;nbsp;if you are really stuck you can buy some support credits here &lt;a href="http://www.qdabra.com/products_all.asp?cat=12"&gt;http://www.qdabra.com/products_all.asp?cat=12&lt;/a&gt;&amp;nbsp;and we could help you get your form working the way you need it to.&lt;/p&gt;</description></item><item><title>Re: Delete file from WSS library</title><link>https://www.infopathdev.com:443/forums/thread/23657.aspx</link><pubDate>Thu, 11 Oct 2007 13:02:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23657</guid><dc:creator>TechTrouble</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23657.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=23657</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Thank you Clay for your help, this may sound a little “duh!”, there is my problem, I don’t know how to create that routine, I have try VB and C, but they do not work, I mean I don’t know how to make them work. Could you help me with that? Or any help is a big help&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Thanks again&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Delete file from WSS library</title><link>https://www.infopathdev.com:443/forums/thread/23642.aspx</link><pubDate>Thu, 11 Oct 2007 02:26:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23642</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23642.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=23642</wfw:commentRss><description>&lt;p&gt;I think you would have two steps to this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;First would be a special submit which would place the file in the histroy folder.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;second would be the deletion of the original.&lt;/p&gt;
&lt;p&gt;I have done the deletion before, the key is making sure you specify the correct site and then getting the list&amp;nbsp;ID correct.&amp;nbsp; If you use a parent site then this will not work.&lt;/p&gt;
&lt;p&gt;So once the form was complete or ready to be archived you would need to submit to history and then submit the deletion routine. &lt;/p&gt;
&lt;p&gt;Does that help?&lt;/p&gt;</description></item><item><title>Delete file from WSS library</title><link>https://www.infopathdev.com:443/forums/thread/23641.aspx</link><pubDate>Wed, 10 Oct 2007 22:51:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23641</guid><dc:creator>TechTrouble</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23641.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=23641</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Hi,&lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;I am trying to move a file to a different folder in the same library. I create a form once is completed I need to send it to &amp;quot;history&amp;quot; another folder in the same library, once I click send to history I need for that form to be delete from the original location. Are they any ways to do this? I was looking this &lt;/font&gt;&lt;a href="http://www.infopathdev.com/blogs/agni/archive/2006/03/12/Delete-File-from-SharePoint.aspx"&gt;&lt;font face="Times New Roman" color="#800080" size="3"&gt;http://www.infopathdev.com/blogs/agni/archive/2006/03/12/Delete-File-from-SharePoint.aspx&lt;/font&gt;&lt;/a&gt;&lt;font face="Times New Roman" size="3"&gt; (Agni Reddy), to be honest I did all the steps, but at the end I didn’t know what to do. For example&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;http://Sharepointserver/libraryName/application-55666.xml I need for this to get move to http://Sharepointserver/libraryName/HISTORY/application-55666.xml and I don’t need it in the original location anymore.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Thanks in advance&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>