Forum Discussion
power bi api Get Tile Title returns null
Just need to confirm some behavior.
- Add a visual from a report to a dashboard.
- The visual has Title set to on and the Title appers in the dashboard Tile.
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dashboards/{dashboardId}/tiles/{tileId}After callingThe Tile Title is null.- In PowerBi online in the dashboard click on tile edit details the Title is there (click) apply.
- Call the Get Tile. The Title is now returned as expected.
Is this expected behavior or should the Title be returned by default without having to edit the details and click apply?
3 Replies
- AnonymousNot applicable
HI Anonymous,
I test with the same rest API based on my 'group', 'dashboard', 'tile' id and it works well. It shows the correct 'tile title' and it can be updated if I edit the 'title title' on the dashboard.
{ "title": "Testing", "subTitle": "12314", }What type of tile are you test? The underlying data source and connection mode? Which type of workspace are you test? Please provide more detailed information to help us clarify and troubleshoot your scenario.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
- AnonymousNot applicable
Details:
- Workspace v2
- Connection is using Service Principle
- Underlying datasource was made from a static json file
- Tile was pined from report
- Tile is set to on in Report
- No subtile is set
The call is made in a .Net Core 3.1 web api application
Using Nuget Package Microsoft.PowerBi.API v3.18.0
But I have tested with:
https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/gettilesingroup
Response contains everything except Title.
{ "@odata.context": "http://wabi-canada-central-redirect.analysis.windows.net/v1.0/myorg/groups/{groupId}/$metadata#tiles", "value": [ { "id": "groupId", "embedUrl": "embeddUrl" "rowSpan": 0, "colSpan": 0, "reportId": "reportId", "datasetId": "datasetId" } ] }After editing detials and clicking apply
{ "@odata.context": "http://wabi-canada-central-redirect.analysis.windows.net/v1.0/myorg/groups/{groupId}/$metadata#tiles", "value": [ { "id": "groupId", "title": "test", "embedUrl": "embedUrl", "rowSpan": 0, "colSpan": 0, "reportId": "reportId", "datasetId": "datasetId" } ] }- AnonymousNot applicable
Hi Anonymous,
Did this issue only appear with specific workspaces? have you test with other type of workspace contents?
Regards,
Xiaoxin Sheng