Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Power BI Embedded sample in Spring MVC framework

Requirements

Embed a Power BI report

  1. Refer to the documentation and register a Power BI app here.
  2. Put required values in the config/Config.java file related to AAD app, Power BI report, workspace, dataset, and user account information.
  3. Save and run the application.

Steps to build and run:

  1. Open Eclipse

  2. To import project, Select File > Open Projects from File System...

  3. Add tomcat server to the project

    1. Right click Project's name from Project Explorer > Click Properties.
    2. Select Targeted Runtimes
    3. If there are no runtimes in the list,
      1. Click New
      2. Select a Tomcat version from Apache directory
      3. Click Next
      4. Select JRE (leave as default if already available)
      5. Click Finish
    4. Select Apache Tomcat (or any other runtime) from the list.
    5. Click Apply and Close
  4. Run the project

    1. Right click Project's name from Project Explorer
    2. Select Run As > Run on Server
    3. Select the created server and click Finish
    4. Report embedding page (http://<BASE_URL>/appownsdatasample) should load.