<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Deleting Attachment from Infopath and Sharepoint List.</title><link>https://www.infopathdev.com:443/forums/thread/89422.aspx</link><pubDate>Thu, 02 May 2013 10:14:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89422</guid><dc:creator>Ravik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89422.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=89422</wfw:commentRss><description>Hi Hilary,

Sorry for the late reply. Managed to get it working now using your method.

Many thanks

Can you please help me with the following issue please.

what im trying to do here is copy a repeating table using InsertAfter method. The problem im having is every time i click on the copy button, a new repeating appear on the top than in the bottom, it pushes the existing one down and the new one takes it place on the top.. how to i get them in sequence?

please see the attached code for reference.

Thanks for you patience.</description></item><item><title>Re: Deleting Attachment from Infopath and Sharepoint List.</title><link>https://www.infopathdev.com:443/forums/thread/89401.aspx</link><pubDate>Wed, 01 May 2013 15:19:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89401</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89401.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=89401</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So - is this a List form? Or do you have some custom code or functionality writing to another list? &lt;/p&gt;</description></item><item><title>Re: Deleting Attachment from Infopath and Sharepoint List.</title><link>https://www.infopathdev.com:443/forums/thread/89399.aspx</link><pubDate>Wed, 01 May 2013 14:50:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89399</guid><dc:creator>Ravik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89399.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=89399</wfw:commentRss><description>Hi Hilary,

Thanks for getting back to me. Basically all i wanted is as soon the user triggers the delete button the attachment field should become clear and at the same time the uploaded attachment should be deleted off from the SharePoint  list .

I do have the ID and URL of the attachment.</description></item><item><title>Re: Deleting Attachment from Infopath and Sharepoint List.</title><link>https://www.infopathdev.com:443/forums/thread/89398.aspx</link><pubDate>Wed, 01 May 2013 14:21:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89398</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89398.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=89398</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi - to delete an attachment in an InfoPath form, you shouldn&amp;#39;t need code - your button can just set the attachment field to blank. As to deleting the same file from a SharePoint list - what information do you have about the list item in the form? Do you know the ID, or the URL of the attachment? I use the &lt;a href="http://msdn.microsoft.com/en-us/library/lists.lists.deleteattachment(v=office.12).aspx"&gt;DeleteAttachment&lt;/a&gt; Lists web service method&amp;nbsp;to do this without code, but it requires knowing the URL of the attachment and the list item ID.&lt;/p&gt;</description></item><item><title>Deleting Attachment from Infopath and Sharepoint List.</title><link>https://www.infopathdev.com:443/forums/thread/89390.aspx</link><pubDate>Wed, 01 May 2013 10:36:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89390</guid><dc:creator>Ravik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89390.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=89390</wfw:commentRss><description>Hi there,

Can anyone please guide me how to delete an attachment from infopath by using delete button at the same time the attachment should be deleted from the sharepoint list too. how to get this done using C#.

Im fairly new to C#. Any help would be greatly appreciated

Many Thanks.</description></item></channel></rss>