crm2011 Form Context Object methods

Source: Internet
Author: User

Returns the base URL used to access the application
XRM.PAGE.CONTEXT.GETCLIENTURL ();
Returns a String that represents the topic selected by the user for the current Microsoft Office Outlook
Xrm.Page.context.getCurrentTheme ();
Returns the LCID value that is represented by Microsoft Dynamics CRM is the language pack for the organization's base language
Xrm.Page.context.getOrgLcid ();
The unique text value of the returned organization name
Xrm.Page.context.getOrgUniqueName ();
Returns an array of key/value pairs that represent a query string parameter passed to the page
Xrm.Page.context.getQueryStringParameters ();
Returns the value of the GUID systemuser.id the value of the current user
Xrm.Page.context.getUserId ();
Returns the LCID value that represents the language pack in which Microsoft Dynamics CRM was selected as its preferred language
Xrm.Page.context.getUserLcid ();
Returns an array of security roles that represent the GUID values for each user associated with the.
This method does not return a GUID value that represents the team security role that the user can belong to
Xrm.Page.context.getUserRoles ();
Returns a Boolean value that indicates whether the user is using Microsoft Dynamics CRM for Microsoft Office Outlook client
Xrm.Page.context.isOutlookClient ();
Returns a Boolean value that indicates whether the user is connected to the Microsoft Dynamics CRM server by using the offline access feature
Microsoft Dynamics CRM for Microsoft Office Outlook client. When this function returns FALSE, the
Users work offline without a connection to the server. Instances to interact with them Microsoft Dynamics CRM runs on their local computer
Xrm.Page.context.isOutlookOnline ();
Appends the organization name to the specified path
Xrm.Page.context.prependOrgName ();

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.