[]
        
(Showing Draft Content)

Licensing and Redistribution

GrapeCity Documents DataViewer can be used under the following licenses:

  • No License

  • Evaluation License

  • Production License

No License

When downloaded, the product works with full features in unlicensed mode. The product has the following limitations when it is used without license.

Scenarios

Licensing Watermark

In the development mode, that is on deploying the application on local host, a banner with the following text is displayed on the left-hand side corner:

"Powered by GrapeCity Documents Data Viewer.

You can deploy this EVALUATION version locally.

Temporary keys are available for testing.

Email us.sales@grapecity.com if you need assistance."

In the production mode, that is on deploying the application on a web server or domain, an error panel with the following message appears:

"License Not Found.

You need a valid license key to run GrapeCity Documents Data Viewer.

Temporary keys are available for evaluation.

If you purchased a license, your key is in your purchase confirmation email.

Email us.sales@grapecity.com if you need assistance."

Evaluation License

GcDataViewer is available to users for free evaluation for 30 days. To evaluate the product, you can write to us at us.sales@grapecity.com and obtain an evaluation license key for the specified domain. The evaluation license key expires after 30 days from the day it was generated.

Scenarios

Licensing Watermark

With evaluation license, you can use all the features of the product, while it displays a banner displaying the following text:

"Powered by GrapeCity Documents Data Viewer.

Your temporary deployment key expires in {0} day(s)."

Once the evaluation license expires, all toolbar buttons get disabled and an error panel with the following message appears:

"Powered by GrapeCity Documents Data Viewer.

Your temporary deployment key has expired.

Contact us.sales@grapecity.com to purchase a license."

A license key is specific to the domain it was generated for. In the development mode, all the product features work as usual with the evaluation banner. However, when deployed on a different domain, all buttons on the user interface get disabled and the product displays an error frame with the following text:

"Invalid License Key

This license key is for another Hostname(s).

Please verify the correct license for this site.

If you need assistance, please contact us.sales@grapecity.com."

If you wish to evaluate GcDataViewer without the evaluation banner on the local host before deploying it on the production server, you can request a special evaluation license by writing to us at us.sales@grapecity.com. This license lets you use all the features of the control without any banner or error frame in the development mode. If you deploy the same to a production server, error panel showing the following text gets displayed:

"Invalid License Key

Verify the full license key was correctly copied and applied to your project.

If you need assistance, please contact us.sales@grapecity.com."

Production License

You get the production license issued at the time of purchase of the GrapeCity Documents for Excel, .NET and GrapeCity Documents for Excel. Java. Once you apply a valid license key to the product, you can use all the features of GcDataViewer without any limitations, banner, error or watermark.

Scenarios

Licensing Watermark

In case you apply an invalid key, all the buttons on GcDataViewer interface get disabled and error panel showing the following text is displayed:

"Invalid License Key

Verify the full license key was correctly copied and applied to your project.

If you need assistance, please contact us.sales@grapecity.com."

A license key is specific to the domain it was generated for. Although in the development mode, all the product features work as usual, all buttons on user interface get disabled when deployed on a different domain and the product displays an error frame with the following text:

"Invalid License Key

This license key is for another Hostname(s).

Please verify the correct license for this site.

If you need assistance, please contact us.sales@grapecity.com."

Apply License

To apply license key to a GcDataViewer instance, you can set the long string license key obtained through e-mail to LicenseKey property of the GcDataViewer class. You must set this property before the code that references the JavaScript files and even before you create and initialize the viewer.

// Add your license
GcDataViewer.LicenseKey = 'YOUR LICENSE KEY';

// Add your code
const viewer = new GcDataViewer("#viewer1");

For more information about licensing GcDataViewer, see Licensing.