PL-400 · Question #187
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might…
The correct answer is B. No. The answer is No (B). The scenario requires the Contact form to switch layout based on contact type. Simply passing the contact type via JavaScript to open the form does not guarantee the form will switch to the correct layout automatically. In model-driven apps, switching…
Question
Options
- AYes
- BNo
How the community answered
(30 responses)- A20% (6)
- B80% (24)
Explanation
The answer is No (B). The scenario requires the Contact form to switch layout based on contact type. Simply passing the contact type via JavaScript to open the form does not guarantee the form will switch to the correct layout automatically. In model-driven apps, switching between form layouts based on a parameter passed at open-time is not natively supported through JavaScript parameter passing alone. To properly switch forms based on contact type, you would need to use form selectors or a registered event handler that reads the contact type and programmatically navigates to the correct form using the formContext API. The proposed solution is therefore insufficient to fully meet the stated requirement.
Community Discussion
No community discussion yet for this question.