Codeunit 2501 Extension Marketplace

System Application, System.Apps

Source AL, 479 lines

src/System Application/App/Extension Management/src/ExtensionMarketplace.Codeunit.allines 28 to 43 of 479, Copyright (c) Microsoft Corporation. MIT

codeunit 2501 "Extension Marketplace"{    Access = Internal;    Permissions = tabledata "Extension Pending Setup" = rimd,                  tabledata "Published Application" = r;    var        HttpWebRequest: DotNet HttpWebRequest;        GlobalPropertyValue: Text;        ParseFailureErr: Label 'Failed to extract ''%1'' property from JSON object.', Comment = 'JSON parsing error. %1=target property name';        TelemetryBodyTxt: Label '{"acquisitionResult":"%1", "detail":"%2"}', Comment = '%1=AppSource operation result option, %2=details describing the context or reason for the result', Locked = true;        ParseApplicationIdErr: Label 'Failed to extract ''%1'' token from Application Id.', Comment = '%1=Name of token that we expected   ';        Token: Option PUBID,AID,PAPPID;        MarketplaceDisabledSecretTxt: Label 'extmgmt-marketplace-disable', Locked = true;        MarketPlaceSuccInstallTxt: Label 'The extension was successfully installed.';        MarketPlaceUnsuccInstallTxt: Label 'The market place extension installation has failed with the result ''%1''. Error message: ''%2''', Comment = '%1 - OperationResult parameter value, %2 - Error message';

All 479 lines

Events 1 in 29

[InternalEvent] OnOverrideUrl(var Url: Text)17-29

Public procedures 16 in 29

GetTelementryUrlFromData(JObject: DotNet JObject): Text17-29
MapMarketplaceIdToAppId(MarketplaceApplicationId: Text): Guid17-29changed in 23
MakeMarketplaceTelemetryCallback(ResponseURL: Text; InstallationResult: Option UserNotAuthorized,DeploymentFailedDueToPackage,DeploymentFailed,Successful,UserCancel,UserTimeOut)17-29changed in 21
InstallAppsourceExtension(MarketplaceApplicationId: Text; TelemetryURL: Text): Boolean17-29changed in 23
InstallExtension(MarketplaceApplicationID: Text; ResponseURL: Text): Boolean17-29changed in 23
IsMarketplaceEnabled(): Boolean17-29

All 19 procedures in 17-29

Changes 1 in 28

List17181920212223242526272829
Procedures7711
GetMarketplaceEmbeddedUrl(): Textgone after 27
gone

All 16 changes in 17-29