Forum Discussion
User-Defined report in Power BI Embedded
- Anonymous7 years ago
This feature is available, just not as widely documented as View mode.
When generating the token, use client.Reports.GenerateTokenForCreateInGroupAsync(...).
In the javascript code, use datasetId instead of id in the configuration, and call powerbi.createReport(...) instead of powerbi.embed(...).
This will embed a blank report off of the target dataset, and allow the user to save it to the system.
This feature is available, just not as widely documented as View mode.
When generating the token, use client.Reports.GenerateTokenForCreateInGroupAsync(...).
In the javascript code, use datasetId instead of id in the configuration, and call powerbi.createReport(...) instead of powerbi.embed(...).
This will embed a blank report off of the target dataset, and allow the user to save it to the system.
- ecoast166 years agoFrequent Visitor
Hi Anonymous - Do you know if you can also specify the workspace? We are embedding in our webapp, and have it set up so when users view reports they are actually looking at a master workspace, which serves as a library of shared visuals using RLS, and then can save reports from the library to their assigned workspace, but when we try to allow them to create reports from scratch the report saves in the master workspace, and not the one assigned to the tenant.