<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Saveas() method and browser-enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/46769.aspx</link><pubDate>Wed, 09 Sep 2009 12:03:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46769</guid><dc:creator>princevis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46769.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46769</wfw:commentRss><description>&lt;p&gt;Thanks Anis,i just meant to say that save cannot be done by code,as i know.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Saveas() method and browser-enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/46768.aspx</link><pubDate>Wed, 09 Sep 2009 11:58:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46768</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46768.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46768</wfw:commentRss><description>&lt;p&gt;hi vishal,&lt;/p&gt;
&lt;p&gt;there is difference between save and submit. on save validations dont fire and for submit validations fire and wont allow u to submit untill the datavalidations are fullfilled. so submit can never be a replacement for save untill u take care of it in the data validations&lt;/p&gt;</description></item><item><title>Re: Saveas() method and browser-enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/46765.aspx</link><pubDate>Wed, 09 Sep 2009 10:05:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46765</guid><dc:creator>princevis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46765.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46765</wfw:commentRss><description>&lt;p&gt;Save cannot be done by code as i now,u can anyways submit the Browser enabled form to a form library using&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;SPSecurity&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.RunWithElevatedPrivileges(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;delegate&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;()&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Submit();&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;});&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Saveas() method and browser-enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/46764.aspx</link><pubDate>Wed, 09 Sep 2009 09:52:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46764</guid><dc:creator>Stéphane.ch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46764.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46764</wfw:commentRss><description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;Thanks for your reply !&lt;/p&gt;
&lt;p&gt;Is there any workaround or solution to code such a solution ?&lt;/p&gt;</description></item><item><title>Re: Saveas() method and browser-enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/46317.aspx</link><pubDate>Thu, 27 Aug 2009 09:14:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46317</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46317.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46317</wfw:commentRss><description>&lt;p&gt;this.Saveas()&lt;/p&gt;
&lt;p&gt;is available for client forms, not for browser enabled forms. &lt;/p&gt;</description></item><item><title>Saveas() method and browser-enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/46088.aspx</link><pubDate>Thu, 20 Aug 2009 14:02:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46088</guid><dc:creator>Stéphane.ch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46088</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I code a &amp;#39;save as&amp;#39; option in my form so that forms are saved in the location they are, based on the &lt;font size="2"&gt;SaveLocation parameter used with browser enabled forms.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;It works fine from Infopath (can save in the right library), but when trying to test it from the browser I have an error : &amp;quot;An entry has been added to the Windows event log of the server. &lt;span class="ErrorPageEmphasisText"&gt;Log ID:&lt;/span&gt;&lt;span&gt;5337&amp;quot;.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;span&gt;Here is my code :&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; CTRL35_5_Clicked(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sender, &lt;/font&gt;&lt;font color="#008080" size="2"&gt;&lt;font color="#008080" size="2"&gt;ClickedEventArgs&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; e)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; fileurl = GetValueFromNode(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/my:mesChamps/my:Suivi_Formulaire/my:FileUrlPrevision&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;); &lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.SaveAs(fileurl);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; }&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;Is there anybody has got a clue how&amp;nbsp;to solve this issue ?&lt;/p&gt;
&lt;p&gt;Thx&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>