Notifications
Announcements
No record found.
Hi, How can I get Application ID of my current running app in business central ?I have used Session.ApplicationIdentifier() but it gives 'NAV' as result not the appId which is like 63ca2fa4-4f03-4f2b-a980-172fef340d1w this. Can anyone help ?
try using Navapp.GetCurrentModuleInfo();
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/navapp/navapp-getcurrentmoduleinfo-method
NavApp.GetCurrentModuleInfo is what you need. It returns a ModuleInfo object that represents information about an application consumable from AL.
From this object you can retrieve the ID by using YourModuleInfo.Id();
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,092
YUN ZHU 663 Super User 2025 Season 2
Sumit Singh 515