web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

How do we get popup window url in crm schedule board using Javascript

(0) ShareShare
ReportReport
Posted on by 5

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

pastedimage1680767149340v1.png

Any help would be appriciated 

I have the same question (0)
  • Suggested answer
    RodRodriguez Profile Picture
    on at
    RE: How do we get popup window url in crm schedule board using Javascript

    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();

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 125

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 110 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 73

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans