<?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: Save offline then submit to SharePoint?</title><link>https://www.infopathdev.com:443/forums/thread/50114.aspx</link><pubDate>Tue, 22 Dec 2009 12:58:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50114</guid><dc:creator>Irianna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50114.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50114</wfw:commentRss><description>&lt;p&gt;Thanks alot thats worked a treat,&lt;/p&gt;
&lt;p&gt;Now there is a problem with Digital Sigs and Trusted forms as it wants to edit files on the local PC&lt;/p&gt;</description></item><item><title>Re: Save offline then submit to SharePoint?</title><link>https://www.infopathdev.com:443/forums/thread/50112.aspx</link><pubDate>Tue, 22 Dec 2009 11:57:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50112</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50112.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50112</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;That code is for InfoPath 2003.&amp;nbsp; You can use it in InfoPath 2007 but you need to configure your form to use 2003 C# code in &lt;b&gt;Form Options&lt;/b&gt;.&amp;nbsp; You should also add the event handler by using the &lt;b&gt;Submit Options&lt;/b&gt; dialog.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Save offline then submit to SharePoint?</title><link>https://www.infopathdev.com:443/forums/thread/50111.aspx</link><pubDate>Tue, 22 Dec 2009 10:44:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50111</guid><dc:creator>Irianna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50111.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50111</wfw:commentRss><description>&lt;p&gt;Hi, &lt;br /&gt;&lt;br /&gt;I&amp;#39;ve found some code online that will do what i need with a submit, but its in InfoPath 2003, and Im using 2007.&lt;br /&gt;&lt;br /&gt;when I put the code in, its errors saying that&amp;nbsp; DocReturnEvent namespace couldnt be found.&lt;br /&gt;&lt;br /&gt;Is anyone able to help?&lt;br /&gt;&lt;br /&gt;The link to where I found this is here: &lt;a href="http://blogs.msdn.com/infopath/archive/2004/03/17/91313.aspx"&gt;&lt;font color="#0066dd"&gt;http://blogs.msdn.com/infopath/archive/2004/03/17/91313.aspx&lt;/font&gt;&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The code is:&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:blue;"&gt;public&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;void&lt;/span&gt; OnSubmitRequest(DocReturnEvent e)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&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; &lt;span style="COLOR:blue;"&gt;if&lt;/span&gt; (thisApplication.MachineOnlineState == XdMachineOnlineState.Online)&lt;br /&gt;&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; {&lt;br /&gt;&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; &lt;span style="COLOR:green;"&gt;// submit to Sharepoint using DAVAdapter&lt;/span&gt;&lt;br /&gt;&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; (thisXDocument.DataAdapters[&lt;span style="COLOR:#a31515;"&gt;&amp;quot;Submit to Sharepoint&amp;quot;&lt;/span&gt;] &lt;span style="COLOR:blue;"&gt;as&lt;/span&gt; DAVAdapter).Submit();&lt;br /&gt;&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; }&lt;br /&gt;&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; &lt;span style="COLOR:blue;"&gt;else&lt;/span&gt;&lt;br /&gt;&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; {&lt;br /&gt;&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; &lt;span style="COLOR:green;"&gt;// We are offline or working offline.&lt;/span&gt;&lt;br /&gt;&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; XmlDocument oDOM = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; XmlDocument();&lt;br /&gt;&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; Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMDocument oWrappedDOM = thisXDocument.DOM;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&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; oDOM.PreserveWhitespace = &lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;;&lt;br /&gt;&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; oDOM.LoadXml(oWrappedDOM.xml);&lt;br /&gt;&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; oDOM.Save(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;C:\\Submit\\Form_&amp;quot;&lt;/span&gt;&lt;br /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + DateTime.Now.ToString(&lt;span style="COLOR:#a31515;"&gt;&amp;quot;yyyy.MM.dd_HH.mm.ss.ff&amp;quot;&lt;/span&gt;) + &lt;span style="COLOR:#a31515;"&gt;&amp;quot;.xml&amp;quot;&lt;/span&gt;);&lt;br /&gt;&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; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&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; e.ReturnStatus = &lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in Advance, &lt;/p&gt;
&lt;p&gt;Iri&lt;/p&gt;</description></item><item><title>Re: Save offline then submit to SharePoint?</title><link>https://www.infopathdev.com:443/forums/thread/50009.aspx</link><pubDate>Thu, 17 Dec 2009 10:44:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50009</guid><dc:creator>Irianna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50009.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50009</wfw:commentRss><description>&lt;p&gt;Sounds just like what i need.&lt;/p&gt;
&lt;p&gt;Never done one of those before, got any help / guidance you can offer?&lt;br /&gt;&lt;br /&gt;Thanks, Iri&lt;/p&gt;</description></item><item><title>Re: Save offline then submit to SharePoint?</title><link>https://www.infopathdev.com:443/forums/thread/49995.aspx</link><pubDate>Thu, 17 Dec 2009 06:55:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49995</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49995.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49995</wfw:commentRss><description>&lt;p&gt;there is no out of box solution for this. but you can definetly create an extra utility for this. the utility needs to be TSR type (terminate and stay resident) if you want no manual interaction with it.&lt;/p&gt;
&lt;p&gt;when a user tries to submit the form and he is offline. create an entry (file location) in some file. &lt;/p&gt;
&lt;p&gt;when user comes online, your TSR program, will execute and get entries from the file, and user interop open the file and submit it.&lt;/p&gt;</description></item><item><title>Re: Save offline then submit to SharePoint?</title><link>https://www.infopathdev.com:443/forums/thread/49953.aspx</link><pubDate>Wed, 16 Dec 2009 10:53:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49953</guid><dc:creator>Irianna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49953.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49953</wfw:commentRss><description>&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;email is a great&amp;nbsp;idea, unfortunatly with the ammount of forms that im expecting i&amp;nbsp;need an automatic way of submission to the document library&lt;/p&gt;</description></item><item><title>Re: Save offline then submit to SharePoint?</title><link>https://www.infopathdev.com:443/forums/thread/49902.aspx</link><pubDate>Mon, 14 Dec 2009 13:56:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49902</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49902.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49902</wfw:commentRss><description>&lt;p&gt;The only thing I can think of is doing an email solution, which gets later uploaded to SharePoint. For details, &lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2009/05/19/using-e-mail-forms-to-communicate-with-external-users.aspx"&gt;read this&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Otherwise, just have users go to File &amp;gt; Save when they are offline, and have a SUBMIT button for when they are online. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Save offline then submit to SharePoint?</title><link>https://www.infopathdev.com:443/forums/thread/49899.aspx</link><pubDate>Mon, 14 Dec 2009 09:51:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49899</guid><dc:creator>Irianna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49899.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49899</wfw:commentRss><description>&lt;p&gt;Hello folks, &lt;/p&gt;
&lt;p&gt;I&amp;#39;ve got a form currently set up which i need to let users fill in offline, where multipul users will fill in the form numerus times, and then when the laptop is put back online it submits the data of the forms to a SharePoint list.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve created the form, but i&amp;#39;m a little stuck on getting it to submit offline and then submit to SharePoint after.&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Many thanks in advance, &lt;/p&gt;
&lt;p&gt;Iri&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>