-
Notifications
You must be signed in to change notification settings - Fork 430
Obsolete objects and add deprecation notices for PTE upload/install in Extension Management #10046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
1486ab5
989e660
7573751
79177cb
2d7c664
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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.'; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
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; | ||
|
|
@@ -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"; | ||
|
|
@@ -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 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extension Installationremains part of the non-SaaS install flow:ExtensionMarketplace.Codeunit.alunconditionally instantiates and runsPage "Extension Installation"(viaExtensionInstallationPage.RunModal()), and the same codeunit has explicit non-SaaS handling elsewhere (if not EnvironmentInformation.IsSaaS() then OnOverrideUrl(URL)). Marking the page obsolete withObsoleteReason = '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