Posted 10 February 2020, 9:35 am EST
Hi,
How to add license when referencing DataViewsJS in my npm-based applications.
Thanks.
Forums Home / Spread / DataViewsJS
Posted by: nchalla on 10 February 2020, 9:35 am EST
Posted 10 February 2020, 9:35 am EST
Hi,
How to add license when referencing DataViewsJS in my npm-based applications.
Thanks.
Posted 11 February 2020, 6:37 am EST
Internal tracking ID: JSVIEW-558
Posted 11 February 2020, 6:38 am EST
Hi,
We could add the license key on the window object for npm-based application too. Please refer to the following code snippet and the sample demonstrating the same:
window["GC"] = {
DataViews: {
LicenseKey: "XXXXXXX"
}
};
https://codesandbox.io/s/dvjs-sample-pwdy2
Further, we have also asked the dev team if there is any better alternative available. I’ll update you as soon as I hear back from the team.
Regards
Sharad