exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 5 question 21 discussion

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

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 query string parameter for the data parameter.
Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
shibax
Highly Voted 2 years, 8 months ago
correct
upvoted 5 times
...
OlenaChep
Most Recent 1 month, 3 weeks ago
Selected Answer: A
When editing a form in the old interface, there is a button "form properties" where query parameters can be added.
upvoted 2 times
...
abcthv
9 months, 3 weeks ago
I think B is the correct answer. We can use query string parameter with window.open method (using extraqs). But with Xrm.Navigation.openForm function you need form option object. Xrm.Navigation.openForm(entityFormOptions, parameters) https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/set-field-values-using-parameters-passed-form
upvoted 1 times
...
NyarukouSAMA
1 year, 1 month ago
Selected Answer: A
Due to the link provided in the description, we indeed need to configure the query string parameter on the form.
upvoted 2 times
...
DimpleG
1 year, 9 months ago
Selected Answer: B
The solution you provided is not the correct way to pass data to a form when using the Xrm.Navigation.openForm function. The Xrm.Navigation.openForm method accepts an options object as a parameter, where you can pass the data that you want to pass to the form. You can pass data to the form by including it in the options object that you pass to the openForm method. You can use the "entityId" or "data" properties in the options object to pass data to the form.
upvoted 3 times
...
lesiris
2 years, 2 months ago
This set of questions was in my exam (28/07/2022)
upvoted 1 times
...
Kalimho
2 years, 3 months ago
in exam 2022.07.21
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago