<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: File uploader control</title><link>https://www.infopathdev.com:443/forums/thread/70566.aspx</link><pubDate>Fri, 23 Sep 2011 11:39:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70566</guid><dc:creator>SteveJones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70566.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=70566</wfw:commentRss><description>&lt;p&gt;Hi Patrick,&lt;/p&gt;
&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m working on a project that uses browser based infopath 2010 forms with dot net code behind to interact with SAP web services. As such the form data is submitted to SAP rather than saved in a form library, so there is no XML instance. One of the capabilities needed on the form is to allow the initator to add files to be uploaded to a Sharepoint 2010 Document library (in a specific folder). I was able to do this using the openfile common dialog box like you can do in an ASPX form, but I&amp;#39;ve discovered that this is not compatible with Infopath browser based forms. I&amp;#39;m pretty sure that the fileupload ASPX control wouldn&amp;#39;t be compatible either.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m pretty close to&amp;nbsp;success after some work late yesterday afternoon. I&amp;nbsp;used the file attachment control in a repeating table, but then on the submit button I loop thru the nodes and extract the filename and the bytes, then added a reference to and use the sharepoint object model to do the upload. I have a little work left to do to smooth it out, but this will probably be my best shot at achieving my goal.&lt;/p&gt;
&lt;p&gt;However, if there is a way to add the fileUpload aspx control to the infopath form and it be web form compatible, I would prefer this since it would not limit the file size to 4m.&lt;/p&gt;</description></item><item><title>Re: File uploader control</title><link>https://www.infopathdev.com:443/forums/thread/70559.aspx</link><pubDate>Fri, 23 Sep 2011 06:10:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70559</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70559.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=70559</wfw:commentRss><description>&lt;p&gt;Hi Steve,&lt;/p&gt;&lt;p&gt;What are you trying to do? We can upload file attachments. We have XTPs to handle that but it requires qRules (i.e. our common code library). &lt;/p&gt;&lt;p&gt;Possibly, you mean you want to save the XML as a binary object or XML column into a SQL database table. We have a Web service that will do that too. Give us a testimonial, and we&amp;#39;ll make it worth your while. :)&lt;/p&gt;&lt;p&gt;Thanks for being a loyal InfoPathDev dude!&lt;/p&gt;&lt;p&gt;:)&lt;/p&gt;</description></item><item><title>Re: File uploader control</title><link>https://www.infopathdev.com:443/forums/thread/70545.aspx</link><pubDate>Thu, 22 Sep 2011 17:56:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70545</guid><dc:creator>SteveJones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70545.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=70545</wfw:commentRss><description>&lt;p&gt;How can I add a file uploader control to infopath?&lt;/p&gt;</description></item><item><title>Re: File uploader control</title><link>https://www.infopathdev.com:443/forums/thread/45525.aspx</link><pubDate>Thu, 06 Aug 2009 14:50:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45525</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45525.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45525</wfw:commentRss><description>&lt;p&gt;You could try manually modifying the .xsd for the web service data connection. Save your form as source files (&lt;strong&gt;make a backup copy first!&lt;/strong&gt;) and open the correct .xsd for your web service data connection (usually the one with the highest number in the name) in a text editor. Find the definition for the field in question:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;xsd:element name=&amp;quot;fileFieldName&amp;quot; type=&amp;quot;string&amp;quot;/&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;And change the data type from string to base64:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;xsd:element name=&amp;quot;fileFieldName&amp;quot; nillable=&amp;quot;true&amp;quot; type=&amp;quot;xsd:base64Binary&amp;quot;/&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Save your changes, close the file, right click manifest.xsf in your source files and select &lt;strong&gt;Design&lt;/strong&gt;. I&amp;#39;ve changed data types this way before for secondary data connections from web services to be able to use a picture control for a base64 string.&lt;/p&gt;</description></item><item><title>Re: File uploader control</title><link>https://www.infopathdev.com:443/forums/thread/45508.aspx</link><pubDate>Thu, 06 Aug 2009 04:14:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45508</guid><dc:creator>maheswaran</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45508.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45508</wfw:commentRss><description>that option is not available</description></item><item><title>Re: File uploader control</title><link>https://www.infopathdev.com:443/forums/thread/45494.aspx</link><pubDate>Wed, 05 Aug 2009 23:47:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45494</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45494.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45494</wfw:commentRss><description>&lt;p&gt;Drag it over anyway (as a text control, for example) and then right click and try to change the control.&lt;/p&gt;</description></item><item><title>File uploader control</title><link>https://www.infopathdev.com:443/forums/thread/45313.aspx</link><pubDate>Mon, 03 Aug 2009 06:34:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45313</guid><dc:creator>maheswaran</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45313.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45313</wfw:commentRss><description>&lt;p&gt;I have a browser enabled infopath form which has a file uploder control. I have a web service which saves the binary value of the file into the database.&lt;/p&gt;
&lt;p&gt;I want to show the binary values(files) saved in the database previously in a repeating table in infopath when the form is opened each time. I created a data connection which will return the uploaded values. but when i drag that on to design area and try to convert the control into a file uploader there is no option for that particular control.&lt;/p&gt;
&lt;p&gt;how do i acheive this&lt;/p&gt;</description></item></channel></rss>