Hi,
i am able t embed the power bi into MVC application.
what i want is , i need to hide the page in the report and provide the list of pages as list view and when user click on the particular page name, then the navigation should happen
i disabled the page using the navContentPaneEnabled as false but now i am stuck with creating menu list view. i searched the github and there is a function available as below, but i am not a expert in MVC or java script
can someone help me here .
this is the reference code
// Get a reference to the embedded report HTML element var reportContainer = $('#reportContainer')[0]; // Get a reference to the embedded report. report = powerbi.get(reportContainer); // Retrieve the page collection and loop through to collect the // page name and display name of each page and display the value. report.getPages() .then(function (pages) { pages.forEach(function(page) { var log = page.name + " - " + page.displayName; Log.logText(log); }); }) .catch(function (error) { Log.log(error); });