Announcements
I am not able to get child window pop up url of schedule board when we click on reebok button using Javascript. i tried to use booking rule its not working
Any help would be appriciated
One way is to use Xrm.Utility.getGlobalContext().getClientUrl() which returns the client URL for the current organization. Another way is to use window.opener which returns a reference to the window that opened the current window.
here are some examples of the JavaScript code using the methods I mentioned:
To use Xrm.Utility.getGlobalContext().getClientUrl(), you first need to get the global context object by calling Xrm.Utility.getGlobalContext(). Then you can use the getClientUrl() method to return the base URL that was used to access the application. For example:
var globalContext = Xrm.Utility.getGlobalContext();
var baseUrl = globalContext.getClientUrl();
André Arnaud de Cal...
294,217
Super User 2025 Season 1
Martin Dráb
232,978
Most Valuable Professional
nmaenpaa
101,158
Moderator