<?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: default file name.</title><link>https://www.infopathdev.com:443/forums/thread/6868.aspx</link><pubDate>Tue, 07 Jun 2005 19:09:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6868</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6868.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6868</wfw:commentRss><description>If it is a dataconnection you can actually set filename in the forms code itself. &lt;br /&gt;Here is the set of code lines that would help you in setting the filename for a sharepoint connection in the code(c#)&lt;br /&gt;DAVAdapter oSharePoint	= (DAVAdapter)thisXDocument.DataAdapters["SharepointSubmit"];	&lt;br /&gt;oSharePoint.FileName	= sSharePointFileName;&lt;br /&gt;oSharePoint.FolderURL	= sSharePointFolder;&lt;br /&gt;oSharePoint.Submit();&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: default file name.</title><link>https://www.infopathdev.com:443/forums/thread/6867.aspx</link><pubDate>Tue, 07 Jun 2005 15:38:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6867</guid><dc:creator>Jovix</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6867.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6867</wfw:commentRss><description>I found a solution that worked for me, here it is for those who are interested...&lt;br /&gt;&lt;br /&gt;In design mode of your form's template, go to Tools, Data Connections. Click on Add, and then follow the wizard to help set the type of Data Connection you want. In the Data Connections Wizard, when you reach the point to enter the form name that you want, you can click the function button next to the field and then select one of the form fields as the form name. What this will do is take the value that is on that field and uses it as the form name, which is what I wanted.</description></item><item><title>Re: default file name.</title><link>https://www.infopathdev.com:443/forums/thread/6866.aspx</link><pubDate>Wed, 25 May 2005 21:07:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6866</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6866.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6866</wfw:commentRss><description>I was looking at thisxdocument.UI object, there is method called "SetSaveAsDialogFileName" method. This method prefills the filename in the save dialog box's filename area.&lt;br /&gt;&lt;br /&gt;This method takes one "string" argument that is filename.&lt;br /&gt;&lt;br /&gt;This maynot solve your problem totally but will help you to some extent.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: default file name.</title><link>https://www.infopathdev.com:443/forums/thread/6865.aspx</link><pubDate>Wed, 25 May 2005 09:23:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6865</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6865.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6865</wfw:commentRss><description>Hi Jovix,&lt;br /&gt;Welcome to the Forum!&lt;br /&gt;I dint see any direct way to set filename on saving the form. &lt;br /&gt;We can access filename from "SaveEvent", but cannot change filename property on "SaveEvent" object because it is a readonly property.&lt;br /&gt;&lt;br /&gt;We can set filename when the form is submitted instead of saved.&lt;br /&gt;&lt;br /&gt;If you find a way to set filename on save please let us know.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>default file name.</title><link>https://www.infopathdev.com:443/forums/thread/4683.aspx</link><pubDate>Tue, 24 May 2005 21:50:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4683</guid><dc:creator>Jovix</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4683.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4683</wfw:commentRss><description>When closing and saving a form, is there a way for infopath to pull the value within a field and use it as the form name?&lt;br /&gt;&lt;br /&gt;TIA,&lt;br /&gt;Jovix</description></item></channel></rss>