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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Save functionality is not working for large amount of JSON data.

Thread ID:





146026 Jul 17,2019 10:43 AM UTC Jul 18,2019 08:57 AM UTC Angular - EJ 2 1
Tags: Diagram
Asked On July 17, 2019 10:43 AM UTC

Hi All, 

I am using syncfusion's diagrams library for plotting the map. Now, I am using the save and load functionality, but the JSON data size is to large than regular size so I am getting download error issue while saving the node models into JSON format. Also, load functionality is not working as data is large. Could you please help me with this.  

Ramya Thirugnanam [Syncfusion]
Replied On July 18, 2019 08:57 AM UTC

Hi Namrata,  
Thanks for contacting Syncfusion support. 
Please use serializationSettings preventDefaults property as true which simplify the saved JSON object without adding the default properties that are presented in the diagram. Please refer to a code example below.  
Code example:  
<ejs-diagram #diagram id="diagram" width="100%" height="700px" [serializationSettings]="serializationSettings" > </ejs-diagram>  
// set preventdefault value as true  
    public serializationSettings: object = {  
      preventDefaults: true  
Ramya T 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon