Updating spreadJS v13.2.3 to v 14.0.9 issue

Posted by: jekin.desai on 25 March 2021, 5:24 pm EST

    • Post Options:
    • Link

    Posted 25 March 2021, 5:24 pm EST - Updated 3 October 2022, 12:53 am EST

    Hi,

    I am using Angular v11,having spreadJS v13.2.3 license version which is working fine. But while updating the @grapecity/spread-sheets and @grapecity/spread-sheets-angular to latest version(14.0.9) is giving an error regarding license. I have license key imported in main.ts file

    GC.Spread.Sheets.LicenseKey = environment.spreadjsLicenseKey;  
    

    Attached error screenshot for you reference.

    Where can I set the license key(in which file)? and can you provide steps on how to install spreadJS in angular(the doc present on the website don’t help much)

  • Posted 25 March 2021, 5:48 pm EST - Updated 3 October 2022, 12:53 am EST

    Also in one of the blog https://www.grapecity.com/blogs/create-angular-spreadsheets-with-angular-cli

    seems too old or not as per latest spreadJS version.

    Because in the blog it is mention to use

    "./node_modules/@grapecity/spread-sheets-angular/dist/gc.spread.sheets.angular.ts",
    

    but @grapecity/spread-sheets-angular don’t have above folder structure. See screenshot for reference

    Can you provide some latest docs having steps to easily use spreadJS in Angular

  • Posted 29 March 2021, 9:59 pm EST

    Hi,

    From the error snapshot, it seems like you are using the distribution key of v13 in v14 too which is why an invalid license key error is displayed.

    For v14, you need to use the v14 distribution key, if you have already updated the distribution key too then I would request you to create a support ticket on the following private support portal(https://www.grapecity.com/my-account/my-support) and share the distribution key you are using so that we may check it at our end too.

    Regards

    Sharad

  • Posted 29 March 2021, 10:29 pm EST

    How to update to v14 distribution key from v13?

  • Posted 31 March 2021, 5:25 pm EST

    To update the distribution key to v14, you need to log in from the account which has a license for v14 and then generate the distribution key using the v14 license. After generating the distribution key, replace the old key from your application with the new generated key.

    Please refer to the following blog for more information:

    https://www.grapecity.com/blogs/how-to-license-spreadjs-11-in-your-app

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels