Codeunit 6301 Power BI Service Mgt.

Base Application, System.Integration.PowerBI

43 obsolete

Procedures 40

GetReports(var TempPowerBIReportBuffer: Record "Power BI Report Buffer" temporary; var ExceptionMessage: Text; var ExceptionDetails: Text; EnglishContext: Text[30])gone after 21
Pending, tag 19.0, obsolete since 19: Use GetReportsAndWorkspaces in codeunit "Power BI Workspace Mgt." instead.
GetReportsForUserContext(var TempPowerBIReportBuffer: Record "Power BI Report Buffer" temporary; var ExceptionMessage: Text; var ExceptionDetails: Text; EnglishContext: Text[30])gone after 21
Pending, tag 19.0, obsolete since 19: Use the GetReportsForUserContext without the ExceptionMessage and ExceptionDetails parameters.
CheckForPowerBILicense(): Booleangone after 20
Pending, tag 18.0, obsolete since 18: License check is no longer performed as a background task. Use CheckForPowerBILicenseInForeground instead.
IsReportEnabled(ReportId: Guid; EnglishContext: Text): Booleangone after 25
Pending, tag 23.0, obsolete since 23: A report is enabled for a context if there is a mathcing entry in table "Power BI Report Configuration". Substitute calls to IsReportEnabled(ReportId, Context) with PowerBIReportConfiguration.Get(UserSecurityId(), ReportId, Context).
GetReportPageSize(): Textgone after 22
Pending, tag 20.0, obsolete since 20: Use GetFactboxRatio or GetMainPageRatio instead.
GetUnauthorizedErrorText(): Textgone after 25
Pending, tag 23.0, obsolete since 23: Error texts should be defined per extension. In other words, define your own text constants.
GetPowerBIUrl(): Textgone after 21
Pending, tag 19.0, obsolete since 19: Use the function GetLicenseUrl of codeunit 6324 "Power BI Url Mgt" instead.
UploadDefaultReportInBackground()gone after 20
Pending, tag 18.0, obsolete since 18: Use SynchronizeReportsInBackground instead
UploadDefaultReport()gone after 20
Pending, tag 18.0, obsolete since 18: Run codeunit "Power BI Report Synchronizer" instead
RetryUnfinishedReportsInBackground()gone after 20
Pending, tag 18.0, obsolete since 18: Use SynchronizeReportsInBackground instead
RetryAllPartialReportUploads()gone after 20
Pending, tag 18.0, obsolete since 18: Run codeunit "Power BI Report Synchronizer" instead
SelectDefaultReports()gone after 20
Pending, tag 18.0, obsolete since 18: Use PowerBIReportSynchronizer.SelectDefaultReports instead
DeleteDefaultReportsInBackground()gone after 20
Pending, tag 18.0, obsolete since 18: Use SynchronizeReportsInBackground instead
DeleteMarkedDefaultReports()gone after 20
Pending, tag 18.0, obsolete since 18: Run codeunit "Power BI Report Synchronizer" instead
UserNeedsToDeployReports(Context: Text[50]): Booleangone after 20
Pending, tag 18.0, obsolete since 18: Use PowerBIReportSynchronizer.UserNeedsToSynchronize instead
UserNeedsToRetryUploads(): Booleangone after 20
Pending, tag 18.0, obsolete since 18: Use PowerBIReportSynchronizer.UserNeedsToSynchronize instead
UserNeedsToDeleteReports(): Booleangone after 20
Pending, tag 18.0, obsolete since 18: Use PowerBIReportSynchronizer.UserNeedsToSynchronize instead
IsUserDeployingReports(): Booleangone after 20
Pending, tag 18.0, obsolete since 18: Use IsUserSynchronizingReports instead.
IsUserRetryingUploads(): Booleangone after 20
Pending, tag 18.0, obsolete since 18: Use IsUserSynchronizingReports instead.
IsUserDeletingReports(): Booleangone after 20
Pending, tag 18.0, obsolete since 18: Use IsUserSynchronizingReports instead.
SetIsDeployingReports(IsDeploying: Boolean)gone after 20
Pending, tag 18.0, obsolete since 18: Use SetIsSynchronizing instead.
SetIsRetryingUploads(IsRetrying: Boolean)gone after 20
Pending, tag 18.0, obsolete since 18: Use SetIsSynchronizing instead.
SetIsDeletingReports(IsDeleting: Boolean)gone after 20
Pending, tag 18.0, obsolete since 18: Use SetIsSynchronizing instead.
IsPBIServiceAvailable(): Booleangone after 24
Pending, tag 22.0, obsolete since 22: Power BI service status is no longer cached.
LogException(var ExceptionMessage: Text; var ExceptionDetails: Text)gone after 18
Pending, tag 16.0, obsolete since 17: Use more specific tags to make data classification and filtering easier.
LogMessage(Message: Text)gone after 18
Pending, tag 16.0, obsolete since 17: Use more specific tags to make data classification and filtering easier.
CanHandleServiceCalls(): Booleangone after 23
Pending, tag 21.0, obsolete since 21: Disabling the integration through AzureADMgtSetup has been discontinued. Remove permissions from single users instead.
HasUploads(): Booleangone after 25
Pending, tag 23.0, obsolete since 23: Check "Power BI Report Uploads" table directly
GetFactboxFilterFromID(PageId: Text): Textgone after 21
Pending, tag 19.0, obsolete since 19: Hardcoded name filtering for reports is deprecated. The user can search reports with the builtin search function in the page.
GetData(var ExceptionMessage: Text; var ExceptionDetails: Text; Url: Text): Textgone after 25
Pending, tag 23.0, obsolete since 23: Use interface "Power BI Service Provider" and its implementations instead.
GetDataCatchErrors(var ExceptionMessage: Text; var ExceptionDetails: Text; var ErrorStatusCode: Integer; Url: Text): Textgone after 25
Pending, tag 23.0, obsolete since 23: Use interface "Power BI Service Provider" and its implementations instead.
IsPowerBIDeploymentEnabled(): Booleangone after 23
Pending, tag 21.0, obsolete since 21: Global switch for Power BI report deployment is no longer supported.
GetIsDeployingReports(): Booleangone after 20
Pending, tag 18.0, obsolete since 18: User IsUserSynchronizingReports instead
UpdateEmbedUrlCache(var TempPowerBIReportBuffer: Record "Power BI Report Buffer" temporary; EnglishContext: Text)gone after 21
Pending, tag 19.0, obsolete since 19: This function was used to update old records just-in-time, and is no longer needed.
FormatSpecialChars(Selection: Text): Textgone after 25
Pending, tag 23.0, obsolete since 23: Use platform capabilities to escape text in JSON strings instead. For example, text is escaped by platform when calling JsonArray.Add(Text).
SynchronizeReportsInBackground()18 to 25
Pending, tag 23.0, obsolete since 23: This function requires now a context parameter.
SetIsSynchronizing(IsSynchronizing: Boolean)18 to 25
Pending, tag 23.0, obsolete since 23: Information on whether the user is synchronizing reports is no longer kept in a dedicated table. Instead, a user is synchronizing if they have a pending job queue entry for codeunit Power BI Report Synchronizer. If you want to stop synchronization for a user, create a new Job Queue Entry for codeunit Power BI Report Synchronizer and set it to On Hold. If you want to restart synchronization, make sure there is a ready job queue entry for codeunit Power BI Report Synchronizer.
GetReportsForUserContext(var TempPowerBIReportBuffer: Record "Power BI Report Buffer" temporary; EnglishContext: Text[30])19 to 23
Pending, tag 21.0, obsolete since 21: Use physical table PowerBIReportConfiguration instead of temporary table TempPowerBIReportBuffer.
GetFactboxRatio(): Textnew in 20
Pending, tag 27.0, obsolete since 26: This function is now deprecated, and the client decides the addin ratio instead.
GetMainPageRatio(): Textnew in 20
Pending, tag 27.0, obsolete since 26: This function is now deprecated, and the client decides the addin ratio instead.

Events 3

[IntegrationEvent] OnGetReports(var TempPowerBIReportBuffer: Record "Power BI Report Buffer" temporary; var ExceptionMessage: Text; var ExceptionDetails: Text; EnglishContext: Text[30])gone after 23changed in 18
Pending, tag 21.0, obsolete since 21: Events to override the Power BI integration behavior are no longer supported.
[IntegrationEvent] OnUploadReports(var ApiRequestList: DotNet ImportReportRequestList; var ApiResponseList: DotNet ImportReportResponseList)gone after 23changed in 18
Pending, tag 21.0, obsolete since 21: Events to override the Power BI integration behavior are no longer supported.
[IntegrationEvent] OnRetryUploads(var ImportIdList: DotNet ImportedReportRequestList; var ApiResponseList: DotNet ImportedReportResponseList)gone after 23changed in 18
Pending, tag 21.0, obsolete since 21: Events to override the Power BI integration behavior are no longer supported.