<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/115610.aspx</link><pubDate>Mon, 13 Feb 2017 19:55:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115610</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115610.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115610</wfw:commentRss><description>Whoo hoo! way to start the week. :)</description></item><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/115609.aspx</link><pubDate>Mon, 13 Feb 2017 19:46:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115609</guid><dc:creator>patobarcelonista</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115609.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115609</wfw:commentRss><description>Great!!!&lt;br /&gt;
Finally it works.. thank you so much!!!</description></item><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/115607.aspx</link><pubDate>Mon, 13 Feb 2017 19:28:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115607</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115607</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You are doing great - there is a lot to learn - like I said, this isn&amp;#39;t exactly easy stuff. So we have to figure out why it is failing. Name + .xml should be right. &lt;/p&gt;&lt;p&gt;I&amp;nbsp;did a search&amp;nbsp;online and turned up this post: &amp;nbsp;&lt;a href="http://www.infopathdev.com/forums/t/30817.aspx"&gt;http://www.infopathdev.com/forums/t/30817.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Looks like I&amp;#39;ve had the&amp;nbsp;same issue before with an encoded URL - so maybe try replacing the %20 in your URL with spaces?&lt;/p&gt;&lt;p&gt;http://teamspace/et/printed_circuit_design/initialrelease/New Engineering Checklist Dev Test/63_789-A.xml&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/115604.aspx</link><pubDate>Mon, 13 Feb 2017 18:37:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115604</guid><dc:creator>patobarcelonista</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115604.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115604</wfw:commentRss><description>Thank you Hilary for this follow up. I am learning a lot here. Please don&amp;#39;t give up on me.
&lt;br /&gt;
This is part of the xml response :
&lt;br /&gt;
&lt;pre&gt;    Result [ ID=Delete,Delete ]
&lt;pre&gt;    Error Code &lt;/pre&gt;
&lt;pre&gt;        0x81020030 &lt;/pre&gt;
&lt;pre&gt;    Error Text &lt;/pre&gt;
&lt;pre&gt;        Invalid file name The file name you specified could not be used.  It may be the name of an existing file or directory, or you may not have permission to access the file. &lt;/pre&gt;
&lt;br /&gt;
I am not sure about the FileRef. I am putting there the path of the library + what is found under the column &amp;quot;Name&amp;quot; + &amp;quot;.xml&amp;quot;... Is that right?</description></item><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/115602.aspx</link><pubDate>Mon, 13 Feb 2017 18:15:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115602</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115602.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115602</wfw:commentRss><description>In the inspectors tab, you should have a request and a response. The above looks like your request and it looks like it should be okay - so check the XML in the response tab and see what&amp;#39;s there. :)</description></item><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/115601.aspx</link><pubDate>Mon, 13 Feb 2017 18:08:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115601</guid><dc:creator>patobarcelonista</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115601.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115601</wfw:commentRss><description>Hi Hilary
&lt;br /&gt;
I installed the app you told me, run it, and tried again to delete the item based on the Infopath form you provided me. 
&lt;br /&gt;&lt;br /&gt;
This is what I got in the Inspectors tab:
&lt;br /&gt;POST http://teamspace/et/printed_circuit_design/initialrelease/_vti_bin/lists.asmx HTTP/1.1
&lt;br /&gt;SOAPAction: &amp;quot;http://schemas.microsoft.com/sharepoint/soap/UpdateListItems&amp;quot;
&lt;br /&gt;Content-Type: text/xml; charset=&amp;quot;UTF-8&amp;quot;
&lt;br /&gt;User-Agent: SOAP Toolkit 3.0
&lt;br /&gt;Host: teamspace
&lt;br /&gt;Content-Length: 827
&lt;br /&gt;Connection: Keep-Alive
&lt;br /&gt;Pragma: no-cache
&lt;br /&gt;Cookie: WSS_KeepSessionAuthenticated=80; MSOWebPartPage_AnonymousAccessCookie=80
&lt;br /&gt;
&lt;pre&gt;
(?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot;?)(SOAP-ENV:Envelope xmlns:SOAPSDK1=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:SOAPSDK2=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAPSDK3=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot;)(SOAP-ENV:Body)(tns:UpdateListItems xmlns:tns=&amp;quot;http://schemas.microsoft.com/sharepoint/soap/&amp;quot;)(tns:listName)1905F6CB-3F05-4746-87F8-5C9CB3E2C7E6(/tns:listName)(tns:updates)(Batch OnError=&amp;quot;Continue&amp;quot;)
		(Method ID=&amp;quot;Delete&amp;quot; Cmd=&amp;quot;Delete&amp;quot;)
			(Field Name=&amp;quot;ID&amp;quot; set=&amp;quot;&amp;quot;)63(/Field)
			(Field Name=&amp;quot;FileRef&amp;quot; set=&amp;quot;&amp;quot;)http://teamspace/et/printed_circuit_design/initialrelease/New%20Engineering%20Checklist%20Dev%20Test/63_789-A.xml(/Field)		
		(/Method)
	(/Batch)(/tns:updates)(/tns:UpdateListItems)(/SOAP-ENV:Body)(/SOAP-ENV:Envelope)
&lt;/pre&gt;
&lt;br /&gt;&lt;br /&gt;
I replace &amp;#39;&amp;#39; with &amp;#39;(&amp;#39; and &amp;#39;)&amp;#39;, just because I don&amp;#39;t know how to make view able. &lt;br /&gt;
Any hint?</description></item><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/115598.aspx</link><pubDate>Mon, 13 Feb 2017 16:46:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115598</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115598.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115598</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Can you install Fiddler on your machine? It is a free download - you can run it while you try your logic to delete and in the Inspectors section you can get back info that may help us see what&amp;#39;s going wrong. Want to give it a try?&lt;/p&gt;</description></item><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/115597.aspx</link><pubDate>Mon, 13 Feb 2017 16:00:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115597</guid><dc:creator>patobarcelonista</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115597.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115597</wfw:commentRss><description>Hi Hilary,&lt;br /&gt;&lt;br /&gt;

Thank you for your help. I don&amp;#39;t have Office 365.&lt;br /&gt;
I am still not able to get it working. I updated the URL in the data connection.  Here is what I am doing:
&lt;br /&gt;
List Name =  I tried with the list name in the top of my library, but I got an error about the GUID. Then, I tried with the GUID of the library 1905J6CB-3F05-4746-87B8-5C9CB3E2C7E6 
&lt;br /&gt;
ID Field =  the ID of the specific item/file in my SP Library, in my case &amp;quot;63&amp;quot;
&lt;br /&gt;
FileRef Field = http://teamspace/et/mysite/mylibrary/63_789-A.xml, where 63_789-A is the Name that is shown in my SP Library
&lt;br /&gt;&lt;br /&gt;
I click Submit, but the file is still there. Not deletion done. Any hint what I am doing wrong?</description></item><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/109466.aspx</link><pubDate>Sat, 11 Feb 2017 00:42:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109466</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109466.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=109466</wfw:commentRss><description>Here&amp;#39;s a sample. Save it locally, right click and select design. I&amp;#39;ve added some instruction &amp;amp; information. Please note that this won&amp;#39;t work in an Office365 browser form as it uses the lists web service that SharePoint won&amp;#39;t allow. But I guess if you are on Office365, you could probably use MS Flow. :)</description></item><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/109464.aspx</link><pubDate>Fri, 10 Feb 2017 16:40:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109464</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109464.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=109464</wfw:commentRss><description>Yes, I think so - but it isn&amp;#39;t easy..... Basically, you have to create an XML that has the correct CAML for deleting, and then have a web service connection to submit that to the Lists web service. I have a few forms that use this approach for deleting list items, and I&amp;#39;d assume it would work for libraries as well. I&amp;#39;ll try to put together a simple sample for you later today - although you&amp;#39;ll have to update data connections to point to your library, add a query to get back the list item ID from your library, etc.</description></item><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/109461.aspx</link><pubDate>Fri, 10 Feb 2017 14:34:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109461</guid><dc:creator>patobarcelonista</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109461.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=109461</wfw:commentRss><description>Hilary. Thanks for your answer. 
&lt;br /&gt;
Unfortunately, I am not able to use workflows. :(
&lt;br /&gt;
Is there a way to do it with rules?</description></item><item><title>Re: Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/109458.aspx</link><pubDate>Thu, 09 Feb 2017 23:37:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109458</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109458.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=109458</wfw:commentRss><description>Can you use a SharePoint workflow? Maybe promote another field from your form that has the &amp;quot;old name&amp;quot; in it - on submit, if there is a value, the workflow tries to delete the form w/ that name?</description></item><item><title>Delete a SharePoint Library Item from an Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/109457.aspx</link><pubDate>Thu, 09 Feb 2017 23:22:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109457</guid><dc:creator>patobarcelonista</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109457.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=109457</wfw:commentRss><description>Hello everyone.&lt;br /&gt;
&lt;p&gt;This is what I am trying to do:&lt;/p&gt;
&lt;p&gt;I have a form which Name on submitting is an ID + Part/Number. I am submitting allowing overwrite previous file. However, the Part/Number needs to change once the form has been submitted and therefore the Name will also change. On submit, the event is creating a new updated form in my SharePoint Library, which is good. But the old form with the previous Name is still there. So I want to delete that previous form after creating the new one. &lt;/p&gt;
&lt;p&gt; So basically I am asking for help on how to delete an item in my Sharepoint Library which is triggered by an event in my Infopath form. I read this: &lt;a href="http://www.infopathdev.com/blogs/agni/archive/2006/03/12/Delete-File-from-SharePoint.aspx"&gt;here&lt;/a&gt; but that solution involve coding. I don&amp;#39;t have tools available to coding. So I am looking for a codeless solution for this problem. Anyone please help... I would appreciate any suggestion!! &lt;/p&gt;</description></item></channel></rss>