We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
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
User | Count |
---|---|
8 | |
5 | |
4 | |
4 | |
3 |
User | Count |
---|---|
12 | |
8 | |
5 | |
4 | |
3 |