<?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: Export Infopath Data to a txt file</title><link>https://www.infopathdev.com:443/forums/thread/49998.aspx</link><pubDate>Thu, 17 Dec 2009 07:08:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49998</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49998.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=49998</wfw:commentRss><description>&lt;p&gt;hi, &lt;/p&gt;
&lt;p&gt;i think you have a fairly&amp;nbsp;good idea of what you want to implement.&lt;/p&gt;
&lt;p&gt;i would recommend following steps &lt;/p&gt;
&lt;p&gt;1) generate the text file in infopath form itself. place all the contents in a single field and promote it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) create a utility that reads this field (use spobjects)&amp;nbsp;and stores it somewhere. the utitlity will need to run on server.&lt;/p&gt;
&lt;p&gt;that is all you need to do. It is little bit of coding i think &lt;/p&gt;</description></item><item><title>Export Infopath Data to a txt file</title><link>https://www.infopathdev.com:443/forums/thread/49945.aspx</link><pubDate>Tue, 15 Dec 2009 19:50:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49945</guid><dc:creator>ramii</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=49945</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have a&amp;nbsp; Timerjob that runs on a browser enabled FormLibrary &amp;amp; acts on all the documents in it. Timerjob should be able to output values in infopath(Full Trust, 2007 form) onto a txt file in some other location with a specific layout. I have written the timerjob that runs on FormLibrary. Now I need to get the data in the form exported to txt file.&lt;/p&gt;
&lt;p&gt;I was having basic steps in my mind&lt;/p&gt;
&lt;p&gt;(1)Generate Text file content ( from the infopath form, I was also be able to extract required fields data)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string TestBoxXpath = &amp;quot;/my:myFields/my:FormName/my:Name&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XPathNavigator TextBox = MainDataSource.CreateNavigator().SelectSingleNode(TestBoxXpath, NamespaceManager);&lt;/p&gt;
&lt;p&gt;(2)Access the file system, where the txt file to be stored.&lt;br /&gt;(3)Add contents to txt file, save &amp;amp; Close.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; //System.IO;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextWriter tw = new StreamWriter(&amp;quot;date.txt&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tw.WriteLine(TextBox.Value);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tw.Close();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I had all these basic things in my mind. Can anyone suggest me how to work with these in overall. Any link where I can get info at. I really appreciate your time.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Ramii&lt;/p&gt;</description></item></channel></rss>