exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 5 question 35 discussion

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

HOTSPOT -

You have the following code registered on the OnChange event of the parentcustomerid column on a contact table form. The parentcustomerid field is a lookup which can be an account or a contact record.

Line numbering is provided for information only.



For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
prepare4exam
Highly Voted 1 year, 7 months ago
Box 1: No. Error message is displayed in line 05. Cannot read properties of null (reading '0') Box 2: No. Error message is displayed. The entity "Trey Research" cannot be found. Specify a valid query, and try again. Code should be parent[0].entityType Box 3: No. Because the parent record can not be retrieved because of parent[0].name.
upvoted 17 times
Juan0414
3 months, 3 weeks ago
Correct! Doc for 2 and 3: https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/attributes/getvalue#return-value
upvoted 1 times
...
chiari_do
1 year, 7 months ago
Sorry, I can't understand the explanation of point 3. I thought it was yes. Can you help me?
upvoted 2 times
prepare4exam
1 year, 7 months ago
Parent record and its value will never be retrieved because of the code"parent[0].name". It should be parent[0].entityType. When the code goes in line 06 the Error Message is dislayed "The entity "Trey Research" cannot be found. Specify a valid query, and try again."
upvoted 6 times
osx
5 months, 2 weeks ago
True. Didn't catch that initially. Syntax is Xrm.WebApi.retrieveRecord("account", "a8a19cdd-88df-e311-b8e5-6c3be5a8b200", "?$select=name,revenue")
upvoted 1 times
...
...
...
...
hai297
Most Recent 8 months, 4 weeks ago
No: Error at line 5 due to access index 0 No: I believe the error at line 6. Should be *.retrieveRecord(parent[0].entityType (not .name) https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/attributes/getvalue No: Due to fail on question 2
upvoted 2 times
...
700157a
1 year, 5 months ago
No, No, No
upvoted 4 times
...
SuperRaj
1 year, 6 months ago
Box1: No Box2: No Box3: Yes
upvoted 1 times
...
SuperRaj
1 year, 6 months ago
Box1:Yes Box2:No Box3:Yes
upvoted 3 times
xenderapk804
5 months, 2 weeks ago
Microsoft's PL-400 exam focuses on developing solutions for Microsoft Power Platform. Actual exam questions often cover areas like Dataverse, Power Automate, custom connectors, and integration. Specific questions can't be shared due to exam confidentiality.
upvoted 1 times
xenderapk804
5 months ago
https://xenderapk.com.co/ is a popular file-sharing app that allows users to transfer files, photos, videos, music, and apps between devices at high speeds without using mobile data or Wi-Fi. In 2025, Xender remains a top choice for fast and easy cross-platform file sharing between Android, iOS, Windows, and Mac devices.
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 ...