forcedotcom/code-builder-feedback

SOQL Builder Saves Blank Files when I Try To Export CSV Or JSON To My Local Computer

Closed this issue · 5 comments

PROBLEM
I would like to export CSV or JSON from SOQL Builder to my local computer.

STEPS
⇧⌘P, search "soql", and select "SFDX: Create Query in SOQL Builder"
create and run a simple query
in query results window, choose either "CSV" or "JSON" button
press the "Show Local" button in the dialog that appears
accept the filename suggested and save, noting the directory on your computer where it will save

EXPECTED RESULT
the saved file contains CSV or JSON data

ACTUAL RESULT
the file is empty

Ditto.

Thank you for the bug report. I have been able to reproduced the issue and filed a bug report internally. As a workaround, you can first save the file in Code Builder and then right-click on the file to download it. Sorry for the inconvenience this is causing.

This issue has been linked to a new work item: W-12081772

@jjsfdc We're still working on the fix. It should be in the next release of SOQL Builder.

@jjsfdc We have merged the fix PR: forcedotcom/salesforcedx-vscode#4754.
You should see the fix in the next iteration. I'm closing this issue. Thank you so much for trying out Code Builder Beta.