How can I help you?
Custom Resource Generator for Syncfusion® for EJ2 JavaScript ES5.
6 Feb 20263 minutes to read
Syncfusion® provides an option to generate selective control scripts (JavaScript ES5) and styles using the Custom Resource Generator (CRG).
Control Search and Selection
Using the CRG site, users can effortlessly navigate through the comprehensive list of controls. Controls compatible with Injectable Modules are presented in a treeview format with checkboxes, while components not supported with Injectable Modules are displayed only with checkboxes. Users can seamlessly search, select, and tailor their choices to find minified or unminified scripts and styles that precisely match their requirements.

Refer to the following steps to search and select the controls in CRG.
- Open Syncfusion® Custom Resource Generator (CRG) application.
- Type the required control name in the search bar and select the check box. The dependency of the selected control is resolved in the application itself, so it does not need to choose each dependent control by manually.
- Click the expand icon and select the required feature for the injectable module supported controls.
- If the entire modules of the controls are needed, then click the specific control’s check box to select all injectable modules.
- Select the required built-in themes from the Select Themes option. This provides an option to select more than one theme.
Download the selected control resources
After selecting the required control resources, download the custom script and styles from CRG.
Refer to the following steps to download the custom resources in CRG.
- Select the Minified option to generate the minified file output for production and select the desired version. Click the DOWNLOAD button at the bottom of the page
- Enter the file name as you desire and valid mail ID, click GENERATE button in the pop-up.
- You will receive a mail with a download link within a few minutes explaining with control included, version details, and whether or not styles are included.
-
The downloaded file contains the script and styles for the selected controls and a import.json file, which stores the current settings. You can use theme files in the customized folder if you don’t want google fonts references. For now, Material and tailwind themes only generate like below.

How to use custom resources in the JavaScript application
-
Extract the downloaded script and styles into the project.
-
Refer to the script and style in the
<head>section of theindex.htmlfile.
-
Run the application, and it will load the resources with the required controls.
Import previously generated settings into the CRG
To add more controls or upgrade to the latest Syncfusion® scripts, it is not necessary to generate resources from scratch in the CRG. Simply import the old import.json file, make the changes, and download again from the CRG application.
Refer to the following steps to import a previous import.json file in the CRG.
- Click the IMPORT SETTINGS button at the bottom of the page.
- Upload the import.json file so that the previously stored data will be restored in the CRG application. Now, add more controls and export the resources again.
To download a licensed script
As a licensed user, you can download a licensed script from the Custom Resource Generator (CRG) by logging into your CRG account, as illustrated below.

Licensed scripts generated through the Custom Resource Generator (CRG) do not require additional license registration when downloaded by authenticated users. However, if you are not downloading a licensed script, you need to register the license key in your application. For more information, refer to the Licensing section.
Additionally, when you log in and download the script, the license registration code is intentionally removed to prevent redundancy, ensuring that your licensed script is ready to use without extra steps. This design choice provides ease for licensed users.