Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

exportData exports to the wrong folder


Former Community Member
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


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