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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.