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

Q

quelcjlx

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
 
J

JR

XDocument.UI.SetSaveAsDialogFileName("YourFileNameHere.xml") should do the trick. You may also want to use XDocument.UI.SetSaveAsDialogLocation("FilePath")
 
Q

quelcjlx

Thanks. That works.

JR said:
XDocument.UI.SetSaveAsDialogFileName("YourFileNameHere.xml") should do the trick. You may also want to use XDocument.UI.SetSaveAsDialogLocation("FilePath")
 
Top