I have xml of my data being exported and imported to a mapped drive. When I do an import it pulls the xml from the mapped drive as expected. When I export the xml, it exports it to the desktop. I have both in the click events of buttons. I have the events as Javascript and running from the client.
The code I have is:
exportData("xmlData.xml",0);
importData("xmlData.xml");
It should be importing and exporting from the same place, but it's not. It works properly however when I put the drive letter in. (I didn't know you had to escape the '\'.)
Such as:
exportData("X:\\xmlData.xml",0);
importData("X:\\xmlData.xml");
Any ideas?