Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2006

Tip: Looking for answers? Try searching our database.

How do I specify a default name for the xml form file?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
quelcjlx - 20 Apr 2006 16:25 GMT
When designing an InfoPath form template, is there a way to override the
"Form1.xml" default name for the file the user will save locally?

InfoPath 2003 (11.6565.6568) SP2
JR - 20 Apr 2006 18:49 GMT
XDocument.UI.SetSaveAsDialogFileName("YourFileNameHere.xml") should do the trick.  You may also want to use XDocument.UI.SetSaveAsDialogLocation("FilePath")

> When designing an InfoPath form template, is there a way to override
> the  "Form1.xml" default name for the file the user will save locally?
>
> InfoPath 2003 (11.6565.6568) SP2
quelcjlx - 20 Apr 2006 19:37 GMT
Thanks.  That works.

> XDocument.UI.SetSaveAsDialogFileName("YourFileNameHere.xml") should do the trick.  You may also want to use XDocument.UI.SetSaveAsDialogLocation("FilePath")
>
> > When designing an InfoPath form template, is there a way to override
> > the  "Form1.xml" default name for the file the user will save locally?
> >
> > InfoPath 2003 (11.6565.6568) SP2
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.