Default Save Folder?

S

Shemp

Can I set a default save folder?

We use a form that is stored on our server and retrieved by a UNC
address. When I save a form that I've filled out, InfoPath wants to
save it in My Documents, but I want it to save it to a specific folder
on our server with UNC.

Can this be done, and if so, how?

Best regards,
J 3 F F \/\/ 0 I + 0 |\|
J 3 F F a + 5 + R 3 A |\/| B 0 X d 0 + C 0 |\/|
 
F

Franck Dauché

Hi,

Make sure that your form is fully trusted to access your machine, then use
code (C# behind a Save button for example) to point to a specific folder:
thisApplication.ActiveWindow.XDocument.SaveAs(YouPath);
where your path is something such as:
"C:\\FolderName1\\FolderName2....\\FolderName").

Hope this helps.

Franck Dauché
 
Top