<?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: edit attachment</title><link>https://www.infopathdev.com:443/forums/thread/48410.aspx</link><pubDate>Fri, 30 Oct 2009 14:11:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48410</guid><dc:creator>chris leate</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48410.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=48410</wfw:commentRss><description>&lt;p&gt;Well now I feel daft&lt;/p&gt;</description></item><item><title>Re: edit attachment</title><link>https://www.infopathdev.com:443/forums/thread/48393.aspx</link><pubDate>Fri, 30 Oct 2009 11:25:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48393</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48393.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=48393</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m pretty sure you don&amp;#39;t need to use code to prevent people from using large attachments.&amp;nbsp; The XPath formula &lt;b&gt;string-length(&lt;/b&gt;&lt;i&gt;&lt;u&gt;&lt;b&gt;path to attachment field&lt;/b&gt;&lt;/u&gt;&lt;/i&gt;&lt;b&gt;)&lt;/b&gt; will give you the size of the file (in base64 format; this is about 4/3 the original size of the file in bytes).&amp;nbsp; And you can use validation or rules to prevent the submit if the file is too large.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: edit attachment</title><link>https://www.infopathdev.com:443/forums/thread/48392.aspx</link><pubDate>Fri, 30 Oct 2009 10:26:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48392</guid><dc:creator>chris leate</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48392.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=48392</wfw:commentRss><description>&lt;p&gt;Hi &lt;strong&gt;Svetoslav,&lt;/strong&gt;&lt;br /&gt;I&amp;#39;ve written something in c# which prevents people from uploading large files you&amp;#39;ll need to sign your code if you use c#, the guy before me here used jscript but I struggled to find a solution. There is a good post on MS with 2 classes here http://support.microsoft.com/kb/892730 you are trying to do more or less the same as me I think but this is a good start point. If you do decide to use jscript then you&amp;#39;ll need to use a 32 bit filestream on the validating code of your form code behind.&lt;/p&gt;&lt;p&gt;Hope this has been useful.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Chris &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: edit attachment</title><link>https://www.infopathdev.com:443/forums/thread/48391.aspx</link><pubDate>Fri, 30 Oct 2009 10:15:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48391</guid><dc:creator>chris leate</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48391.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=48391</wfw:commentRss><description>&lt;p&gt;Hi Patrick,&lt;br /&gt;I&amp;#39;m looking at how to do this too. When you say use links instead do you mean to a file share or library within sharepoint? I was thinking of writing a c# webpart that took attachments and effectively uploaded them to a library so that I can get a list of the files in InfoPath. Is there an easier way of doing this without using a custom webpart? Ideally I&amp;#39;d like to be able to click on attachments and using office 2007 I&amp;#39;d like the user to be able to click save directly to a sharepoint library.&lt;/p&gt;&lt;p&gt;Is this a good way of doing things. My idea was that I&amp;#39;d need to modify the aspx file generated in the workflow. I&amp;#39;m fairly new to this stuff but finding it all quite interesting.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Also, would anyone be interested in this code if I actually do this?&lt;/p&gt;&lt;p&gt;Thanks Patrick&lt;/p&gt;&lt;p&gt;Nice forum BTW. Keeps popping up in my search results.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: edit attachment</title><link>https://www.infopathdev.com:443/forums/thread/47589.aspx</link><pubDate>Mon, 05 Oct 2009 12:52:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47589</guid><dc:creator>Svetoslav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47589.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47589</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hi all, I have a similar question related to data attachments in a form. Currently I am using the normal upload function of the infopath form, where the user attaches a file to the form. My form is sharepoint based and users, despite the notes inside the form keep uploading 20MB files, which reduce the speed of submitting and opening the form&amp;nbsp; with minutes! It is terrible. So I have to figure out a solution for this problem. I have an Idea of exporting all the attachments into another forms (containers), which will be also placed in sharepoint. Then with a repeating table I will extract all the links to the container forms, which is related to the main form. Thus I will reduce the&amp;nbsp;mail form&amp;#39;s size drastically and increase the speed, but on the other hand if a user wants to&amp;nbsp;see the&amp;nbsp;attachment, he has to use the link&amp;nbsp;to the 2nd container&amp;nbsp;form and to wait again to be opened. It&amp;nbsp;is&amp;nbsp;one solution. However I would like more practical solution but I do not think that it is possible -&amp;nbsp;a simple upload in SharePoint&amp;nbsp;as a part of a list&amp;nbsp;with&amp;nbsp;attachments, and a link to this attachment &amp;nbsp;. Is it&amp;nbsp;possible to be done&amp;nbsp;using JScript and&amp;nbsp;.xls and .pdf files to be uploaded in SP&amp;nbsp;inside a list ? &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: edit attachment</title><link>https://www.infopathdev.com:443/forums/thread/18447.aspx</link><pubDate>Mon, 28 Nov 2005 22:35:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18447</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18447.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18447</wfw:commentRss><description>Hi Mipe,&lt;br /&gt;Correct, this is a limitation. My suggestion would be to add some guidance text (static label) to the form to tell people what to do. The other possibility is to use links instead of inline attachments (this will actuall reduce the size of your XML forms too).&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>edit attachment</title><link>https://www.infopathdev.com:443/forums/thread/18423.aspx</link><pubDate>Mon, 21 Nov 2005 12:10:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18423</guid><dc:creator>mipe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18423.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18423</wfw:commentRss><description>I have created a simple form in InfoPath with a file attachment control.&lt;br /&gt;If the user attaches a Word document and later want to edit the same &lt;br /&gt;document, they will have to save it to disk and the replace the Word document &lt;br /&gt;on the form.&lt;br /&gt;&lt;br /&gt;Is it not possible to open a Word attachment from InfoPath, edit the &lt;br /&gt;document, and then save the document back to the form?&lt;br /&gt;&lt;br /&gt;Thanks in advance</description></item></channel></rss>