exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 5 question 1 discussion

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

A client requires that the system send an email from a button on their customer contact form.
You need to call the action from JavaScript.
Which two functions achieve this result? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. Xrm.WebApi.online.executeMultiple()
  • B. Xrm.WebApi.online.updateRecord()
  • C. Xrm.WebApi.online.createRecord()
  • D. Xrm.WebApi.online.execute()
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
BunkMoreland
Highly Voted 3 years, 4 months ago
A and D is correct
upvoted 7 times
...
Juan0414
Most Recent 3 months, 3 weeks ago
Selected Answer: AD
https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/execute https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/executemultiple
upvoted 1 times
...
sjd1
8 months ago
A and D correct, was in exam 04/2024
upvoted 2 times
...
MikeAWS
1 year, 3 months ago
A and D are correct!
upvoted 1 times
...
Chewpacker
1 year, 6 months ago
Selected Answer: CD
It should be C & D as the question states that you would like to send just one email. Executing an action to send an email is one option and creating an email record with the correct status would also send an email
upvoted 1 times
SKIPSKIPPERSON
4 months ago
executeMultiple allows for 1 or more request to be sent
upvoted 1 times
...
...
DimpleG
1 year, 11 months ago
Selected Answer: AD
To call the action from JavaScript and send an email from a button on the customer contact form, you can use two functions: Xrm.WebApi.online.executeMultiple() : This function allows you to perform multiple operations in a single request. It could be used to call the action and send the email as part of a batch request. Xrm.WebApi.online.execute(): This function allows you to perform a single action, such as sending an email. Option B and C is not correct because they are used to update or create record respectively.
upvoted 2 times
...
DimpleG
1 year, 11 months ago
Selected Answer: AD
To call the action from JavaScript and send an email from a button on the customer contact form, you can use two functions: Xrm.WebApi.online.executeMultiple() : This function allows you to perform multiple operations in a single request. It could be used to call the action and send the email as part of a batch request. Xrm.WebApi.online.execute(): This function allows you to perform a single action, such as sending an email. Option B and C is not correct because they are used to update or create record respectively.
upvoted 1 times
...
Dynamic_MD
2 years, 7 months ago
Selected Answer: AD
Correct
upvoted 2 times
...
hss1
3 years, 5 months ago
Is AD the correct answer?
upvoted 1 times
...
_WMC_
3 years, 6 months ago
This code is JACKED, and the provided answer is exactly backward. The author is passing in three Variables: 1 - Execution Context (as exContext) 2 - "telephone1" (as where) 3 - "mobilephone" (as sMessage) **He is passing these in incorrectly, with no commas separating the variables in the signature of the function, but that's beside the point** he uses the setNotification Method on the 'where' ( telephone1) control to display sMessage ("mobilephone") --> will display "mobilephone" he uses the setFormNotification to display sMessage ("mobilephone") --> will display "mobilephone" Correct answers: NYNY
upvoted 2 times
annie_alps
3 years, 4 months ago
Topic 5 Question 10 discussion
upvoted 7 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 ...