AnsweredAssumed Answered

Exporting from Web Direct

Question asked by facaylar on May 3, 2016
Latest reply on May 4, 2016 by user19752

Hi y'all - got another thing I need a pointer with. I have a solution that exports data to a user's desktop. If they're using the desktop application, it's fine and works flawlessly.


However, because of the need of portability on this solution, it's also available on WebD. Like I mentioned, one of the actions available is exporting records to the desktop. In WebD, this "automated" part fails and provides this error.


I know it's due to the Windows permission not allowing the script to automatically save to the desktop. Can someone point me in the right direction to resolve? In the export script, I have:


> Set Variable [$Export_File; Value: "file:" & Get ( DesktopPath ) & "File_Name.xlsx"]

> Export Records ["$Export_File; Unicode (UTF-16)]


I'm missing something really elementary and I know that there's a step I need to put in when a user is in WebD that asks them WHERE to save the file, instead of it automatically saving it...which is what causes the error. I just can't find documentation on that step. Any help would be helpful. Thanks!