Forum Discussion
manage Power BI Life cycle
mdsajidfaizan wrote:
Can anyone give me some code reference from where i can use .NET sdk/ Javascript API to perform following task:
create workspace collection
Create workspace
create dataset
create new reports
publish reports
create new dashboard
pin items to dashboard
same can be updated/deleted.
My Requirement is to achive these tasks using pure web application, no windows/console.
I appreciate your help.
Thank you.
I see "create workspace collection“, so I think you're using Power BI Embedded. In Power BI Embedded, there's no dashboard. For both Power BI service and Power BI Embedded, there're no such REST APIs to create/edit reports, dashboards or tiles. For the rest of your requirement, you can reference this github repo. The ProvisionSample covers most of your requirements.
Hello Eric,
I thank you for clearing my base. I also understand the limitations of each API/Methods.
But i am not able to perform all my tasks, as i have to use only web application interface in single application, i can't use desktop/console here. I am still working on the console applicaiton sample and trying it to convert into web. Meanwhile if you see any other option to close all my needs, it would be very helpful.
I will look forward to get more clarifications/any other work around which suits the business.
But microsoft should think once before releasing any API which has limitations, if a developer cant perform certain task for a technology which costs money, it is really an annoying thing.
Thank you.