Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

exportData exports to the wrong folder


Not applicable
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:



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:



Any ideas?
1 Reply


Level 10
If no location is specified then I assume it will go from the users default profile (the defaultt file location for Windows).