web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Get Application ID in business central

(0) ShareShare
ReportReport
Posted on by 115

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 ?

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Get Application ID in business central

    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();

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Get Application ID in business central

    try using Navapp.GetCurrentModuleInfo();

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/navapp/navapp-getcurrentmoduleinfo-method

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,878

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,405

#3
Sumit Singh Profile Picture

Sumit Singh 2,865

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans