exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 5 question 11 discussion

Actual exam question from Microsoft's PL-400
Question #: 11
Topic #: 5
[All PL-400 Questions]

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:

Show Suggested Answer Hide Answer
Suggested 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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Atlantitian
Highly Voted 1 year, 11 months ago
Correct URL - https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/customize-dev/pass-dynamics-365-data-page-parameter-ribbon-actions
upvoted 38 times
Dean0918
1 year, 9 months ago
Thanks a lot!
upvoted 2 times
...
Jnicosia
11 months, 4 weeks ago
IMO A) CrmParameter B) orglcid, because Language code identifier that represents the base language for the organization. (User in France report that message diplayes in English).
upvoted 2 times
nivanpee
11 months, 3 weeks ago
No you're wrong! B = UserLcid, read the question again... its asking you to display the text in the user's language
upvoted 5 times
Jnicosia
11 months ago
OK, I agree
upvoted 3 times
...
...
...
...
Juan0414
Most Recent 3 months, 3 weeks ago
Correct! https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/pass-data-page-parameter-ribbon-actions#other-context-information
upvoted 1 times
Juan0414
3 months, 3 weeks ago
https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg309332(v=crm.8)#attributes-and-elements
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...