Hi Team,
We want to load our staging flexmonster license key from azure key vault for angular app, can we have inbuild integration for the same ? or any approach do want to suggest here
Hello, Nil,
Thank you for contacting us.
Kindly note that Flexmonster does not provide integration with Azure Key Vault. License key is just a string value and can be set using one of the following approaches:
<fm-pivot #pivot
[licenseFilePath]="'/api/getLicenseKey'"
[toolbar]="true"
[width]="'100%'"
[height]="'100%'">
</fm-pivot>
getLicenseKey(): string {
var licenseKeys = {
"flexmonster.com": "XXX",
"example.com": "ZZZ",
"localhost": "Z7RG-XBHG4D-0H1017-46003U"
};
var hostname = window.location.hostname;
return licenseKeys[hostname];
}
Then, in app.component.html
, assign the function (in our case, getLicenseKey()
) to the licenseKey
property:
<fm-pivot
#pivot
[report]="report"
[licenseKey]="getLicenseKey()">
</fm-pivot>
We hope it helps. You are welcome to write to us in case further questions arise.
Kind regards,
Nadia
Hello, Nil,
Hope you are doing well.
Just checking in to ask if you had a chance to try the suggested approaches.
We will be glad to hear your feedback.
Kind regards,
Nadia
Hello, Nil,
Hope you are doing well.
Could you please confirm if the suggested approaches work well for you?
Looking forward to hearing from you.
Kind regards,
Nadia