Codeunit 6301 "Power BI Service Mgt."
Base Application · System.Integration.PowerBI
Across versions
- BC23present
- BC243 procedures removed, 3 events removed
- BC252 procedures changed, 1 procedures removed
- BC269 procedures removed, 2 procedures changed
- BC27unchanged
- BC283 procedures changed
- BC29-30unchanged
Neighbourhood 24 connected objects and pages
Base Application · System.Integration.PowerBI · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnServiceProviderCreate(var PowerBIServiceProvider: Interface "Power BI Service Provider"; var Handled: Boolean)(internal)
Procedures
CheckForPowerBILicenseInForeground(): BooleanIsUserReadyForPowerBI(): BooleanΔ BC25GetPowerBIResourceUrl(): TextGetPowerBiResourceName(): TextGetGenericError(): TextGetFactboxRatio(): TextΔ BC26 (obsolete 27.0: This function is now deprecated, and the client decides the addin ratio instead.)GetMainPageRatio(): TextΔ BC26 (obsolete 27.0: This function is now deprecated, and the client decides the addin ratio instead.)GetContentPacksServicesUrl(): TextGetContentPacksMyOrganizationUrl(): TextSynchronizeReportsInBackground(Context: Text[50])− BC26 Δ BC28IsUserSynchronizingReports(): BooleanGetReportsUrl(): TextGetEnglishContext(): Code[30]AddReportVisualForContext(ReportId: Guid; ReportPageId: Text[200]; ReportVisualId: Text[200]; Context: Text[50]): Add a Power BI report visual to the database, so that it’s displayed in a certain context for the current user.AddReportForContext(ReportId: Guid; Context: Text[50]): Add a Power BI report to the database, so that it’s displayed in a certain context for the current user.IsUserAdminForPowerBI(UserSecurityId: Guid): BooleanCheckPowerBITablePermissions(): BooleanGetPowerBiTelemetryCategory(): TextGetJobQueueCategoryCode(): Code[10]GetPowerBiFeatureTelemetryName(): Text(internal)InitializeAddinToken(PowerBIManagement: ControlAddIn PowerBIManagement)+ BC24LogVisualLoaded(CorrelationId: Text; EmbedType: Enum "Power BI Element Type")+ BC26 Δ BC28LogEmbedError(ErrorCategory: Text)+ BC26 Δ BC28CreateServiceProvider(var PowerBIServiceProvider: Interface "Power BI Service Provider")(internal)
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 6300 “Azure AD Mgt.” (4 calls:
CreateServiceProvider → GetAccessTokenAsSecretText,InitializeAddinToken → GetAccessTokenAsSecretText,IsUserReadyForPowerBI → GetAccessTokenAsSecretText, …) - Codeunit 6324 “Power BI Url Mgt” (3 calls:
CreateServiceProvider → GetPowerBIApiUrl,GetPowerBIResourceUrl → GetPowerBIResourceUrl,GetReportsUrl → GetPowerBIReportsUrl) - Codeunit 152 “User Permissions” (1 call:
IsUserAdminForPowerBI → IsSuper) - Codeunit 6321 “Power BI Rest Service Provider” (1 call:
CreateServiceProvider → Initialize) - Codeunit 8703 “Feature Telemetry” (1 call:
LogEmbedError → LogError) - Codeunit 9170 “Conf./Personalization Mgt.” (1 call:
GetEnglishContext → GetCurrentProfileNoError)
Called by
- Page 6327 “Power BI Embed Setup Wizard” (9 calls:
CalculateNextStep → GetPowerBiTelemetryCategory,OnOpenPage → CheckPowerBITablePermissions,OnOpenPage → GetPowerBiTelemetryCategory, …) - Codeunit 6319 “Power BI Workspace Mgt.” (7 calls:
AddPersonalWorkspace → GetReportsUrl,AddReportsForWorkspace → CreateServiceProvider,AddReportsForWorkspace → GetPowerBiTelemetryCategory, …) - Page 6325 “Power BI Embedded Report Part” (7 calls:
LoadOptInImage → GetPowerBiTelemetryCategory,OnFindRecord → GetEnglishContext,OnInit → IsUserAdminForPowerBI, …) - Codeunit 6334 “Power BI Upload Step Runner” (5 calls:
GetImport → GetPowerBiTelemetryCategory,OnRun → CreateServiceProvider,RefreshDataset → GetPowerBiTelemetryCategory, …) - Codeunit 6320 “Power BI Filter Helper” (3 calls:
AddToJsonArray → GetPowerBiTelemetryCategory,FindFirstFilter → GetPowerBiTelemetryCategory,IsSupportedFilterValuesCount → GetPowerBiTelemetryCategory) - Page 6320 “Upload Power BI Report” (3 calls:
OnClosePage → SynchronizeReportsInBackground,OnOpenPage → IsUserAdminForPowerBI,OnOpenPage → IsUserReadyForPowerBI) - Page 6324 “Power BI Element Addin Host” (3 calls:
InitializeAddIn → GetPowerBiFeatureTelemetryName,InitializeAddIn → InitializeAddinToken,OnOpenPage → IsUserReadyForPowerBI) - Codeunit 6327 “Power BI Report Aggregator” (2 calls:
GetPowerBIBlob → GetPowerBiTelemetryCategory,LoadOutOfTheBoxReports → GetPowerBiTelemetryCategory) - Codeunit 6349 “PBI Deploy. Upload Tracker” (2 calls:
Save → GetPowerBiTelemetryCategory,TransitionTo → GetPowerBiTelemetryCategory) - Page 6322 “Power BI WS Report Selection” (2 calls:
ShowLatestErrorMessage → GetGenericError,ShowLatestErrorMessage → GetPowerBiTelemetryCategory) - Codeunit 6302 “Power BI Label Mgt.” (1 call:
GetReportLabelsForUserLanguage → GetPowerBiTelemetryCategory) - Codeunit 6322 “Power BI System Upload Tracker” (1 call:
Save → GetPowerBiTelemetryCategory) - Codeunit 6323 “Power BI System Table Report” (1 call:
FinalizeUpload → GetPowerBiTelemetryCategory) - Codeunit 6325 “Power BI Report Synchronizer” (1 call:
OnRun → GetPowerBiTelemetryCategory) - Page 6321 “Power BI Deployments” (1 call:
OnInit → IsUserAdminForPowerBI) - Page 6347 “Power BI Report Deployments” (1 call:
QueueAndSynchronize → SynchronizeReportsInBackground) - Table 6304 “Power BI User Configuration” (1 call:
CreateOrReadForCurrentUser → GetEnglishContext) - Table 6316 “Power BI Deployment” (1 call:
FailCurrentStep → GetPowerBiTelemetryCategory)
Deprecations
- procedure GetFactboxRatio: Pending 27.0 (#if not CLEAN27), “This function is now deprecated, and the client decides the addin ratio instead.”
- procedure GetMainPageRatio: Pending 27.0 (#if not CLEAN27), “This function is now deprecated, and the client decides the addin ratio instead.”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Power BI Service Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.