We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

getExportProps / saveAsJSON reuse

Thread ID:

Created:

Updated:

Platform:

Replies:

128298 Jan 12,2017 01:59 PM Jan 17,2017 06:47 AM JavaScript 1
loading
Tags: ejSpreadSheet
Gabriel Axel
Asked On January 12, 2017 01:59 PM

Greetings,

I am using the spreadsheet component and I am saving the JSON I get with saveAsJSON() (so that I will be able to load it quickly the next time in the UI) and I also use XLExport.getExportProps() to get the payload which I send to the spreadsheet export endpoint to generate XLSX file (so it will be ready for quick download when needed). I periodically send both JSONs to my server, which saves the output of saveAsJSON() locally, and passes the output of getExportProps() to a .Net server for the XLSX export. I noticed that both JSONs are somewhat similar but not identical. Is there an easy way to use one of them to get the other on the server, and reduce the total payload size in the described case? I suppose I could run a browser on the server, but I would prefer a more "lightweight" conversion. I use Scala/Java on my server if it matters.

Thanks.

Silambarasan I [Syncfusion]
Replied On January 17, 2017 06:47 AM

Hi Gabriel, 
 
Thank you for contacting Syncfusion support. 
 
We have checked your requirement ‘To generate a getExportProps() JSON from saveAsJSON() or vice versa’ and we would like to let you know that we have processed the both JSON data in different way i.e. skip the needed default properties based on JSON export and Excel export.  And, currently your requirement is not feasible. However, we have considered this as a feature request and it will be available in any of our upcoming releases. 
 
 
Regards, 
Silambarasan I 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;