var baseURL = Xrm.Page.context.getClientUrl();
The values Returned:
Client
|
Value
|
Microsoft Dynamics CRM (on-premises)
|
http(s)://server/org
|
Microsoft Dynamics CRM Online
|
https://org.crm.dynamics.com
|
Microsoft Dynamics CRM for Outlook with Offline Access when offline
|
http://localhost:2525
|
Ref: ( CRM 2013 SDK )
No comments:
Post a Comment