Dynamics 365 Business Central SaaS: How to get the list of Extension ID (App ID), Extension Name, Publisher, etc. via AL

Dynamics 365 Business Central

Hi, Readers.
Today I would like to briefly 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!!!😁

PS:
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
For example:

https://api.businesscentral.dynamics.com/v2.0/d8f36038-1f93-4543-affc-5dc92b6ee871/Sandbox02/api/microsoft/automation/v2.0/companies(57a3d50a-d66f-ec11-bb80-000d3a29933c)/extensions

END

Hope this will help.

Thanks for reading.

ZHU

コメント

Copied title and URL