Topic 4, Misc. Questions
You create a suite of Power Platform-based order management canvas apps for a bakery
that has five retail stores. Each store uses a tablet device to manage inventory and process
orders.
You need to make the following changes to the original order tracking app:
When an online order for delivery is received, send the order to the bakery that is
located closest to the order destination.
When an online order for pickup is received, require store staff to enter an
estimated time in an app. Staff must prepare the order and then use the app to
notify the customer when the order is ready.
Allow the store manager to personalize the company’s corporate weekly
newsletter and add store-specific specials.
You must minimize the amount of custom code and configuration required to implement the
solution.
What should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You are creating a package for a Power Platform solution. The package will include custom code and sample data. The package must include all files that need to be installed.You need to configure the package.
Which setting should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

You are examining code written by another developer that is not functioning correctly.
There are no other JavaScript or business rules in use on the form.
This code is properly registered to the OnChange event of the telephone1 field on an
account entity form. The main operation is to update the primary contact’s phone number
when the account phone number changes. The primary contact field is a lookup. (Line
numbers are included for reference only.)

You need to use the Dynamics 365 Sales Web API to retrieve metadata information. How should you complete the Web API queries? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Technicians for a company use a model-driven app on their phones to record information
about service visits. Users do not have permissions to the Power Apps maker portal to
create or update apps.
Technicians report issues with the model-driven app. You are unable to reproduce the
issues in a development environment.
You need to provide instructions to the technicians to gather more details about the errors.
Which four actions should you recommend be performed in sequence? To answer, move
the appropriate actions from the list of actions to the answer area and arrange them in the
correct order.

An organization uses Dynamics 365 Sales. You plan to add a custom button to the app
ribbon.
You need to ensure that the button displays only when conditions specified by business
rules are met.
Which two code segments can you use? Each correct answer presents a complete
solution.
NOTE: Each correct selection is worth one point.
A.
gridContext.refresh();
B.
formContext.ui.refreshRibbon(refreshAll);
C.
formContext.data.refresh(save).then(successCallback, errorCallback);
D.
formContext.ui.refreshRibbon();
E.
formContext.getControl(arg).refresh();
formContext.ui.refreshRibbon(refreshAll);
D.
formContext.ui.refreshRibbon();
Explanation:
B: formContext.ui.refreshRibbon(refreshAll);
Causes the ribbon to re-evaluate data that controls what is displayed in it.
Indicates whether all the ribbon command bars on the current page are refreshed. If you
specify false, only the page-level ribbon command bar is refreshed. If you do not specify
this parameter, by default false is passed.
Remarks: This function is typicaly used when a ribbon (RibbonDiffXml) depends on a value
in the form. After your code changes a value that is used by a rule, use this method to force
the ribbon to re-evaluate the data in the form so that the rule can be applied.
D: If role is there - just refresh the ribbon to see the button
if (isButtonEnabled) {
formContext.ui.refreshRibbon();
}
},
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/model-drivenapps/
clientapi/reference/formcontext-ui/refreshribbon
https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/302049/show-hidebutton-
bases-on-different-criteria/871674
You are creating a new page for a Power Apps portal.
You need to display data from Microsoft Dataverse on the page.
What should you use?
A.
Liquid
B.
CSS
C.
iFrame
D.
Bootstrap
Liquid
Explanation:
Liquid is an open-source template language that is integrated natively into Microsoft Power
Apps portals. It acts as a bridge between Dataverse and the HTML or text output that is
sent to the browser. Liquid can be used to add dynamic content to pages and to create a
variety of custom templates. Additionally, Liquid provides access only to the data and
operations that are explicitly allowed by the portals.
Reference:
https://docs.microsoft.com/en-us/learn/modules/liquid-template-language/
You deploy a Power Platform plug-in to a production environment. The plug-in code
contains detailed tracing information. You are a member of the Environment Maker security
role for the environment.
Users report unexpected results when they interact with confidential data by using the plugin.
You confirm that the plug-in works without errors in a development environment.
You need to investigate the root cause of the plug-in errors.
What should you do?
A.
Send a PUT request to enable plug-in tracing for the production environment.
B.
Send a GET request to retrieve the plugintracelogs records.
C.
Install Plug-in profiler in the production environment by using the Plug-in Registration tool.
D.
Reproduce and capture the errors, then debug from Visual Studio.
Install Plug-in profiler in the production environment by using the Plug-in Registration tool.
Plug-in profiler is a solution that you can install on your environment that enables you to
capture the execution context of a plug-in and then use that data to re-play the event within
Visual Studio while debugging.
There are two tools available from which to run the Plug-in Profiler:
the Plug-in Registration Tool and Power Platform Tools for Visual Studio.
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/tutorial-debug-plug-in
You create a Power Automate flow that retrieves data from a proprietary database.
You need to ensure that the flow works for other users.
Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A.
Share a view with users.
B.
Share the custom connector with users.
C.
Share the flow with users.
D.
Share the environment by giving permissions to the users.
Share the custom connector with users.
C.
Share the flow with users.
Explanation:
Share the flow and the custom connector with users.
Reference:
https://docs.microsoft.com/en-us/connectors/custom-connectors/share
A company implements Dynamics 365 Supply Chain Management.
The company wants a button to display in the command bar when viewing accounts. You need to add the button using the Ribbon Workbench.
In which three areas can you add a button for the Account entity? Each correct answer presents a complete
solution.
NOTE: Each correct selection is worth one point.
A.
In the home area for Accounts.
B.
In the main body of a form.
C.
On the main application window.
D.
On the associated view of the account.
E.
On the Account form.
In the home area for Accounts.
D.
On the associated view of the account.
E.
On the Account form.
Explanation:
The Ribbon Workbench requires a solution to load that contains the entities that you wish
to work on.
Reference:
https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/371643/add-abutton-
on-account-listview-in-dynamics-crm
| Page 7 out of 21 Pages |