The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Microsoft announced you can now create Paginated Reports in the Web Browser:
Low code authoring of paginated reports | Microsoft Power BI Blog | Microsoft Power BI
I can embed a Paginated report using the following code:
var generateTokenRequestParameters = new GenerateTokenRequest(accessLevel: TokenAccessLevel.View);
var tokenResponse = await client.Reports.GenerateTokenAsync(
new Guid(workspaceId),
new Guid(reportId),
generateTokenRequestParameters);
result.EmbedToken = tokenResponse;
result.EmbedUrl = report.EmbedUrl;
result.Id = report.Id.ToString();
await Interop.EditReport(
JSRuntime,
PowerBIElement,
tokenResponse.Token,
report.EmbedUrl,
report.Id.ToString());
But trying to use Edit mode does not work:
var generateTokenRequestParameters = new GenerateTokenRequest(accessLevel: TokenAccessLevel.Edit);
var tokenResponse = await client.Reports.GenerateTokenAsync(
new Guid(workspaceId),
new Guid(reportId),
generateTokenRequestParameters);
result.EmbedToken = tokenResponse;
result.EmbedUrl = report.EmbedUrl;
result.Id = report.Id.ToString();
await Interop.EditReport(
JSRuntime,
PowerBIElement,
tokenResponse.Token,
report.EmbedUrl,
report.Id.ToString());
Solved! Go to Solution.
Hi @MichaelWash,
Current power bi seems not support to embed paginated report in edit mode, you can embed it in view mode.
Regards,
Xiaoxin Sheng
Hi @MichaelWash,
Current power bi seems not support to embed paginated report in edit mode, you can embed it in view mode.
Regards,
Xiaoxin Sheng