PL-400 – Question 45

0
158

Question 45

HOTSPOT –
A company has a model-driven app.
A custom button on a form calls a JavaScript function that validates form data fields and creates a web basket. The JavaScript function then displays a message to the user.
Users are located in the United States, which uses ISO Code 1033, and France, which uses ISO Code 1036.
Users in France report that the message displays in English.
You need to modify the RibbonDiffXml file to ensure that messages appear in the user’s language.
How should you complete the CommandDefinition node? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Correct Answer:

Box 1: CrmParameter –
In addition to data values, you can retrieve client context information by using <CrmParameter>. You can use the following options as the value for the
CrmParameter element: OrgName, OrgLcid, and UserLcid.

Box 2: UserLcid –
userLCID is the language code of the current user.
Note: A locale is a set of user preference information related to the user’s language. The locale determines how dates, times, currencies, and numbers are formatted, how items are alphabetically sorted, and how strings are compared. The locale identifier (LCID) is a 32-bit value that uniquely defines a locale.
Reference: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/customize-dev/pass-dynamics-365-data-page-parameter-ribbon-actions