Codeunit 6301 Power BI Service Mgt.

Base Application, System.Integration.PowerBI

63 procedures

ProcedureVersions
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).
IsUserReadyForPowerBI(): Boolean17-29
GetPowerBIResourceUrl(): Text17-29
GetPowerBiResourceName(): Text17-29
GetGenericError(): Text17-29
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.
GetContentPacksServicesUrl(): Text17-29
GetContentPacksMyOrganizationUrl(): Text17-29
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.
GetReportsUrl(): Text17-29
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.
GetEnglishContext(): Code[30]17-29
IsUserAdminForPowerBI(UserSecurityId: Guid): Boolean17-29
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).
CheckPowerBITablePermissions(): Boolean17-29
GetPowerBiTelemetryCategory(): Text17-29
CheckForPowerBILicenseInForeground(): Booleannew in 18
SynchronizeReportsInBackground()18 to 25
Pending, tag 23.0, obsolete since 23: This function requires now a context parameter.
IsUserSynchronizingReports(): Booleannew in 18
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.
GetJobQueueCategoryCode(): Code[10]new in 18
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.
SynchronizeReportsInBackground(Context: Text[50])new in 23
AddReportVisualForContext(ReportId: Guid; ReportPageId: Text[200]; ReportVisualId: Text[200]; Context: Text[50])new in 23
AddReportForContext(ReportId: Guid; Context: Text[50])new in 23
internal GetPowerBiFeatureTelemetryName(): Textnew in 23
internal GetEmbedAccessToken(): Text23 to 23
internal CreateServiceProvider(var PowerBIServiceProvider: Interface "Power BI Service Provider")new in 23
InitializeAddinToken(PowerBIManagement: ControlAddIn PowerBIManagement)new in 24
LogVisualLoaded(CorrelationId: Text; EmbedType: Enum "Power BI Element Type")new in 26
LogEmbedError(ErrorCategory: Text)new in 26