SpreadJS and Wijmo products include distribution licensing, which means apps require a unique key to be validated at runtime. The process is quick and requires minimal memory.

How to License Your App

Copy the generated distribution key and insert it into beginning of your application class constructor.  This will vary by product; see below for details.


SpreadJS Distribution Licensing

Distribution Keys

With every developer license, you'll receive one distribution license for one domain, which entitles you to generate a distribution key that will be used in the script code. To deploy to additional domains, you can buy packages of additional, renewable distribution licenses by contacting sales, and generate distribution keys for those domains. Licenses must be renewed annually, and keys will need to be updated if you deploy a new version of SpreadJS.

The license for SpreadJS is set via script code. This is done by setting the GC.Spread.Sheets.LicenseKey before creating a new Workbook() instance:

<script>
  GC.Spread.Sheets.LicenseKey = " [your Distribution license key here]";
</script> 

Read the blog post on licensing

Watch the video:

Get your SpreadJS distribution key(s)


Wijmo Distribution Licensing

Distribution Keys

With every developer license, you'll receive unlimited, perpetual distribution license, which entitles you to generate distribution keys that will be used in the script code. Wijmo license holders can generate distribution keys for an unlimited number of domains. While the licenses never expire, keys will need to be updated if you deploy a new version of Wijmo. Without a key, you'll see a popup in your deployed app.

Watch the video:

To use Wijmo in production, follow these simple steps.

  1. Purchase a copy of Wijmo, based on your needs. If you buy from a third party, you'll need to register your serial number in My Licenses.

  2. Get your distribution key in My Licenses. Copy the key.

  3. Open your Wijmo application in any editor. Find a place in the code before you've initialized any Wijmo controls. Call the following method and paste your licenseKey as a string inside it:

wijmo.setLicenseKey("demos.wijmo.com|grapecity.com|staging.grapecity.com,...");

Refresh your application and you should see the licensing popup and evaluation watermark disappear. Read more about Wijmo licensing.

Get your Wijmo distribution key(s)