In the Business Central, some time we would like to perform certain operation depended upon another extension installed on the same tenant and the only idea comes to our mind is via app dependency, but there is something else which can be useful if you are only looking to access the data from the other extension. In today’s Blog we are going to talk about how to check another extension and its data deployed on the same tenant.
Using the Microsoft library called Microsoft.Dynamics.Nav.Apps.Management We can use Get-NAVAPPinfo to get the basic information about the Business central APP installed on the tenant. [Ok: =] NavApp.GetModuleInfo(AppId: Guid, var Info: ModuleInfo) It will return false if the supplied AppId is not installed, otherwise, you’ll get all info about the installed app in the Info variable. So, we can create a procedure like in image below.