Exporting from views and reports
Platform provides export capabilities from views and reports. The header part of each view component contains links to export the view's records in XLS, XLSX, CVS, or to a spreadsheet in Google Docs (see Integrating with Google applications.). The following screen shows all the export formats available for a view in Platform:
Exports created in this way are limited as defined in the MaxExportRows shared property due to performance reasons.
rb.newui.options.listView.hideXlsExportOption = false;
rb.newui.options.listView.hideCsvExportOption = false;
rb.newui.options.listView.hideGoogleExportOption = false;
rb.newui.options.listView.hidePDFExportOption = false;
By default all these export options are set to false. As per your requirement, you can modify these boolean values to hide the export options from the menu.
If you want to hide all the export options, use Hide Export List View property from the Page Designer. These options are available only in NewUI.
Infinite Blue Platform can adequately direct any time constraint and resource centric jobs to the background in order to process them asynchronously. See Asynchronous Processing for more information.
The following section briefs how any large data operations are picked up in case of List View and Reports.
If the records are exported from a list view of any object definition and considering the count of records is above the limit as defined in the MaxRecordsForSyncActions shared property, the export job is submitted in the background for asynchronous processing.
The user is notified with a similar growl as displayed below, confirming the records are being exported in an asynchronous operation. Upon job completion, the user is notified via an e-mail serving the download link of the exported records.
If the count of records subjected to the export job is under the limit as defined in the MaxRecordsForSyncActions shared property, the export job is processed synchronously.
Tabular Reports - The generate report job behaviour for tabular reports is much similar to any list view record export job. If any tabular report is generated and considering the count of records in the report is above the limit as defined in the MaxRecordsForSyncActions shared property, the export job is submitted in the background for asynchronous processing.
The user is notified with a similar growl as displayed below, confirming the report is being generated in an asynchronous operation. Upon job completion, the user is notified via an e-mail serving the download link of the generated report.
Document Template - The document template report generation job involves rendering of the output which may take a considerable amount of time while blocking the interface until the report is generated. Likewise, a dialogue box as displayed below is prompted on submitting a document template report generation job.
After entering a valid email address, the user can choose to Email this report or Run Now to get the job scheduled asynchronously or synchronously respectively. The accordance of conduct remains similar to List View & Tabular Report jobs.
An active user session is required to open the download link to retrieve the generated report.
Upon report generation or record export, the email serving the download link is valid only until 3 days for all the jobs processed asynchronously.