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
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Need clarification on when to use the upgrade function

Thread ID:





142505 Feb 6,2019 08:57 PM UTC Feb 7,2019 10:27 AM UTC jQuery 1
Tags: ejDiagram
Jim Jacobs
Asked On February 6, 2019 08:57 PM UTC


We are currently running a rather old release of your product - 15.2 - and hope to upgrading that shortly to your latest release.
We currently have the following code in place (I believe Syncfusion initially provided this to address an issue we were having at the time):

var version = Number(jsonData.version);
        if (isNaN(version)) {
            version = jsonData.version.split(".");
            //get the short form version 
            jsonDataVersion = version = Number(version[0] + "." + version[1]);

        if (!NE_User) {
            if (jsonDataVersion < 15.2) {

My question is: do we need to continue doing this?
What exactly does the upgrade actually do?

Thanks for any assistance you can provide on this subject.


Aravind Ravi [Syncfusion]
Replied On February 7, 2019 10:27 AM UTC

Hi Jim, 
The upgrade method is used to upgrade the JSON data saved from older version of diagram to later version. That is if we depreciated any API in newer version or any behavior changes, the upgrade method will convert the older version JSON data to newer version. 
This method no longer needed in your application side. While loading the diagram, we will upgrade the data to newer version and will load the diagram. 
Aravind Ravi 


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