Forum Discussion
Looking pure javascript code sample for embed power bi
- Anonymous8 years agoHi ,
Did you check the demo here https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html?
Hope it helps.
Thanos
Hi Thanosd,
Thank you for the reply.
The link you provide is very useful, but I have to use web brower develper tool to copy the code then strip out 90% of js libs, css, code which I don't need for understanding what is the only neccessary js libs and js functions for my own code.
If there are some sample code which only contains the following items will be nice:
--js libs
--html page
--js function to request token
--then request power bi pages with token
--then display in the div place holder.
This will be easy to integrate into my own code and start to learn it.
You could also see some end to end examples here https://github.com/Microsoft/PowerBI-Developer-Samples/tree/master/App%20Owns%20Data
This includes how you can get a token and embed a report in a Web page.
Hope it helps.
Thanos
- aaronchen8 years agoRegular Visitor
Hi Thanosd,
Thanks for all the information. They are all very helpful.
I also found this one is more close to what I need.
- Anonymous7 years agoNot applicable
aaronchen : i am just starting on powerbi embeded can you help me were to start on with
- sumukh4 years agoNew Member
Hi aaronchen,
This fleet app that you've mentioned doesn't exist. I am also looking for a simple javascript example to embed power BI reports. Can you please help?
Thank you