Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Managing licences

Resolved
Alberto Nudman asked on February 4, 2017

Hi I am developing a BI site and I have been given two license keys, one for development, one for production.
I wouldn’t like to change license key each & every time I upload a new version to production server. Is it a smart way to have only one HTML file, define both license keys and have a script to choose the appropiate one based on the machine ID, for instance?
Thanks

1 answer

Public
Roman Petrusha Flexmonster February 4, 2017

Hi Alberto,

Yes, instead of a licenseKey parameter you can use a path to the static file or script 

$("#pivotContainer").flexmonster({
   toolbar: true,
   report: report,
   licenseFilePath: "path_to_my_key.txt"
});

Does it work for you?

Regards,
  Roman

Please login or Register to Submit Answer