Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam PL-400 Topic 5 Question 88 Discussion

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

You need to add the script to populate event data on the form.

Which code segment should you use?

Show Suggested Answer Hide Answer
Suggested Answer: A, C, E

Contribute your Thoughts:

Option A looks interesting, but I'm not sure if `formContext.data.addOnLoad(myFunction)` is the right way to go about it. Shouldn't we be using the `entity` property instead of `data`?
upvoted 0 times
...
Mila
5 days ago
I think option C is the correct answer. We need to add the script to populate event data on the form, and `formContext.data.entity.addOnSave(myFunction)` seems like the right way to do it.
upvoted 0 times
...
Josefa
20 days ago
That's a good point, Nada. It does make more sense to populate event data when the form is loaded. I think I changed my mind, A) is the correct answer.
upvoted 0 times
...
Nada
23 days ago
I disagree, I believe the correct answer is A) formContext.data.addOnLoad(myFunction). We need to populate event data when the form is loaded, not saved.
upvoted 0 times
...
Josefa
26 days ago
I think the answer is C) formContext.data.entity.addOnSave(myFunction). It makes sense to populate event data when the form is saved.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77