Hi Patrick,
I need full trust since I have quite a bit of code associated with the infopath form so I am going to have full trust no matter what. What I need to know is that when you have full-trust how you can specify the name of the file to be saved back to the sharepoint site and not to your local machine.
Since thisXDocument.SaveAs has to have an absolute path and not a relative path, I need to get the path to the sharepoint site.
For the time being I have taken out this functionality and do this instead thisXDocument.View.Window.Close(false) which opens up the saveas dialogue box where there is the path to the sharepoint site. I just wanted to ask if its there, then there must be a way to get to it but how to get to the path?
Your help is greatly appreciated,
Thanks
Sumeet