Codeunit 6319 Power BI Workspace Mgt.

Base Application, System.Integration.PowerBI

Source AL, 280 lines

src/Layers/W1/BaseApp/Modules/System/PowerBI/Embedding/PowerBIWorkspaceMgt.Codeunit.allines 7 to 22 of 280, Copyright (c) Microsoft Corporation. MIT

codeunit 6319 "Power BI Workspace Mgt."{    var        PowerBIServiceMgt: Codeunit "Power BI Service Mgt.";        PowerBIUrlMgt: Codeunit "Power BI Url Mgt";        MyWorkspaceTxt: Label 'My Workspace', Comment = 'Workspace here is meant as "Power BI workspace". The wording "My Workspace" is used by Power BI.', MaxLength = 200;        CouldNotAccessWorkspaceErr: Label 'There was a problem retrieving the reports in My Workspace. Make sure you can access Power BI from the browser and try again.', Comment = 'Workspace here is meant as "Power BI workspace". The wording "My Workspace" is used by Power BI.';        PersonalWorkspaceNotAllowedErr: Label 'Reports can only be deployed to %1 in evaluation companies, because it is the personal workspace of the user who runs the deployment. Choose a shared Power BI workspace on the Company Information page and try again.', Comment = '%1 = the name Power BI gives to the personal workspace, for example "My Workspace"';        //Telemetry        FailedToInsertWorkspaceTelemetryMsg: Label 'Failed to insert workspace in buffer.', Locked = true;        WorkspacesAddedTelemetryMsg: Label 'Workspaces added. Initial count: %1, final count: %2.', Locked = true;        UrlTooLongTelemetryMsg: Label 'Parsing reports encountered a URL that is too long to be saved to ReportEmbedUrl. Length: %1.', Locked = true;        FailedToInsertReportTelemetryMsg: Label 'Could not insert parsed report.', Locked = true;        CouldntGetWorkspacesTelemetryMsg: Label 'Could not retrieve workspaces.', Locked = true;        CouldntGetReportsTelemetryMsg: Label 'Could not retrieve reports from workspace %1.', Locked = true;

All 280 lines

Public procedures 5 in 29

GetMyWorkspaceLabel(): Text[200]new in 19
AddPersonalWorkspace(var TempPowerBISelectionElement: Record "Power BI Selection Element" temporary)new in 19
AddSharedWorkspaces(var TempPowerBISelectionElement: Record "Power BI Selection Element" temporary)new in 19
GetReportsAndWorkspaces(var TempPowerBISelectionElement: Record "Power BI Selection Element" temporary; EnglishContext: Text[30])new in 19
AddReportsForWorkspace(var TempPowerBISelectionElement: Record "Power BI Selection Element" temporary; WorkspaceID: Guid; WorkspaceName: Text[200])new in 24

All 6 procedures in 19-29

Changes 2 in 24

List17181920212223242526272829
Procedures11
Events11
AddReportsForWorkspace(var TempPowerBISelectionElement: Record "Power BI Selection Element" temporary; WorkspaceID: Guid; WorkspaceName: Text[200])new in 24
added
[IntegrationEvent] OnGetReportsAndWorkspaces(var TempPowerBISelectionElement: Record "Power BI Selection Element" temporary; EnglishContext: Text[30])19 to 23
gone

All 4 changes in 19-29