Plaza 365
Plaza 365

No results found for your search

RegisterLog in

5

Visit article

Dynamics 365 Business Central

Category

Jun 24, 2024

Published date

Text

Article Type


AI Summary

  • The article discusses how to retrieve the Extension Package ID from the App ID in AL.
  • App ID serves as a unique identifier for extensions and remains constant across versions.
  • The Package ID, on the other hand, is unique to each environment and is not saved in the app.json file.
  • Standard functions like UninstallExtension() in codeunit 2504 "Extension Management" use Package ID.
  • Three methods are provided to retrieve the Package ID from the App ID in AL.
  • Method 1 involves using codeunit 2504 "Extension Management" and the GetCurrentlyInstalledVersionPackageIdByAppId procedure.
  • Method 2 utilizes table 2000000153 "NAV App Installed App" to retrieve the Package ID.
  • Method 3 involves using NavApp Data Type and ModuleInfo Data Type to get the Package ID.

Registered users can view the full text for FREE!

Sign In Now!