Forum Discussion
Edit/create with app owns data
- 5 years ago
Anonymous - Correct, you have to create your own workspaces with Power BI Embedded, it isn't built in that every user gets a workspace. But, remember, you are writing your own application on top of Power BI Embedded. You can add an "Edit" button that, for example,
- Creates a new workspace for the user if it does not already exist
- Stores an attribute in the SQL database for the application for this user's workspace
- Copies the report to the workspace
- Opens the report in edit mode
Anonymous - Correct, you have to create your own workspaces with Power BI Embedded, it isn't built in that every user gets a workspace. But, remember, you are writing your own application on top of Power BI Embedded. You can add an "Edit" button that, for example,
- Creates a new workspace for the user if it does not already exist
- Stores an attribute in the SQL database for the application for this user's workspace
- Copies the report to the workspace
- Opens the report in edit mode
Greg_Deckler : Thank you, Greg! It is getting much more clear for me.
One more thing :
Is it true, that we cannot use "My Workspace" within the app owns data option?
So in the case, if I want to provide the endusers with the possibility to create own reports in theier own workspaces, i need to create this workspaces.
Alternatively I'm also able to use user owns data option, as it is possible for me, to create AAD accounts for this users. Then the users could simple use their own "My Workspace" within the powerbi.com. Not sure, if I it also possible to access "My Workspace" through API, as it does not have any ID?
- Greg_Deckler5 years agoCommunity Champion
Anonymous - So yes to the first question. Second question yes, but I do not know about accessing it via the API.