PL-400 Exam Question 156
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: In the form editor, add a web resource that sets formContext.data.attributes.
Does the solution meet the goal?
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: In the form editor, add a web resource that sets formContext.data.attributes.
Does the solution meet the goal?
PL-400 Exam Question 157
You need to add the script for the registration form event handling.
Which code segment should you use?
Which code segment should you use?
PL-400 Exam Question 158
A travel company has a Common Data Service (CDS) environment.
The company requires the following:
Custom entities that track which countries/regions their clients have traveled.
The dates their clients traveled to these countries/regions.
You need to create the entities and relationships to meet the requirements.
Which three actions should perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct order you select.

The company requires the following:
Custom entities that track which countries/regions their clients have traveled.
The dates their clients traveled to these countries/regions.
You need to create the entities and relationships to meet the requirements.
Which three actions should perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct order you select.

PL-400 Exam Question 159
A company is preparing to go live with their Dynamics 365Sales solution, but first they need to migrate data from a legacy system. The company is migrating accounts in batches of 1,000.
When the data is saved to Dynamics 365 Sales, the IDs for the new accounts must be output to a log file.
You have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

When the data is saved to Dynamics 365 Sales, the IDs for the new accounts must be output to a log file.
You have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

PL-400 Exam Question 160
A company needs to illustrate the relationships of the entities in Dynamics 365 Sales.
You need to select the appropriate tool to show this graphic.
Which tool should you select?
You need to select the appropriate tool to show this graphic.
Which tool should you select?


