- (Topic 6)
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?
Correct Answer:
A
By default, model-driven apps allows a specified set of query string parameters to be passed to a form. You use these parameters to set default values when you create a new record in the application. Each parameter must use a standard naming convention that includes a reference to the column logical name.
There are two ways to specify which query string parameters will be accepted by the form:
✑ Edit form properties
✑ Edit form XML
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/configure-form-accept-custom-querystring-parameters
DRAG DROP - (Topic 2)
You need to resolve the performance issue with the Total Billed customer plug-in.
In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Solution:
Scenario: User1 reports that performance is slow when viewing total billed customer time. A plug-in for Dynamics 365 Sales automatically calculates the total billed time from all
activities on a particular customer account, including sales representatives' visits, phone calls, email correspondence, and repair time compared with hours spent.
Does this meet the goal?
Correct Answer:
A
HOTSPOT - (Topic 6)
A manufacturing company takes online orders.
The company requires automatic validation of order changes. Requirements are as follows:
✑ If validation is successful, the order is submitted.
✑ If exceptions are encountered, a message must be shown to the customer.
You need to set up and deploy a plug-in that encapsulates the rules.
Which options should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Solution:
Box 1: PreValidation
PreValidation: For the initial operation, this stage will occur before the main system operation.
This provides an opportunity to include logic to cancel the operation before the database transaction.
Box 2: Synchronous
Ideally, you should only cancel operations using synchronous plug-ins registered in the PreValidation stage.
Box 3: Pre Image Box 4: throw ..
When you throw an InvalidPluginExecutionException exception within a synchronous plug-in an error dialog with your message will be displayed to the user.
Does this meet the goal?
Correct Answer:
A
HOTSPOT - (Topic 6)
You need to correct the JavaScript code that communicates with the address verification API.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Solution:
YES, YES, NO
Does this meet the goal?
Correct Answer:
A
- (Topic 6)
A company designs data integration with an external system by using virtual tables. You need to implement the virtual tables.
Solution: Implement an OData v4 provider as the data source. Does the solution meet the goal?
Correct Answer:
B