<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: File attachment in infopath</title><link>https://www.infopathdev.com:443/forums/thread/47704.aspx</link><pubDate>Thu, 08 Oct 2009 11:44:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47704</guid><dc:creator>Svetoslav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47704.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=47704</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;hello swathip&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;very nice&amp;nbsp;post. I need a bit help for my problem. I have a similar case, where I want to upload files in&amp;nbsp;a SharePoint libary.&amp;nbsp;Your technique seems very good but I would&amp;nbsp;like to ask you, is it possible to be done in JScript and IP2003, and what would be . Another thing is if it&amp;nbsp;is possible to be done&amp;nbsp;even without attaching&amp;nbsp;the file to the form and&amp;nbsp;then uploading to SP(just like you did, which&amp;nbsp;is also fine).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank You, &lt;/p&gt;
&lt;p&gt;Svetoslav&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Re: File attachment in infopath</title><link>https://www.infopathdev.com:443/forums/thread/35685.aspx</link><pubDate>Thu, 11 Dec 2008 16:27:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35685</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35685.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=35685</wfw:commentRss><description>&lt;p&gt;We&amp;#39;ve updated the instructions for this download -- hopefully it will be easier for you to try now: &lt;a href="http://www.infopathdev.com/files/folders/examples/entry29401.aspx"&gt;http://www.infopathdev.com/files/folders/examples/entry29401.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: File attachment in infopath</title><link>https://www.infopathdev.com:443/forums/thread/35594.aspx</link><pubDate>Wed, 10 Dec 2008 11:23:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35594</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35594.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=35594</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Use the following script code to submit the attachment to the document library.&lt;/p&gt;
&lt;p&gt;attachmentNode = thisXDocument.DOM.selectSingleNode(&amp;quot;xpath of the attachment control&amp;quot;).text;&lt;/p&gt;
&lt;p&gt;var data = DecodeAttachment(attachmentNode.text); //decode the attachment text and send that in to data variable.&lt;/p&gt;
&lt;p&gt;try&lt;/p&gt;
&lt;p&gt;{ &lt;/p&gt;
&lt;p&gt;// create a xmlhttp object&lt;/p&gt;
&lt;p&gt;var oXmlHttp = new ActiveXObject(&amp;quot;MSXML2.XMLHTTP&amp;quot;); &lt;/p&gt;
&lt;p&gt;var url = &amp;quot;url of document library&amp;quot;;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;//put the document/attachment on SharePoint &lt;/p&gt;
&lt;p&gt;oXmlHttp.Open(&amp;quot;PUT&amp;quot;, url, false); &lt;/p&gt;
&lt;p&gt;oXmlHttp.Send(data);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: File attachment in infopath</title><link>https://www.infopathdev.com:443/forums/thread/35588.aspx</link><pubDate>Wed, 10 Dec 2008 10:37:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35588</guid><dc:creator>akash_waits</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35588.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=35588</wfw:commentRss><description>&lt;p&gt;Hi Anuma,&lt;/p&gt;
&lt;p&gt;This is not working. It is giving some object error. Any other idea to do that.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;Akash Kansal.&lt;/p&gt;</description></item><item><title>Re: File attachment in infopath</title><link>https://www.infopathdev.com:443/forums/thread/35586.aspx</link><pubDate>Wed, 10 Dec 2008 10:11:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35586</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35586.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=35586</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you verify below link. This solution shows how you can copy InfoPath attachments to SharePoint document library and convert the Base64 string attachment in your InfoPath form into a link to the uploaded SharePoint document&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/files/folders/examples/entry29401.aspx"&gt;http://www.infopathdev.com/files/folders/examples/entry29401.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: File attachment in infopath</title><link>https://www.infopathdev.com:443/forums/thread/35585.aspx</link><pubDate>Wed, 10 Dec 2008 09:37:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35585</guid><dc:creator>akash_waits</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35585.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=35585</wfw:commentRss><description>&lt;p&gt;Hi Madhuri,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is there not any OOB way of doing it?&amp;nbsp;If i used the code in that link file will also be present in the infopath file or not?&lt;/p&gt;
&lt;p&gt;And What is the meaning of client side coding in InfoPath?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Akash Kansal.&lt;/p&gt;</description></item><item><title>Re: File attachment in infopath</title><link>https://www.infopathdev.com:443/forums/thread/35583.aspx</link><pubDate>Wed, 10 Dec 2008 09:22:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35583</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35583.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=35583</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Look at this link this might be helpful.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://glorix.blogspot.com/2007/11/getting-infopath-attachments-from.html"&gt;http://glorix.blogspot.com/2007/11/getting-infopath-attachments-from.html&lt;/a&gt;&lt;/p&gt;</description></item><item><title>File attachment in infopath</title><link>https://www.infopathdev.com:443/forums/thread/35582.aspx</link><pubDate>Wed, 10 Dec 2008 09:11:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35582</guid><dc:creator>akash_waits</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35582.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=35582</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have created an Infopath form template using Infoath 2007. In this form, I have a file attachment control. My requirement is that whenever a file is attached to that control, then same file must be uploaded to the other document library. So, both infopath and the other library must have the attachment. Is there any OOB way to do it or we will have to code for that? And if later is the case, how to do that by code? &lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Akash Kansal&lt;/p&gt;</description></item></channel></rss>