HOTSPOT - (Topic 6)
A JavaScript function on a Contact form alerts users to what they need to type, as shown in the JavaScript Code exhibit. (Click the JavaScript Code tab.)
The Business Phone field has the OnChange event handler defined as shown in the Event Handler exhibit. (Click the Event Handler tab.)
Users report that there is incorrect wording on the Contact page, as shown in the Contact exhibit. (Click the Contact tab.)
You need to determine what happens when a user modifies the business phone of a contact record.
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
setNotification displays an error message for the control to indicate that data isn’t valid. When this method is used, a red "X" icon appears next to the control. On Dynamics 365 mobile clients, tapping on the icon will display the message.
Syntax: formContext.getControl(arg).setNotification(message,uniqueId); Box 2: No
Box 3: Yes
setFormNotification displays form level notifications. You can display any number of notifications and they will be displayed until they are removed using clearFormNotification.
Syntax: formContext.ui.setFormNotification(message, level, uniqueId); Box 4: No
Does this meet the goal?
Correct Answer:
A
HOTSPOT - (Topic 6)
You are developing a Web API for a company.
You need to implement the appropriate operations to meet the company’s requirements. What should you implement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Solution:
Box 1: Functions
Box 2: Actions
Box 3: Complex types
Complex types are keyless named structured types consisting of a set of properties. Complex types are commonly used as property values in model entities, or as parameters or return values for operations.
Does this meet the goal?
Correct Answer:
A
- (Topic 6)
A financial services company uses the Common Data Service (CDS) to develop solutions. The company uses development and production instances.
You need to move solutions from the development instance to the production instance. What are two possible ways to achieve this goal? Each correct answer presents a
complete solution.
NOTE: Each correct selection is worth one point.
Correct Answer:
AB
A: When you import a managed solution, all component changes will be brought into the environment in a published state.
B: You can apply patches to either managed or unmanaged solutions and include only changes to entities and related entity assets. Patches do not contain any non-customized
system components or relationships that it dependents upon because these components already exist in the deployed-to organization. At some point in your development cycle, you can roll up all the patches into a new solution version to replace the original solution that the patches were created from.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/import-update- export-solutions
https://docs.microsoft.com/en-us/power-platform/alm/create-patches-simplify-solution- updates
HOTSPOT - (Topic 6)
A company has a model-driven app.
A custom button on a form calls a JavaScript function that validates form data fields and creates a web basket. The JavaScript function then displays a message to the user.
Users are located in the United States, which uses ISO Code 1033, and France, which uses ISO Code 1036.
Users in France report that the message displays in English.
You need to modify the RibbonDiffXml file to ensure that messages appear in the user’s language.
How should you complete the CommandDefinition node? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Solution:
Box 1: CrmParameter
In addition to data values, you can retrieve client context information by using
Box 2: UserLcid
userLCID is the language code of the current user.
Note: A locale is a set of user preference information related to the user's language. The locale determines how dates, times, currencies, and numbers are formatted, how items are alphabetically sorted, and how strings are compared. The locale identifier (LCID) is a 32-bit value that uniquely defines a locale.
Does this meet the goal?
Correct Answer:
A
- (Topic 6)
A company is developing multiple plug-ins. One of the plug-ins keeps failing.
You need to debug the plug-in.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Correct Answer:
ACE
Step 1: Install plug-in profiler
Because the plug-in executes on a remote server, you cannot attach a debugger to the process. The plug-in profiler captures a profile of an executing plug-in and allows you to re- play the execution of the plug-in using Visual Studio on your local computer.
Step 2: Start profiling
✑ In the Plug-in Registration tool, select the (Step) BasicPlugin.FollowupPlugin: Create of account step, and click Start Profiling.
✑ In the Profiler Settings dialog accept the default settings and click OK to close the dialog.
Step 3: Debug your plug-in Reference:
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/tutorial-debug-plug-in