L
Lee Newson
Hi,
i have a form that when the user has filled in i want to be able to submit
it to a form library (this works) and at the same time export the form to a
document library in MHTML.
to do this i am using the following:
XDocument.View.Export("http://servername/sites/sitename/doclib/formname",
"MHT")
I have fully trusted the form and have installed it so that i can test this
functionality. At the moment the form falls over when it gets to that line.
I have also tried using \\\\servername\\sites\\sitename\\doclib\\formname
but both ways don't want to work.
Is this because you can't use network paths with the Export method?? If this
is the case is there another way to do it?
Cheers for any help in advance
regards
Lee
i have a form that when the user has filled in i want to be able to submit
it to a form library (this works) and at the same time export the form to a
document library in MHTML.
to do this i am using the following:
XDocument.View.Export("http://servername/sites/sitename/doclib/formname",
"MHT")
I have fully trusted the form and have installed it so that i can test this
functionality. At the moment the form falls over when it gets to that line.
I have also tried using \\\\servername\\sites\\sitename\\doclib\\formname
but both ways don't want to work.
Is this because you can't use network paths with the Export method?? If this
is the case is there another way to do it?
Cheers for any help in advance
regards
Lee