We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbfbeea commit f8e847bCopy full SHA for f8e847b
1 file changed
src/XrmDefinitelyTyped/Resources/dg.xrmquery.web.ts
@@ -1310,6 +1310,11 @@ namespace XQW {
1310
return GetGlobalContext().getClientUrl();
1311
}
1312
} catch (e) {}
1313
+ try {
1314
+ if (Xrm && Xrm.Utility && Xrm.Utility.getGlobalContext) {
1315
+ return Xrm.Utility.getGlobalContext().getClientUrl();
1316
+ }
1317
+ } catch (e) {}
1318
try {
1319
if (window && window.parent && window.parent.window) {
1320
const w = <typeof window & { Xrm: any; }>(window.parent.window)
0 commit comments