Forum Discussion
Power Bi embed with Java based web application
d_u_a: As per this article: how-many-embed-tokens-can-i-create, Embed tokens with PRO license are intended for development testing, so the number of embed tokens a Power BI master account can generate is limited. You must purchase a capacity for embedding in a production environment. There is no limit to how many embed tokens you can generate when a capacity is purchased.
Hence I have not tried it.
I used AAd Token to embed reports on my pages(For more details please check: https://stackoverflow.com/questions/50156057/steps-to-integrate-powerbi-report-on-java-application)
txtAccessToken is aad token.
txtEmbedUrl is the report that needs to be embedded. It will be like https://app.powerbi.com/reportEmbed?reportId.......
var config= {
type: 'report',
tokenType: 0,//1:Embed,0:Aad
accessToken: txtAccessToken,
embedUrl: txtEmbedUrl,
permissions: 7,
viewMode: 0,
settings: {
filterPaneEnabled: false,
navContentPaneEnabled: false,
useCustomSaveAsDialog: false
}
};
var $reportContainer = $('#reportContainer'); var report = powerbi.embed($reportContainer.get(0), config);
ashorekumar : i am just starting on poerbi embeeded . can you help with me with where to start on lease