Hello,
When I use this API:
https://docs.microsoft.com/en-us/rest/api/power-bi/reports/get-pages
https://api.powerbi.com/v1.0/myorg/reports/{reportId}/pages
I get the pages of my report, but only the displayName and order fields. I don't get the "name" field, it's empty.
In my understanding, it's the field I need to build the complete URL to the page.
I get the url of my report with https://api.powerbi.com/v1.0/myorg/reports/{reportId} and the webUrl field, but i would like to build the direct url to my page.
Why I don't get the "name" field ? Any other way to build my url to my page ?
Thanks !
Solved! Go to Solution.
thank you ! your answer helped me detecting the problem : MS documentation indicates "name", but it's "Name".
My report doesn't work anymore ...... they put it back to "name". Thanks MS...😡
My report doesn't work anymore ...... they put it back to "name". Thanks MS...😡
@David_TS which report type are you using? Is it a paginated report or a standard PBIX report?
I just called the API: https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/pages
And got the following in the response body:
{
"@odata.context":"http://wabi-us-north-central-redirect.analysis.windows.net/v1.0/myorg/groups/41ac7a4a-fa22-40d3-bb16...","value":[
{
"Name":"ReportSection5","displayName":"Top 100 Contributors","order":0
},{
"Name":"ReportSectione980957bd37845a89202","displayName":"Traffic","order":1
},{
"Name":"ReportSection4","displayName":"Contributor Commits","order":2
},{
"Name":"ReportSection3","displayName":"Pull Requests","order":3
},{
"Name":"ReportSection1","displayName":"Punch Card","order":4
},{
"Name":"ReportSection6","displayName":"Issues","order":5
},{
"Name":"ReportSection","displayName":"Logos","order":6
}
]
}
thank you ! your answer helped me detecting the problem : MS documentation indicates "name", but it's "Name".
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
2 | |
2 | |
2 |