Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ using System;
page 2503 "Extension Installation"
{
Extensible = false;
ObsoleteReason = 'Use the Business Central admin center to install and manage extensions.';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$\textbf{🟡\ Medium\ Severity\ —\ Upgrade}$

Extension Installation remains part of the non-SaaS install flow: ExtensionMarketplace.Codeunit.al unconditionally instantiates and runs Page "Extension Installation" (via ExtensionInstallationPage.RunModal()), and the same codeunit has explicit non-SaaS handling elsewhere (if not EnvironmentInformation.IsSaaS() then OnOverrideUrl(URL)). Marking the page obsolete with ObsoleteReason = 'Use the Business Central admin center to install and manage extensions.' leaves on-prem consumers of this still-active call path without an actionable replacement.

Knowledge:

👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.31.4

ObsoleteState = Pending;
ObsoleteTag = '29.0';
PageType = Card;
SourceTable = "Extension Installation";
SourceTableTemporary = true;
Expand Down Expand Up @@ -80,4 +83,3 @@ page 2503 "Extension Installation"
end;
}


Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ using System.Integration;
page 2500 "Extension Management"
{
Caption = 'Extension Management';
ObsoleteReason = 'Use the Business Central admin center to upload and manage per-tenant extensions.';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$\textbf{🟡\ Medium\ Severity\ —\ Upgrade}$

Extension Management still runs an explicit non-SaaS display path (IsOnPremDisplay := not IsMarketplaceEnabled or not IsSaaS), and the new deprecation notification only fires if IsSaaS. The ObsoleteReason ('Use the Business Central admin center to upload and manage per-tenant extensions.') names a replacement (the admin center) that is not available to on-prem/non-SaaS consumers of this page, leaving them without an actionable migration path per the obsoletion guidance. Either name a replacement that covers on-prem users too, or hold off marking the page obsolete until the non-SaaS path has one.

Knowledge:

👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.31.4

ObsoleteState = Pending;
ObsoleteTag = '29.0';
AdditionalSearchTerms = 'app,add-in,customize,plug-in,appsource';
ApplicationArea = All;
DeleteAllowed = false;
Expand Down Expand Up @@ -382,9 +385,21 @@ page 2500 "Extension Management"
ActionsEnabled := false;

HelpActionVisible := false;
ShowExtensionManagementDeprecationNotification();
ShowUninstalledExtensionsNotification();
end;

local procedure ShowExtensionManagementDeprecationNotification()
var
DeprecationNotification: Notification;
begin
DeprecationNotification.Id := ExtensionManagementDeprecationNotificationIdTok;
DeprecationNotification.Scope := NotificationScope::LocalScope;
DeprecationNotification.Message(ExtensionManagementDeprecationMsg);
DeprecationNotification.AddAction(ReadMoreHereLbl, Codeunit::"Extension Operation Impl", 'OpenAdminCenterExtensionManagementDocumentation');
DeprecationNotification.Send();
end;

local procedure ShowUninstalledExtensionsNotification()
var
ExtensionDatabaseSnapshot: Record "Extension Database Snapshot";
Expand Down Expand Up @@ -429,6 +444,9 @@ page 2500 "Extension Management"
ShowOrphanedDataLbl: Label 'Show Data';
MarkAllAsReviewedLbl: Label 'Mark All as Reviewed';
OrphanedDataNotificationIdTok: Label 'b1c5a678-2e3f-4d91-a6b0-9f8e7d6c5b4a', Locked = true;
ExtensionManagementDeprecationMsg: Label 'Extension management is moving to the Business Central admin center. Use the admin center to upload and manage per-tenant extensions. This page will become unavailable in a future release.';
ReadMoreHereLbl: Label 'Read more here';
ExtensionManagementDeprecationNotificationIdTok: Label '3be91c11-8195-4c65-be23-20fddbea9bb7', Locked = true;

protected procedure IsSaasEnvironment(): boolean
begin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ codeunit 2503 "Extension Operation Impl"
InstallationFailedOpenDetailsTxt: Label 'App installation failed. User has chosen to see the details.';
InstallationFailedDoNotOpenDetailsTxt: Label 'App installation failed. User has chosen not to check out the details.';
PageCaptionTok: Label '%1 %2', Comment = '%1 = Page default caption %2 = App name';
AdminCenterExtensionManagementUrlLbl: Label 'https://go.microsoft.com/fwlink/?LinkId=2374621', Locked = true;

local procedure AssertIsInitialized()
begin
Expand Down Expand Up @@ -149,6 +150,11 @@ codeunit 2503 "Extension Operation Impl"
exit(true);
end;

procedure OpenAdminCenterExtensionManagementDocumentation(Notification: Notification)
begin
Hyperlink(AdminCenterExtensionManagementUrlLbl);
end;

procedure UnpublishUninstalledPerTenantExtension(PackageID: Guid)
begin
CheckPermissions();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ using System.Globalization;
page 2507 "Upload And Deploy Extension"
{
Extensible = false;
ObsoleteReason = 'Use the Business Central admin center to upload and manage per-tenant extensions.';
ObsoleteState = Pending;
ObsoleteTag = '29.0';
PageType = NavigatePage;
SourceTable = "Published Application";
SourceTableTemporary = true;
Expand Down Expand Up @@ -183,4 +186,3 @@ page 2507 "Upload And Deploy Extension"
DisclaimerLbl: Label 'Per-Tenant Extension (PTE) Disclaimer';
IsAccepted: Boolean;
}

Loading