Which code segment should you use?

You need to add the script for the registration form event handling.

Which code segment should you use?
A . formContext.data.entity.addOnSave(myFunction)
B . formContext.data.addOnLoad(myFunction)
C . formContext.data.removeOnLoad(myFunction)
D . addOnPreProcessStatusChange
E . formContext.data.isValid()

Answer: B

Explanation:

Scenario: Information about upcoming tournaments must be pre-located into the registration form when the registration form loads.

addOnLoad adds event handlers to the Subgrid OnLoad event event.

Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/grids/gridcontrol/addonload

Latest PL-400 Practice Questions with 171 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments