Forum Discussion
Embedding in our mobile app
- 7 years ago
Hi Anonymous,
This is totally possible. I think the two key parts are getting token and embedding contents. There are two types of embedding of Power BI. Please refer to developer/embedding.
1. Embedding for the organization. If users log in with their own accounts, I would suggest you use the Power BI Mobile App instead.
2. Embedding for the customer.
2.1 Get the access token with Azure ADAL library, which has many versions for different programming languages. One reference: azure-activedirectory-library-for-java.
2.2 Get the embedded token with the access token. We might have to call the REST API.
2.3 Embed the contents in Phone view with the Power BI client.
There is a live demo which shows the Phone view. Please refer to PowerBI-JavaScript/demo/v2-demo.
To be honest, I'm not good at the mobile. There could many approaches of a mobile App. So here are ideas about embedding Power BI contents. Please feel free to post your questions.
Best Regards,
Dale
Hi Anonymous,
This is totally possible. I think the two key parts are getting token and embedding contents. There are two types of embedding of Power BI. Please refer to developer/embedding.
1. Embedding for the organization. If users log in with their own accounts, I would suggest you use the Power BI Mobile App instead.
2. Embedding for the customer.
2.1 Get the access token with Azure ADAL library, which has many versions for different programming languages. One reference: azure-activedirectory-library-for-java.
2.2 Get the embedded token with the access token. We might have to call the REST API.
2.3 Embed the contents in Phone view with the Power BI client.
There is a live demo which shows the Phone view. Please refer to PowerBI-JavaScript/demo/v2-demo.
To be honest, I'm not good at the mobile. There could many approaches of a mobile App. So here are ideas about embedding Power BI contents. Please feel free to post your questions.
Best Regards,
Dale