<?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: Saving the form without submit</title><link>https://www.infopathdev.com:443/forums/thread/75679.aspx</link><pubDate>Thu, 23 Feb 2012 22:17:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75679</guid><dc:creator>ramat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75679.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75679</wfw:commentRss><description>&lt;p&gt;&lt;font color="#2b91af"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#2b91af"&gt;Save the file as &amp;quot;xxx.xml&amp;quot; instead &amp;quot;xxx.xsn&amp;quot;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Saving the form without submit</title><link>https://www.infopathdev.com:443/forums/thread/31784.aspx</link><pubDate>Thu, 28 Aug 2008 08:04:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31784</guid><dc:creator>remeto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31784</wfw:commentRss><description>&lt;p&gt;When i save the form with the code i wrote above i can&amp;#39;t open the InfoPath Form in Browser. But if i save it with submitting(FileSubmitConnection) i can. So i check out if i can submit the form without validation. And here is the bloody tricky way to do that...&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/infopath/archive/2006/10/09/Do-it-anyway_3A00_-Submitting-with-Data-Validation-errors.aspx"&gt;http://blogs.msdn.com/infopath/archive/2006/10/09/Do-it-anyway_3A00_-Submitting-with-Data-Validation-errors.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope this thread helps someone someday...&lt;/p&gt;</description></item><item><title>Re: Saving the form without submit</title><link>https://www.infopathdev.com:443/forums/thread/31754.aspx</link><pubDate>Wed, 27 Aug 2008 15:44:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31754</guid><dc:creator>remeto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31754</wfw:commentRss><description>&lt;p&gt;I&amp;nbsp;solved the problem&amp;nbsp;by turning off the &amp;quot;Web Page Security Validation&amp;quot;. Any other ways to do it?&lt;/p&gt;</description></item><item><title>Re: Saving the form without submit</title><link>https://www.infopathdev.com:443/forums/thread/31752.aspx</link><pubDate>Wed, 27 Aug 2008 14:57:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31752</guid><dc:creator>remeto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31752.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31752</wfw:commentRss><description>&lt;p&gt;No MVP around ?&lt;/p&gt;</description></item><item><title>Re: Saving the form without submit</title><link>https://www.infopathdev.com:443/forums/thread/31751.aspx</link><pubDate>Wed, 27 Aug 2008 14:57:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31751</guid><dc:creator>remeto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31751.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31751</wfw:commentRss><description>&lt;font color="#2b91af" size="2"&gt;I tried this,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;SPWeb&lt;/font&gt;&lt;font size="2"&gt; web = &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;SPContext&lt;/font&gt;&lt;font size="2"&gt;.Current.Web;&lt;br /&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;SPListCollection&lt;/font&gt;&lt;font size="2"&gt; collLists = web.Lists;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;byte&lt;/font&gt;&lt;font size="2"&gt;[] fileBytes = &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Encoding&lt;/font&gt;&lt;font size="2"&gt;.ASCII.GetBytes(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.MainDataSource.CreateNavigator().OuterXml);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;foreach&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;SPList&lt;/font&gt;&lt;font size="2"&gt; oList &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;in&lt;/font&gt;&lt;font size="2"&gt; collLists)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;if&lt;/font&gt;&lt;font size="2"&gt; (oList.BaseType == &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;SPBaseType&lt;/font&gt;&lt;font size="2"&gt;.DocumentLibrary)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&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; SPDocumentLibrary&lt;/font&gt;&lt;font size="2"&gt; oDocumentLibrary = (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;SPDocumentLibrary&lt;/font&gt;&lt;font size="2"&gt;)oList;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&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; if&lt;/font&gt;&lt;font size="2"&gt; (oDocumentLibrary.Title == &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Application Template Forms&amp;quot;&lt;/font&gt;&lt;font size="2"&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; {&lt;br /&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&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; SPFile&lt;/font&gt;&lt;font size="2"&gt; myFile = oDocumentLibrary.RootFolder.Files.Add(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;xxx.xsn&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, fileBytes, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&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; myFile.Update();&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&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; break&lt;/font&gt;&lt;font size="2"&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; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;but it gives this error (my form is full trusted and signed digitally);&lt;font size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;quot;The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again. &lt;br /&gt;&lt;br /&gt;Microsoft.SharePoint.SPException: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again. ---&amp;gt; System.Runtime.InteropServices.COMException (0x8102006D): The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again. &lt;br /&gt;at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, UInt32&amp;amp; pdwVirusCheckStatus, String&amp;amp; pVirusCheckMessage) &lt;br /&gt;at Microsoft.SharePoint.Library.SPRequest.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, UInt32&amp;amp; pdwVirusCheckStatus, String&amp;amp; pVirusCheckMessage) &lt;br /&gt;--- End of inner exception stack trace --- &lt;br /&gt;at Microsoft.SharePoint.Library.SPRequest.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, UInt32&amp;amp; pdwVirusCheckStatus, String&amp;amp; pVirusCheckMessage) &lt;br /&gt;at Microsoft.SharePoint.SPFileCollection.AddInternal(String urlOfFile, Object file, PutFileOpt fileOpt, String createdBy, String modifiedBy, Int32 createdByID, Int32 modifiedByID, DateTime timeCreated, DateTime timeLastModified, Object varProperties, String checkInComment, SPVirusCheckStatus&amp;amp; virusCheckStatus, String&amp;amp; virusCheckMessage) &lt;br /&gt;at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite, String checkInComment, Boolean checkRequiredFields, SPVirusCheckStatus&amp;amp; virusCheckStatus, String&amp;amp; virusCheckMessage) &lt;br /&gt;at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite, String checkInComment, Boolean checkRequiredFields) &lt;br /&gt;at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite) &lt;br /&gt;at Fullapp_Formu_v5.FormCode.CTRL5_54_Clicked(Object sender, ClickedEventArgs e) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.SolutionLifetime.ButtonEventHost.&amp;lt;&amp;gt;c__DisplayClass6.&amp;lt;&amp;gt;c__DisplayClassa.&amp;lt;add_Clicked&amp;gt;b__3() &lt;br /&gt;at Microsoft.Office.InfoPath.Server.Util.DocumentReliability.InvokeBusinessLogic(Thunk thunk) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.SolutionLifetime.ButtonEventHost.&amp;lt;&amp;gt;c__DisplayClass6.&amp;lt;add_Clicked&amp;gt;b__2(Object sender, ClickedEventArgs e) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.SolutionLifetime.ButtonEventHost.FireClickedEvent(Object sender, ClickedEventArgs args) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.SolutionLifetime.ButtonFormCode.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;&amp;gt;c__DisplayClass5.&amp;lt;Click&amp;gt;b__1() &lt;br /&gt;at Microsoft.Office.InfoPath.Server.DocumentLifetime.OMExceptionManager.CallFormCodeWithExceptionHandling(UserMessages userMessages, OMCall d)&lt;br /&gt;&lt;br /&gt;An entry has been added to the Windows event log of the server. &lt;br /&gt;&lt;span class="ErrorPageEmphasisText"&gt;Log ID:&lt;/span&gt;&lt;span&gt;5337&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Saving the form without submit</title><link>https://www.infopathdev.com:443/forums/thread/31750.aspx</link><pubDate>Wed, 27 Aug 2008 14:21:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31750</guid><dc:creator>remeto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31750.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31750</wfw:commentRss><description>&lt;p&gt;Hello , &lt;/p&gt;
&lt;p&gt;is there a way to save a &amp;quot;browser enabled infopath form&amp;quot; to&amp;nbsp;a &amp;quot;sharepoint document library&amp;quot; without submiting it. I don&amp;#39;t wanto to submit it beacuse there are controls that have validation checks. But i don&amp;#39;t want to check validation, just i wanto to save it&amp;nbsp;.&amp;nbsp;I found &lt;a class="" href="http://blogs.msdn.com/infopath/archive/2006/11/08/submitting-to-this-document-library.aspx" target="_blank"&gt;this&lt;/a&gt; walkthrough but it submits the form so validation check occurs.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for your help...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;remeto&lt;/p&gt;</description></item></channel></rss>