Today I would like to brefily talk about how to get the list of Extension ID (App ID), Extension Name, etc. via AL in Business Central SaaS.
I saw this question on Twitter this morning. He tried to use ‘Published Application‘ (table 2000000206 “Published Application”) to get the list of Extensions. But unfortunately, ‘Published Application‘ has scope ‘OnPrem‘ and cannot be used for ‘Extension’ development.
The same is true for the ‘Installed Application‘ (table 2000000212 “Installed Application”).
So, how to do this? In fact, it’s not that difficult. Microsoft has prepared a system table for cloud.
table 2000000153 “NAV App Installed App”
All fields in the table.
You can declare it as a variable.
Or use this table to create a new list page.
It can be used in a SaaS production environment without any problem.
Isn’t it very simple? Give it a try!!!😁
1. If you only want to get information about the extension that is currently running, you can refer to the link below.
How to get information about the extension that is currently running (ModuleInfo Data Type and NavApp.GetCurrentModuleInfo Method)
2. You can also use APIs to get extension list.
More details: Automation APIs for Dynamics 365 Business Central SaaS
Hope this will help.
Thanks for reading.