Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
dan79
New Member

IVisualLicenseManager

Im working on a custom visual and in testing all works ok but i am trying to test the Licencing API and when i add the below to my visual i get a white screen and no error message when testing does anyone have any idea what im missing so i can test the licencing api?

 

private licenseManager:IVisualLicenseManager; into export class Visual implements IVisual
 
and
 
this.licenseManager.getAvailableServicePlans().then((result) => {}); into public update(options: VisualUpdateOptions) {
1 REPLY 1
DanielSallander
New Member

Hello,

Try adding:

this.licenseManager = options.host.licenseManager
in the constructor method.
BR
/Daniel

 

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.