Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
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