How can I get business unit details of the logged-in user with javascript? I tried Xrm.Utility.getGlobalContext().userSettings but I couldn’t get any information for business unit Answer If you write Xrm.Utility.getGlobalContext().userSettings I assume you are working with client-side javascript inside a Model-driven app. From the userSettings you can get the userId property, it returns the GUID of the current user. After
Tag: dynamics-365
Tweak CRM Sitemap to have different URL navigations for different environments
We want to have different Sitemap subarea Url, so that the Sitemap can be independent of environments & worryfree when we refresh the environments from higher region to lower. Even deployments can be error free & can avoid manual step in post deployment activity. Dev: UAT: Any idea to do that? Answer I ended up doing this workaround as we