Procedures, 63

NameParametersReturnsAccessVersionsObsolete
GetReports(var Record Power BI Report Buffer, var Text, var Text, Text[30])public17-21, gonePending 19.0
Use GetReportsAndWorkspaces in codeunit "Power BI Workspace Mgt." instead.
GetReportsForUserContext(var Record Power BI Report Buffer, var Text, var Text, Text[30])public17-21, gonePending 19.0
Use the GetReportsForUserContext without the ExceptionMessage and ExceptionDetails parameters.
CheckForPowerBILicense()Booleanpublic17-20, gonePending 18.0
License check is no longer performed as a background task. Use CheckForPowerBILicenseInForeground instead.
IsReportEnabled(Guid, Text)Booleanpublic17-25, gonePending 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()Booleanpublic17-28-
GetPowerBIResourceUrl()Textpublic17-28-
GetPowerBiResourceName()Textpublic17-28-
GetGenericError()Textpublic17-28-
GetReportPageSize()Textpublic17-22, gonePending 20.0
Use GetFactboxRatio or GetMainPageRatio instead.
GetUnauthorizedErrorText()Textpublic17-25, gonePending 23.0
Error texts should be defined per extension. In other words, define your own text constants.
GetPowerBIUrl()Textpublic17-21, gonePending 19.0
Use the function GetLicenseUrl of codeunit 6324 "Power BI Url Mgt" instead.
GetContentPacksServicesUrl()Textpublic17-28-
GetContentPacksMyOrganizationUrl()Textpublic17-28-
UploadDefaultReportInBackground()public17-20, gonePending 18.0
Use SynchronizeReportsInBackground instead
UploadDefaultReport()public17-20, gonePending 18.0
Run codeunit "Power BI Report Synchronizer" instead
RetryUnfinishedReportsInBackground()public17-20, gonePending 18.0
Use SynchronizeReportsInBackground instead
RetryAllPartialReportUploads()public17-20, gonePending 18.0
Run codeunit "Power BI Report Synchronizer" instead
SelectDefaultReports()public17-20, gonePending 18.0
Use PowerBIReportSynchronizer.SelectDefaultReports instead
DeleteDefaultReportsInBackground()public17-20, gonePending 18.0
Use SynchronizeReportsInBackground instead
DeleteMarkedDefaultReports()public17-20, gonePending 18.0
Run codeunit "Power BI Report Synchronizer" instead
UserNeedsToDeployReports(Text[50])Booleanpublic17-20, gonePending 18.0
Use PowerBIReportSynchronizer.UserNeedsToSynchronize instead
UserNeedsToRetryUploads()Booleanpublic17-20, gonePending 18.0
Use PowerBIReportSynchronizer.UserNeedsToSynchronize instead
UserNeedsToDeleteReports()Booleanpublic17-20, gonePending 18.0
Use PowerBIReportSynchronizer.UserNeedsToSynchronize instead
IsUserDeployingReports()Booleanpublic17-20, gonePending 18.0
Use IsUserSynchronizingReports instead.
IsUserRetryingUploads()Booleanpublic17-20, gonePending 18.0
Use IsUserSynchronizingReports instead.
IsUserDeletingReports()Booleanpublic17-20, gonePending 18.0
Use IsUserSynchronizingReports instead.
SetIsDeployingReports(Boolean)public17-20, gonePending 18.0
Use SetIsSynchronizing instead.
SetIsRetryingUploads(Boolean)public17-20, gonePending 18.0
Use SetIsSynchronizing instead.
SetIsDeletingReports(Boolean)public17-20, gonePending 18.0
Use SetIsSynchronizing instead.
IsPBIServiceAvailable()Booleanpublic17-24, gonePending 22.0
Power BI service status is no longer cached.
LogException(var Text, var Text)public17-18, gonePending 16.0
Use more specific tags to make data classification and filtering easier.
LogMessage(Text)public17-18, gonePending 16.0
Use more specific tags to make data classification and filtering easier.
CanHandleServiceCalls()Booleanpublic17-23, gonePending 21.0
Disabling the integration through AzureADMgtSetup has been discontinued. Remove permissions from single users instead.
HasUploads()Booleanpublic17-25, gonePending 23.0
Check "Power BI Report Uploads" table directly
GetFactboxFilterFromID(Text)Textpublic17-21, gonePending 19.0
Hardcoded name filtering for reports is deprecated. The user can search reports with the builtin search function in the page.
GetData(var Text, var Text, Text)Textpublic17-25, gonePending 23.0
Use interface "Power BI Service Provider" and its implementations instead.
GetDataCatchErrors(var Text, var Text, var Integer, Text)Textpublic17-25, gonePending 23.0
Use interface "Power BI Service Provider" and its implementations instead.
GetReportsUrl()Textpublic17-28-
IsPowerBIDeploymentEnabled()Booleanpublic17-23, gonePending 21.0
Global switch for Power BI report deployment is no longer supported.
GetIsDeployingReports()Booleanpublic17-20, gonePending 18.0
User IsUserSynchronizingReports instead
UpdateEmbedUrlCache(var Record Power BI Report Buffer, Text)public17-21, gonePending 19.0
This function was used to update old records just-in-time, and is no longer needed.
GetEnglishContext()Code[30]public17-28-
IsUserAdminForPowerBI(Guid)Booleanpublic17-28-
FormatSpecialChars(Text)Textpublic17-25, gonePending 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()Booleanpublic17-28-
GetPowerBiTelemetryCategory()Textpublic17-28-
CheckForPowerBILicenseInForeground()Booleanpublic18-28-
SynchronizeReportsInBackground()public18-25, gonePending 23.0
This function requires now a context parameter.
IsUserSynchronizingReports()Booleanpublic18-28-
SetIsSynchronizing(Boolean)public18-25, gonePending 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]public18-28-
GetReportsForUserContext(var Record Power BI Report Buffer, Text[30])public19-23, gonePending 21.0
Use physical table PowerBIReportConfiguration instead of temporary table TempPowerBIReportBuffer.
GetFactboxRatio()Textpublic20-28Pending 27.0
This function is now deprecated, and the client decides the addin ratio instead.
GetMainPageRatio()Textpublic20-28Pending 27.0
This function is now deprecated, and the client decides the addin ratio instead.
SynchronizeReportsInBackground(Text[50])public23-28-
AddReportVisualForContext(Guid, Text[200], Text[200], Text[50])public23-28-
AddReportForContext(Guid, Text[50])public23-28-
GetPowerBiFeatureTelemetryName()Textinternal23-28-
GetEmbedAccessToken()Textinternal23, gone-
CreateServiceProvider(var Interface Power BI Service Provider)internal23-28-
InitializeAddinToken(ControlAddIn PowerBIManagement)public24-28-
LogVisualLoaded(Text, Enum Power BI Element Type)public26-28-
LogEmbedError(Text)public26-28-