Wednesday, March 25, 2009

Global Javascript Functions in MS CRM 4.0


Global functions provide information about the client application and whether the user is working online.

The following table shows the available global functions.

IsOnline : Checks whether the client application for which this page is rendered is online or offline.

IsOutlookClient :Checks whether the form is shown on either Microsoft Dynamics CRM for Microsoft Office Outlook or Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access.

IsOutlookLaptopClient : Checks whether the form is shown on Microsoft Dynamics CRM for Outlook with Offline Access.

IsOutlookWorkstationClient : Checks whether the form is shown on Microsoft Dynamics CRM for Outlook.

GenerateAuthenticationHeader : Returns a string that represents a correctly formed Microsoft Dynamics CRM authentication header used when making Web service calls with Microsoft Dynamics CRM Web services.

PrependOrgName : Prepends the organization name to the specified path.

No comments: