Vitas Report post Posted July 14, 2020 I'm trying to setup server side export and I havo trouble with XLSX and CSV export. Response I get &DOMId=&height=0&width=0&fileName=&statusMessage= Export Resource not found.&statusCode=0. FCExport requires IMAGE-DATA2XLSX file. How can i fix this problem? Share this post Link to post Share on other sites
Ayan Bhadury Report post Posted July 14, 2020 Hi, Please let us know which chart type are you using, also the FusionCharts version you are using so that we could check accordingly. Share this post Link to post Share on other sites
Vitas Report post Posted July 15, 2020 I don't think so that it depends on type, because it repeats on different types. But type - pie2d, stackedbar2d, scrollcolumn2d. Version - 3.15.1 Share this post Link to post Share on other sites
Ayan Bhadury Report post Posted July 15, 2020 Please check the demo - http://jsfiddle.net/7twk8g46/ Share this post Link to post Share on other sites
Vitas Report post Posted July 15, 2020 Also I have question if I set export mode to save-download, can I make that png files will be only saved on server and not downloaded to user Share this post Link to post Share on other sites
Vitas Report post Posted July 15, 2020 (edited) 5 minutes ago, Ayan Bhadury said: Please check the demo - http://jsfiddle.net/7twk8g46/ $dataSource['chart']['exportHandler'] = ChartsHostUrl . 'ExportHandlers/PHP/3.15.1/ServerFCExporter.php'; Your demo doesn't include private handler. Complete list of parameters: $dataSource['chart']['exportHandler'] = ChartsHostUrl . 'ExportHandlers/PHP/3.15.1/ServerFCExporter.php'; $dataSource['chart']['exportEnabled'] = '1'; $dataSource['chart']['exportAtClient'] = '1'; $dataSource['chart']['exportTargetWindow'] = '_blank'; $dataSource['chart']['exportMode'] = 'client'; $dataSource['chart']['exportAction'] = 'save'; All image export and PDF works, but CSV and EXCEL fails because of required stream type IMAGE-DATA Edited July 15, 2020 by Vitas Share this post Link to post Share on other sites
Ayan Bhadury Report post Posted July 15, 2020 It will be saved to the location you have specified, if you could restrict the download to the user you can implement that at your end. FusionCharts natively does not provide the option. 3 minutes ago, Vitas said: Also I have question if I set export mode to save-download, can I make that png files will be only saved on server and not downloaded to user Share this post Link to post Share on other sites
Ayan Bhadury Report post Posted July 15, 2020 36 minutes ago, Vitas said: $dataSource['chart']['exportHandler'] = ChartsHostUrl . 'ExportHandlers/PHP/3.15.1/ServerFCExporter.php'; Your demo doesn't include private handler. Complete list of parameters: $dataSource['chart']['exportHandler'] = ChartsHostUrl . 'ExportHandlers/PHP/3.15.1/ServerFCExporter.php'; $dataSource['chart']['exportEnabled'] = '1'; $dataSource['chart']['exportAtClient'] = '1'; $dataSource['chart']['exportTargetWindow'] = '_blank'; $dataSource['chart']['exportMode'] = 'client'; $dataSource['chart']['exportAction'] = 'save'; All image export and PDF works, but CSV and EXCEL fails because of required stream type IMAGE-DATA Here is a PHP implementation - https://repl.it/repls/RightMonumentalSymbols#index.php Live link - https://rightmonumentalsymbols--five-nine.repl.co/ Share this post Link to post Share on other sites
Vitas Report post Posted July 23, 2020 On 7/15/2020 at 4:43 PM, Ayan Bhadury said: Here is a PHP implementation - https://repl.it/repls/RightMonumentalSymbols#index.php Live link - https://rightmonumentalsymbols--five-nine.repl.co/ Still no private export handler. Parameter - exportHandler not set. Share this post Link to post Share on other sites
Ayan Bhadury Report post Posted July 23, 2020 Please share a demo replicating the problem along with all the dependencies, with the steps to execute the project so that I could check at my end. Share this post Link to post Share on other sites