How to Get the AppId of Model Driven App in Dynamics 365 using JavaScript

Gopi NathDyn365CE4 years ago7 Views

Hi Everyone,

Today I was working on something and we need to get AppId in JavaScript. We all know it is available on URL and we can get it from there but we cannot really depend on URL as it is generated by Product and it might change.

After quick check, I found that we can easily get AppId using the below code.

  var globalContext = Xrm.Utility.getGlobalContext();
   ...

Continue Reading Gopinath’s Article on their blog

https://staturestack.com/2020/05/06/how-to-get-the-appid-of-model-driven-app-in-dynamics-365-using-javascript/

Blog Syndicated with Gopinath’s Permission

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
February 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28   
« Jan   Mar »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...