Hello,
filename is the name of form saved to the sharepoint and sharepoint url is the url of library.
For example FileName:
string formName = GetNodeValue("/my:statusReport/my:preparedBy");
string fileName = formName + GetDateTimeString() + ".xml";
Sharepoint Url:
Add a secondary dom 'ViewOptions.xml' with a node SharePointURL and enter your sharepoint form library name in the SharePointURL node.
To retrive the url:
string
SharePointURL = thisXDocument.GetDOM("ViewOptions").selectSingleNode("/ViewOptions/SharePointURL").text;