Codeunit 6301 Power BI Service Mgt. in 23

App
Base Application
Namespace
System.Integration.PowerBI

Procedures, 34Events, 4

Versions171819202122232425262728latest

Source29

Procedures, 34

NameParametersReturnsAccessObsolete
IsReportEnabled(Guid, Text)BooleanpublicPending 23.0
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()Booleanpublic-
GetPowerBIResourceUrl()Textpublic-
GetPowerBiResourceName()Textpublic-
GetGenericError()Textpublic-
GetUnauthorizedErrorText()TextpublicPending 23.0
Error texts should be defined per extension. In other words, define your own text constants.
GetContentPacksServicesUrl()Textpublic-
GetContentPacksMyOrganizationUrl()Textpublic-
IsPBIServiceAvailable()BooleanpublicPending 22.0
Power BI service status is no longer cached.
CanHandleServiceCalls()BooleanpublicPending 21.0
Disabling the integration through AzureADMgtSetup has been discontinued. Remove permissions from single users instead.
HasUploads()BooleanpublicPending 23.0
Check "Power BI Report Uploads" table directly
GetData(var Text, var Text, Text)TextpublicPending 23.0
Use interface "Power BI Service Provider" and its implementations instead.
GetDataCatchErrors(var Text, var Text, var Integer, Text)TextpublicPending 23.0
Use interface "Power BI Service Provider" and its implementations instead.
GetReportsUrl()Textpublic-
IsPowerBIDeploymentEnabled()BooleanpublicPending 21.0
Global switch for Power BI report deployment is no longer supported.
GetEnglishContext()Code[30]public-
IsUserAdminForPowerBI(Guid)Booleanpublic-
FormatSpecialChars(Text)TextpublicPending 23.0
Use platform capabilities to escape text in JSON strings instead. For example, text is escaped by platform when calling JsonArray.Add(Text).
CheckPowerBITablePermissions()Booleanpublic-
GetPowerBiTelemetryCategory()Textpublic-
CheckForPowerBILicenseInForeground()Booleanpublic-
SynchronizeReportsInBackground()publicPending 23.0
This function requires now a context parameter.
IsUserSynchronizingReports()Booleanpublic-
SetIsSynchronizing(Boolean)publicPending 23.0
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]public-
GetReportsForUserContext(var Record Power BI Report Buffer, Text[30])publicPending 21.0
Use physical table PowerBIReportConfiguration instead of temporary table TempPowerBIReportBuffer.
GetFactboxRatio()Textpublic-
GetMainPageRatio()Textpublic-
SynchronizeReportsInBackground(Text[50])public-
AddReportVisualForContext(Guid, Text[200], Text[200], Text[50])public-
AddReportForContext(Guid, Text[50])public-
GetPowerBiFeatureTelemetryName()Textinternal-
GetEmbedAccessToken()Textinternal-
CreateServiceProvider(var Interface Power BI Service Provider)internal-

Events, 4

KindNameParametersObsolete
Integration eventOnGetReports(var Record Power BI Report Buffer, var Text, var Text, Text[30])Pending 21.0
Events to override the Power BI integration behavior are no longer supported.
Integration eventOnUploadReports(var DotNet ImportReportRequestList, var DotNet ImportReportResponseList)Pending 21.0
Events to override the Power BI integration behavior are no longer supported.
Integration eventOnRetryUploads(var DotNet ImportedReportRequestList, var DotNet ImportedReportResponseList)Pending 21.0
Events to override the Power BI integration behavior are no longer supported.
Internal eventOnServiceProviderCreate(var Interface Power BI Service Provider, var Boolean)-