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

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

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

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 gen…

Blog Syndicated with Gopinath’s Permission

Author: Gopi Nath

Share This Post On
Share via
Copy link
Powered by Social Snap