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