☰
Current Page
Main Menu
Home
Home
Editing How-do-I-Add-bulk-CSV-to-the-report-viewer
Edit
Preview
H1
H2
H3
default
Set your preferred keybinding
default
vim
emacs
markdown
Set this page's format to
AsciiDoc
Creole
Markdown
MediaWiki
Org-mode
Plain Text
RDoc
Textile
Rendering unavailable for
BibTeX
Pod
reStructuredText
Help 1
Help 1
Help 1
Help 2
Help 3
Help 4
Help 5
Help 6
Help 7
Help 8
Autosaved text is available. Click the button to restore it.
Restore Text
#Adding Bulk CSV On the Report Viewer [[_TOC_]] ##Question How do I Add the Bulk CSV option to the Report Viewer and Report Designer? ##Answer You can alter the CSV option to use the bulk CSV functionality on the report viewer and report designer by setting [[UseBulkCSV|/API/CodeSamples/UseBulkCSV]] = true in your global.asax. If you wish to use regular CSV exports and bulk CSV exports at the same time, there are a few different methods to accomplish this. Newer versions of Izenda have diverged the Report Viewer from the Report Designer methodology of showing this button. One methodology for the Report Viewer is demonstrated below, but this is not an absolute edict. ### ###Report Viewer The report viewer page is all contained in Resources/html/ReportViewer-Body.ascx and is completely editable within any standard text editor. Therefore, you can use any HTML you want as long as you call the following javascript function: ```javascript responseServer.OpenUrlWithModalDialogNew, 'rs.aspx?output=BULKCSV', 'aspnetForm', 'reportFrame'); ``` Here is an example HTML snippet to insert a new item into an unordered list (can be used on ReportViewer) ```html <li><a href="javascript:void(0)" title="" onclick="responseServer.OpenUrlWithModalDialogNew, 'rs.aspx?output=BULKCSV', 'aspnetForm', 'reportFrame');"> <img class="icon" src="rs.aspx?image=ModernImages.csv-32.png" alt="" /> <b lang-text="js_CSV">Bulk CSV</b><br> <span lang-text="js_CSVMessage">Stores large batches of tabular data in a text file that is portable and easy to process</span> </a></li> ``` ###Report Designer This code will show how to show the bulk csv option on the Report Designer. ```csharp //show (unhide) the option for bulk csv AdHocSettings.OutputTypes["BULKCSV"].Hidden = false; //hide the option for csv AdHocSettings.OutputTypes["CSV"].Hidden = true; ``` ###String keys for other output types The string keys which are available are listed [[in this article|/FAQ/Formatting/How-do-I-hide-Output-Types]] ##Troubleshooting the Bulk CSV Option The Bulk CSV option is for exporting large amounts of data and is inherently dependent on your server's ability to process the data. If you are getting an **Out of memory exception**, the bulk CSV option may not be right for your application. If you are getting a **504 Gateway Time-out** error, you may need to set the [[SqlCommandTimeout]] setting to a higher value to allow for larger exports. If you want to test the bulk CSV export option to see if it's correct for you, follow the steps below. * Open a larger report in the Report Viewer * Append the string "&output=bulkcsv" onto the URL (e.g. http://www.izenda.com/bi/ReportViewer.aspx?rn=Budget&output=bulkcsv) * Press enter to export the report as a bulk csv file _**Note:** The total amount of records that will be exported via the bulk CSV option will still be limited by the [[ExportLimit|/API/CodeSamples/ExportLimit]] setting._
Uploading file...
Header
 **This documentation is for the legacy Izenda 6 product. Documentation for the new Izenda 7 product can be found at [[https://www.izenda.com/docs/|https://www.izenda.com/docs/]]**
Sidebar
 --- * [[Izenda 7 Series Documentation|https://www.izenda.com/docs/]] * [[Release Notes]] * [[Upgrade Best Practices|FAQ/Izenda-Update-Best-Practices]] * [[FAQ]] * [[Tutorials]] * [[The Izenda API|/API/AdHocConfig]] * [[The AdHocSettings class|/API/AdHocSettings]] * [Developer Links and Guides](/Guides/Developer-Links-and-Guides) * [[Known Issues]] --- * <a href="http://www.izenda.com" rel="nofollow" target="_blank">Izenda Website</a> * [Product Video](https://www.youtube.com/watch?v=X3-yWFq0w5A) * <a href="http://www.izenda.com/blog" rel="nofollow" target="_blank">Izenda Blog</a> * <a href="http://www.izenda.com/company/" rel="nofollow" target="_blank">About Us</a> * <a href="http://www.izenda.com/contact-us/" rel="nofollow" target="_blank">Contact Us</a> --- * [Guide To Report Design](/Guides/ReportDesign) * [Making Custom Forms Video](http://www.youtube.com/watch?v=5b2axJlgdFs) --- * [[Acknowledgements]]
Edit message:
Cancel