Request: When exporting data to excel is it possible to also include the SQL query in a separate excel tab similar to how Oracle SQL Developer exports to excel?
Functional Design: In the Tools > Export > [Excel] > Options tab, if the user chooses "Excel Workbook" or "Excel 2007 Workbook", then in the "Options" section of the "Options" tab, add a checkbox called "Create separate tab for SQL Query". If this checkbox is checked, then create a separate tab in the generated Excel file with w/ the SQL Query.
Also be sure to update the "Generate AquaScript" button to add this logic. Clicking on the "Generate AquaScript" button will generate aqua scripts such that when executed, it will create the same Excel file as doing the export from the UI. Thus we will need to update this logic such that the generated aqua scripts will also create the separate tab with the SQL query.
Be sure to test this feature with both "Export Table" and "Export from SELECT"
|
139 KB
Nhi,
We have added 'Create separate tab for SQL Query' Text for checkbox. We have added this text into 'master.prompt.csv' file. For fetching this value we used code as
TXT.get("ExportDialog.CheckBox-IncludeQueryTab", "Create separate tab for SQL Query");
For this we are having following questions :
Translation is handled as a separate effort, which is outside this issue. As long as you're doing TXT.get("some key that's unique across the entire code base", "English version of the string"), then you're fine. Just prepend the class name to the the unique key to avoid conflicting with keys in other classes.
Translation is handled as a separate effort, which is outside this issue. As long as you're doing TXT.get("some key that's unique across the entire code base", "English version of the string"), then you're fine. Just prepend the class name to the the unique key to avoid conflicting with keys in other classes.
This issue is verified on Build no.: ads-windows-x64-18.5.0-dev-8.
This issue is verified on Build no.: ads-windows-x64-18.5.0-dev-8.
Code Review:
Code Review:
[Nhi] Looks fine.
[Nhi] Looks fine.
A couple issues that we should have taken care of but can be pushed to a future release.
1) The new checkbox in the gui should have a property attached to it instead of always being set to on at export initiialization.
2) This feature should have also been added to the Fliudshell export. CoreLibExportThread.
3) Maybe we should have added this to the Aquascript export project?
A couple issues that we should have taken care of but can be pushed to a future release.
1) The new checkbox in the gui should have a property attached to it instead of always being set to on at export initiialization.
2) This feature should have also been added to the Fliudshell export. CoreLibExportThread.
3) Maybe we should have added this to the Aquascript export project?
Issue #15364 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 18.5 |
Time Estimate 13 hours |
Nhi,
We have added 'Create separate tab for SQL Query' Text for checkbox. We have added this text into 'master.prompt.csv' file. For fetching this value we used code as
For this we are having following questions :