- (Exam Topic 4)
A company is creating a Power Apps portal to collaborate with vendors.
You need to implement custom functionality in the portal by using JavaScript code. Which two portal entities can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
Correct Answer:CD
C: The Web Form Step record contains a field named Custom JavaScript that can be used to store JavaScript code to allow you to extend or modify the form's visual display or function.
D: You can add custom Javascripts to Entity lists. Reference:
https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/add-custom-javascript https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/entity-lists#add-custom-javascript
- (Exam Topic 4)
A company implementsDynamics 365 Customer Service. The company deploys synchronous plug-ins for the PreOperation and PostOperation stages on create and for the PostOperation stage on update for processing different case type.
Users experience errors when updating cases. The plug-in trace log files show that the PosOperation plug-in update of case times out after two minutes.
You perform basic testing and discover that this plug-in is triggered on every update of a case. You examine the code and discover that the plug-in retrieves all columns for the updated case record performing its work.
You need to reduce the number of errors. You need to achieve this goal with the test amount of changes. Solution: In the Plug-in Registration tool, update the plug-in step and increase the Execution Order. Does the solution meet the goal?
Correct Answer:B
- (Exam Topic 4)
A company must copy customer account data changes from a Common Data Service (CDS) instance into an external system.
Azure Storage Queues are used to pass the changes from CDS to the external system. You have the following code. (Line numbers are included for reference only.)
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:
Box 1: Yes
Box 2: Yes
Box 3: No
Either new/updated or removed/deleted. Box 4: Yes
Does this meet the goal?
Correct Answer:A
- (Exam Topic 4)
An organization uses Dynamics 365 Sales. The organization has accounting and customer service departments. You must restrict users in customer service from being able to change the value of the balance field on the Contact records. The accounting team must be the only team able to edit this field.
You need to create the appropriate solution without any customizations. What should you do first?
Correct Answer:D
Reference:
https://docs.microsoft.com/en-us/dynamics365/customer-service/create-design-forms-customer-service-hub
- (Exam Topic 4)
A client requires that the system send an email from a button on their customer contact form. You need to call the action from JavaScript.
Which two functions achieve this result? Each correct presents a complete solution. NOTE: Each correct selection is worth one point.
Correct Answer:C
You can execute action using Xrm.WebApi.online.execute in Dynamics 365 CRM V9.0. Reference:
https://carldesouza.com/calling-a-dynamics-365-action-from-javascript-using-xrm-webapi-online-execute/
- (Exam Topic 4)
A company imports data from files.
The following code is created to import the files. (Line numbers are included for reference only.)
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:
Box 1: No
Need to set ContinueOnError=True. ContinueOnError: When true, continue processing the next request in the collection even if a fault has been returned from processing the current request in the collection. When false, do not continue processing the next request.
Box 2: No
ContinueOnError = true must be added before Requests = new OrganizationRequestCollection() on line 3. Example:
// Create an ExecuteMultipleRequest object.
requestWithResults = new ExecuteMultipleRequest()
{
// Assign settings that define execution behavior: continue on error, return responses. Settings = new ExecuteMultipleSettings()
{
ContinueOnError = false, ReturnResponses = true
},
// Create an empty organization request collection. Requests = new OrganizationRequestCollection()
};
Box 3: Yes
You can use the ExecuteMultipleRequest message to support higher throughput bulk message passing scenarios in Common Data Service. ExecuteMultipleRequest accepts an input collection of message Requests, executes each of the message requests in the order they appear in the input collection, and optionally returns a collection of Responses containing each message’s response or the error that occurred.
Box 4: No
This is just for displaying the result. Reference:
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/execute-multiple-reque
Does this meet the goal?
Correct Answer:A