<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Change Save As Filename from VSTA</title><link>https://www.infopathdev.com:443/forums/thread/32719.aspx</link><pubDate>Thu, 02 Oct 2008 07:18:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32719</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32719.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=32719</wfw:commentRss><description>&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;HI,&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;Can you use following function: &lt;span style="COLOR:blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:Verdana;"&gt;this&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;.&lt;strong&gt;SetSaveAsDialogFilename&lt;/strong&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;Status Report.xml&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;instead of &lt;/span&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="FONT-FAMILY:Verdana;"&gt;XDocument.UI.SetSaveAsDialogFileName(&amp;quot;Status Report.xml&amp;quot;);&lt;/span&gt;&lt;/code&gt;&lt;span style="FONT-FAMILY:Verdana;"&gt;&lt;/span&gt;&lt;/pre&gt;</description></item><item><title>Change Save As Filename from VSTA</title><link>https://www.infopathdev.com:443/forums/thread/32657.aspx</link><pubDate>Tue, 30 Sep 2008 14:56:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32657</guid><dc:creator>i_kotev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32657.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=32657</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m new to infopath forms, so, i have one question (maybe silly, but for a beginner like me ... ) .&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a form designed and published to Sharepoint Forms. I managed how to pass a parameter and auto fill some of the fields. My last issue is how to change the default filename for the XML file?&lt;/p&gt;
&lt;p&gt;My research always hits the &lt;br /&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;XDocument.UI.&lt;b class="bterm"&gt;SetSaveAsDialogFileName&lt;/b&gt;(&amp;quot;Status Report.xml&amp;quot;);&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;function, but as i understand this function is not available for &amp;quot;web enabled&amp;quot; forms, and i do not have access to this &lt;code&gt;XDocument&lt;/code&gt; variable.&lt;/p&gt;
&lt;p&gt;Also it is a solution for me to disable the default save as/ save buttons and to create a custom one, which will save the xml on the server, so I can display the data later.&lt;br /&gt;But in this case what will be the code to save the currently entered data?&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>