What do i do with my license?

Hi, i have a license key but where do i use it in an Angular 6 app?

I've installed the dropdownlist from npm https://www.npmjs.com/package/@syncfusion/ej2-angular-dropdowns but there's no information about where/what/how to use the license. Do i even need it?

Thanks

8 Replies

KA Kannan Syncfusion Team September 28, 2018 10:03 AM UTC

Hi Nick, 

Thanks for contacting Syncfusion support. 

No, Syncfusion Angular component does not require any license key to register in the application. But, you have the valid license to install the Angular component and for support.  

Please let us know if you need any further assistance. 

Regards, 
Kannan 



CS Cesar Smerling August 19, 2020 11:33 AM UTC

Hello, I have the same doubt.

What to you mean by 'install the angular components'?

Thanks


JA Jesus Arockia Sankaran S Syncfusion Team August 20, 2020 12:42 PM UTC

Hi Cesar, 

Sorry for the inconvenience and thank you for contacting Syncfusion support. 

Syncfusion Angular component packages are published in NPM registry and we request you to refer our documentation and online demo for further details.  




We want to inform you that we don’t have any source level license validation, so you don’t have to do anything in your application for license validation. Our current license validation is fully based on support and new feature requests. 

But, to use our package legally you need to get license from us by visiting syncfusion.com and signing up for license. This is also mentioned in our licensing document in npm package. Please find its content from GitHub link 


Please get back to us if you need any further assistance on this. 
 
Regards, 
Jesus Arockia Sankaran S 



JR Jawahar Rajan June 2, 2022 01:59 PM UTC

Hello I have a quesiton

We have licensed version of Syncfusion Comonents

I recently downloaded the charts components via NPM but when I am using the chart components I get a warning with a banner that I am using a 14 day trial. How do I get rid of the banner as we have fully paid License for 3 developers?
Do we have to register the developers when we do an nmp install the Chart Components ?

thanks
jawahar rajan

Developer at InvestX



GV Gokulraj Varatharajan Syncfusion Team June 6, 2022 01:31 PM UTC

Hi Jawahar,


Sorry for the delayed response,


Please contact your admin to assign a valid license to your account.


We have introduced license key validation for Essential JS2 platforms from the 2022 Volume 1 release. This licensing key validation will enforce the developer to register the valid licensing key in an application while referring to any of the latest packages, either from npm or CDN or build.


For generating and registering a license key please refer to the following documentation.


https://ej2.syncfusion.com/angular/documentation/licensing/license-key-generation/


https://ej2.syncfusion.com/angular/documentation/licensing/license-key-registration/


https://www.syncfusion.com/blogs/post/introducing-license-key-validation-for-the-essential-js-2-platforms.aspx


Please get back to us if you have any queries.


Regards,

Gokul



RC Robert Calupig July 3, 2022 02:18 AM UTC

Hi,


I've created an account to try the trial license for Angular (javascript). The version that I can only pick is 20.2.0.36. However, there is no version 20.2.0.36 in npm. I tried using 20.2.36 from npm and called registerLicense() but I still get the license message. What am I missing?



RC Robert Calupig replied to Robert Calupig July 3, 2022 03:25 AM UTC

Hi,

All good. Sorted it out. We are using module federation. Putting it in main.ts didn't work. Just had to find the entry point of the remote module.


Thanks.



RS Ragunath Sukumaran Syncfusion Team July 4, 2022 01:30 PM UTC

Hi Robert,


We also have a way to register the license key using the npx command. If you are facing issues while registering license key in the main.ts file, we suggest you to register the license key using npx command. We have provide the support, registering the license key using npx command in the volume 2 2022 release (v20.2.0.36), so please upgrade your packages to latest version (v20.2.36), to utilize this support.


Please find the below details to register the license key using the npx command,

        

Generate the Syncfusion license key and register it through npx command in one of the following ways,

  • Register the license key with the license file
  • Register the license key with the environment variable

Note: If both the license text file and the environment variable are used for license registration, priority is set to the syncfusion-license.txt file. If you want to use the environment variable for license registration, then remove the license text file from the application.


Register the license key with the license file


The following steps show how to register the Syncfusion license key with the license text file.

  1. Create the syncfusion-license.txt file in the application root directory and paste the license key.
  1. Open the command prompt in the application root directory and activate the license key by using the below command,

          “npx syncfusion-license activate

  1. Once the Syncfusion license key is activated, the following console message will appear.
  2.   License message: (INFO) Syncfusion License imported successfully.
  3. Now run the application. If you are facing a license validation error, refer to this link to resolve it. Also, find the most frequent license registration questions from this link.


Note: If you don't want to use the license text file in the application, refer to the below topic to register the license key with the environment variable


Register the license key with the environment variable


You can set the environment variable as SYNCFUSION_LICENSE in the system and paste the license key as a value. It can be used in all applications on your machine.


The following steps show how to set environment variables in different operating systems and register the Syncfusion license key.

  1.  Set the environment variable in different operating systems like below,

       Windows

  • Open the command prompt and use setx command to add the new environment variable.

setx SYNCFUSION_LICENSE "license key"


        Mac

  • Open the terminal and use the env command to view the variables list.
  • You can set the environment variable by using the below command,

echo 'export SYNCFUSION_LICENSE="license key"' >> ~/.bash_profile

  • If you want to modify the environment variable in the bash profile. Use the below command,

nano .bash_profile

  • Once modified the variable. Press ctrl+x to exit then Y and Enter button to save the changes.
  •  Close the terminal and open it again to see the environment variable's changes using the env command.

       Linux

  • Open the terminal and use the `env` command to view the variables list.
  • You can set or modify the environment variable by using the below command,

export SYNCFUSION_LICENSE='license key'

  1. Once set the SYNCFUSION_LICENSE environment variable, restart the IDE or application terminal before using the license activation command.
  1. Open the command prompt in the application root directory and activate the license key by using the below command,

  ”npx syncfusion-license activate

  1. Once the Syncfusion license key is activated, the following console message will appear.
  2.    License message: (INFO) Syncfusion License imported successfully.
  3.  Now run the application. If you are facing a license validation error, refer to this link to resolve it. Also, find the most frequent license registration questions from this link.



Please get back to us if you have any queries.


Regards,

Ragunath S


Loader.
Up arrow icon