<?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</title><link>https://www.infopathdev.com:443/forums/thread/28997.aspx</link><pubDate>Wed, 28 May 2008 17:33:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28997</guid><dc:creator>Albert</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28997.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=28997</wfw:commentRss><description>&lt;p&gt;Using jscript you could do something like this, use :&lt;/p&gt;
&lt;p&gt;function XDocument::OnSaveRequest(eventObj)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;try&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;//XDocument.UI.SetSaveAsDialogLocation(&amp;quot;&lt;a&gt;\\my\form\directory&lt;/a&gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;XDocument.UI.SetSaveAsDialogFileName(&amp;quot;myForm&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;eventObj.IsCancelled = eventObj.PerformSaveOperation();&lt;br /&gt;&amp;nbsp;&amp;nbsp;eventObj.ReturnStatus = true;&lt;br /&gt;&amp;nbsp;}&amp;nbsp;&lt;br /&gt;&amp;nbsp;catch(e)&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;XDocument.UI.Alert(&amp;quot;Error at OnSaveRequest: &amp;quot; + e.message);&lt;br /&gt;&amp;nbsp;&amp;nbsp;eventObj.ReturnStatus = false;&lt;br /&gt;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: SaveAs</title><link>https://www.infopathdev.com:443/forums/thread/28989.aspx</link><pubDate>Wed, 28 May 2008 15:27:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28989</guid><dc:creator>mightytook</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=28989</wfw:commentRss><description>&lt;p&gt;I have a little bit of a different problem.&lt;/p&gt;
&lt;p&gt;We have multiple Form Libraries that are using the same form template (when a change is made, the form is published out to multiple form libraries ... one library in each region&amp;#39;s SP site). Everything looks to work okay, but the filenaming conventions are inconsistent. Since there&amp;#39;s multiple locations where the file is saved, I would like to determine the filename, but not really worry about the file location ... The users are trained to go to the Form Library and click New, fill out the form, and then click Save so they can deal with that. I can&amp;#39;t figure out how to do this through the data connections to say &amp;quot;wherever you want to save it is fine, but how about using this filename&amp;quot;. My preference is to just have the File Save dialog box appears (as by default it has the correct location) and override the Name field with a default value. Ideas? &lt;/p&gt;</description></item><item><title>Re: SaveAs</title><link>https://www.infopathdev.com:443/forums/thread/26373.aspx</link><pubDate>Mon, 11 Feb 2008 21:18:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26373</guid><dc:creator>marpa1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26373.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26373</wfw:commentRss><description>&lt;p&gt;Please help someone.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: SaveAs</title><link>https://www.infopathdev.com:443/forums/thread/26129.aspx</link><pubDate>Thu, 31 Jan 2008 19:41:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26129</guid><dc:creator>marpa1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26129</wfw:commentRss><description>&lt;p&gt;Could you give me some directions on how to do that. Thanks for all your help.&lt;/p&gt;</description></item><item><title>Re: SaveAs</title><link>https://www.infopathdev.com:443/forums/thread/26125.aspx</link><pubDate>Thu, 31 Jan 2008 18:49:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26125</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26125.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26125</wfw:commentRss><description>&lt;p&gt;Exactly, that is why you should setup a submit data connection.&amp;nbsp; Set the location (network folder - so everyone knows where to look) or maybe My Documents)&amp;nbsp;and construct a filenaming scheme.&amp;nbsp; Maybe concat(managername, &amp;quot;-&amp;quot; date) or something like that. They click save and they are done.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: SaveAs</title><link>https://www.infopathdev.com:443/forums/thread/26113.aspx</link><pubDate>Thu, 31 Jan 2008 13:36:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26113</guid><dc:creator>marpa1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26113</wfw:commentRss><description>&lt;p&gt;The form is an evaluation for all the managers. They will be saving them in there user folders. Some of them are not the brightest when it comes to computers. So what i want to do is have them click a button that will open the SaveAs dialog box. Thanks for the help.&lt;/p&gt;</description></item><item><title>Re: SaveAs</title><link>https://www.infopathdev.com:443/forums/thread/26092.aspx</link><pubDate>Wed, 30 Jan 2008 22:57:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26092</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26092.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26092</wfw:commentRss><description>&lt;p&gt;Welcome.&lt;/p&gt;
&lt;p&gt;If you want a true Save As then the user can use the toolbar or you could potentially trigger the standard Save As from code.&lt;/p&gt;
&lt;p&gt;You may mean how do you have a button save the form and give it a specific name?&lt;/p&gt;
&lt;p&gt;Standard practice is to use a submit data connection to either SharePoint or a file share and then create a standardized file naming scheme by concatenating fields from the form. This makes sure the forms are always stored in the right location and with the standard name and the user just clicks save.&lt;/p&gt;</description></item><item><title>SaveAs</title><link>https://www.infopathdev.com:443/forums/thread/26091.aspx</link><pubDate>Wed, 30 Jan 2008 21:47:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26091</guid><dc:creator>marpa1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26091.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26091</wfw:commentRss><description>&lt;p&gt;I am new to this site and InfoPath. This is my problem i&amp;nbsp;want to add&amp;nbsp;a button on&amp;nbsp;a form and when clicked it needs to do a SaveAs. Any help wolud be great. Thanks &lt;/p&gt;</description></item></channel></rss>