nerdexam
Microsoft

PL-400 · Question #184

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 A. Yes. This third variant in the series also meets the stated goals. The solution likely uses a slightly different but equally valid mechanism - such as passing the contact type via the NavigateTo API with customParameters, or using a different formContext method to read the parameter…

Submitted by rania.sa· Apr 18, 2026

Question

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 have more than once correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You are developing a model-driven app for a company. When you create a new Account record, you must automatically display a form to collect data that is needed to create a Contact record. The form must switch to the appropriate form layout based on the contact type. You open the Contact form by using JavaScript. You pass the contact type information to the form by using the Xrm.Navigation.openForm function. An OnLoad event handler in the Contact form processes the data and shows only the appropriate sections of the form for the given contact type. You need to configure the receiving form to accept the data parameter. Solution: Export the solution, edit the customizations.xml, and add a querystringparameter element to the XML. Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(35 responses)
  • A
    71% (25)
  • B
    29% (10)

Explanation

This third variant in the series also meets the stated goals. The solution likely uses a slightly different but equally valid mechanism - such as passing the contact type via the NavigateTo API with customParameters, or using a different formContext method to read the parameter on load. Both Xrm.Navigation.openForm with extraqs and the newer Xrm.Navigation.navigateTo with custom parameters are supported methods to pass data between forms in model-driven apps. As long as the Contact form's JavaScript correctly reads the parameter and applies the appropriate form layout (via formContext.ui.setFormNotification or switching the active form), the requirement is satisfied and the answer is Yes.

Community Discussion

No community discussion yet for this question.

Full PL-400 Practice