PL-400 Practice Test 3

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

You create and deploy a Power Platform solution that includes synchronous plug-ins. Users report performance issues with the solution. You need to determine whether a plug-in is the cause of the performance issues. Which two tools can you use?

Tracing Microsoft Dataverse Analytics

A fine arts school uses a custom canvas application based on the Common Data Service (CDS) platform. Artists experience errors on their Artist canvas app and delays when switching pages. You need to identify the root causes of these issues. Which troubleshooting methods should you use? Issues: Artist canvas app has errors. Application runs slowly.

Troubleshooting method: Site Map validation Service Performance in PowerApps Analytics

A company is creating a new system based on Dynamics 365 Sales. The company has the following requirements for their claim process: Approval process must be the same for all claim applications. Claim applications must go through approvers at each stage. Fields must be shown or hidden, based on the requirements in the approval process. You need to design the data model for the claim process using out-of-the-box components whenever possible. Which features should you implement? Requirement: Claim applications must go through the same approval process. Claim applications be routed to approvers at each stage. Claim applications must show or hide fields based on the values.

Workflow Business process flow JavaScript Overall explanation 1: Workflow - You configure the approval processes in a workflow. 2: Business process flow - By integrating your approvals feature with Power Automate, you can implement features such as these: Automatically generate and send request-for-approval emails to approvers. Include active approve and reject buttons in request-for-approval emails. Easy customization of the approval steps, using a framework that most administrators will be able to understand and adjust for themselves. 3: JavaScript - In Dynamics 365, you can hide and show fields using JavaScript. This is useful if you have business logic that determines if fields are displayed or not to the user. Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/fin-ops/organization-administration/configure-approval-process-workflow

Users experience errors when updating cases. The plug-in trace log files show that the PostOperation 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, add a post Image to the plug-in step and include the Fields that the plug-in needs. Remove the retrieves statement from the plug-in code and reference the post image. Does the solution meet the goal?

Yes

An organization has an Azure SQL Database instance that must be synchronized daily with data from Dynamics 365 Sales. A large amount of data might need to be synchronized on some days. You need to reduce the time required to synchronize data. Solution: Enable change tracking for entities that will be synchronized. Use the Data Export Service to sync data between the database and Dynamics 365 Sales. Does the solution meet the goal?

Yes Overall explanation Large organizations that synchronize their data with external data sources can now enable entities for change tracking. You can export or retrieve a selected set of data, and then keep the external data warehouse in sync. The Data Export Service is an add-on service made available on Microsoft AppSource that adds the ability to replicate data from Common Data Service database to an Azure SQL Database store in a customer-owned Azure subscription. The Data Export Service intelligently synchronizes the entire data initially and thereafter synchronizes on a continuous basis as changes occur (delta changes) in the system. You can use the Data Export Service with model-driven apps in Dynamics 365, such as Dynamics 365 Sales and Dynamics 365 Customer Service.

A Common Data Service (CDS) environment has two custom entities named Building code and Work item. Building code has a code date custom field and Work item has an elapsed time custom field. Construction workers use a consolidated custom form with data from both entities to fill.in their daily work items. A JavaScript library is used with these custom entities and fields to apply complex logic. You need to ensure that the JavaScript library continues to function as originally designed if other developers expand the environment. Solution: In the JavaScript library, add Building code with Code date and Work item with Elapsed time in the dependencies tab. Does the solution meet the goal?

Yes Overall explanation Within a solution you can define dependencies within solution components. Up until Dynamics 365 for Customer Engagement apps version 9.0 the main purpose of these dependencies was to prevent the deletion of a solution component when another solution component depended on it. Reference: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/webresource-dependencies

01 static void UpdateAccount(CrmServiceClient svc, string accountId) 02 { 03 using (svc) 04 { 05 var account = svc.Retrieve("account", accountId, new ColumnSet(true)); 06 07 var numberofemployees = account.GetAttributeValue<int>("numberofemployees"); 08 if (numberofemployees > 100) 09 { 10 account["customersizecode"] = new OptionSetValue(2); 11 svc.Update(account); 12 } 13 } 14 } For each of the following statements, select Yes if the statement is true. Otherwise, select No. Statements: Does the Retrieve method use the correct parameters? Will plug-in triggered on the update of the numberofemployees column execute after the Update method is executed? Will an exception be thrown if the value for numberofemployees is null?

Yes No No

You need to handle errors in UpdateRecord.js. Which code segment should you add at line UR04?

function (error){ console.log(error.message)} Overall explanation The catch statement lets you handle the error. Syntax: catch(err) { Block of code to handle errors - }

You are training a group of makers to use Power Automate. You have the following expressions: Name Expression 1 outputs ('Get_Item').statusCode 2 "from" : "@result(MyScope')" You need to identify what each expression is doing. What does each expression do? Expression: 1 - 2 -

1- Return the statuscode at runtime. 2- Return all the results from all actions from MyScope. Overall explanation 1: Return the statuscode at runtime. You could try the following method to get the status code. Configure Compose action under the specified action to get the status code. outputs('ActionName')['statusCode'] 2: Return all the results from all actions from MyScope The @result() expression accepts the name of a Scope as a parameter and returns a JSON array of objects that represent the results of the execution of each action within the Scope.

You need to complete a Power Apps component framework (PCF) control. How should you define the order in the manifest? <resources> <code path="script/HelloWorldControlWave.js" order="1" /> <code path="script/HelloWorldControlRandom.js" order="2" /> <css path="style/HelloWorldControl.css" order="......1......." /> <html path="HelloWorldControlWaveRandom.htm" order="........2........." />

1 1 Overall explanation 1: 1 - The css order element is the order in which the CSS files should load. 2: 1 - The html order element is the order in which the HTML files should load. Reference: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/css https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/html

You work for a multinational company that has Azure and Microsoft Dataverse environments in the United States (UTC-7) and Japan (UTC+9). You create Azure Functions for each location to update key data. You need to configure the functions to run at 4:00 AM on weekdays at each location. Which schedule formats should you use? Locations: United States - Japan -

004**1-5 004**1-5 Overall explanation 1: 0 0 4 * * 1-5 - Azure Functions uses the NCronTab library to interpret NCRONTAB expressions. An NCRONTAB expression is similar to a CRON expression except that it includes an additional sixth field at the beginning to use for time precision in seconds: {second} {minute} {hour} {day} {month} {day-of-week} NCRONTAB time zones - The numbers in a CRON expression refer to a time and date, not a time span. For example, a 5 in the hour field refers to 5:00 AM, not every 5 hours. The default time zone used with the CRON expressions is Coordinated Universal Time (UTC). To have your CRON expression based on another time zone, create an app setting for your function app named WEBSITE_TIME_ZONE. 1-5 is weekdays 2: 0 0 4 * * 1-5 - Reference: https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer?

You are creating a Power Apps Component Framework (PCF) component. You add the following markup to the component manifest. <?xml version="1.0" encoding="utf-8"?> <manifest> ............................................................. <property name="Text1" display-name-key="Text1" description-key="Text1" of-type="SingleLine.Text" usage="bound" required="true" /> <resources> <code path="index.ts" order="1" /> </resources> <feature-usage> <uses-feature name="WebAPI" required="true" /> </feature-usage> </control> </mainfest> You need to complete the component manifest. Which XML markup segment should you insert

<control namespace="PowerContoso" constructor="CtlProducts" version="0.0.10" display-name-key="CtlProducts" description-key="CtlProducts" control- type="standard"> Overall explanation The control element defines the component's namespace, version and display information. Example: <?xml version="1.0" encoding="utf-8" ?> <manifest> <control namespace="MyNameSpace" constructor="JSHelloWorldControl" version="1.0.0" display-name-key="JS_HelloWorldControl_Display_Key" description- key="JS_HelloWorldControl_Desc_Key" control-type="standard"> <property name="myFirstProperty" display-name-key="myFirstProperty_Display_Key" description-key="myFirstProperty_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" /> <resources> <code path="JS_HelloWorldControl.js" order="1" /> <css path="css/JS_HelloWorldControl.css" order="1" /> </resources> </control> </manifest> Reference: https://docs.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/manifest

You are creating a model-driven app for users to submit and manage budgets for projects. You must create a business process flow to ensure any lead with a budget over $10,000 requires approval by a manager. You must add a custom control that allows users to select the estimated budget cost for a project. You need to add the control to the business process flow. In which order should you perform the actions? Actions: Paste control description FormXML into the correct stage of the business process flow in the exported solution. Export the business process flow and the Lead form as two separate Add a control to the Lead form by using the form designer. Import the solution into the system and publish. Copy all control description FormXML from the Lead form of the exported solution.

Add a control to the Lead form by using the form designer. Export the business process flow and the Lead form as two separate Copy all control description FormXML from the Lead form of the exported solution. Paste control description FormXML into the correct stage of the business process flow in the exported solution. Import the solution into the system and publish.

You need to modify Microsoft flow to resolve CustornerCs issue. What should you do?

Add a timeout setting to the approval flow. Overall explanation Scenario: CustomerC requested additional information from the parts department through the customer survey and has not received a response one week later. Imagine having a process where you want to give someone a couple of days to reply to an approval. If that someone doesn't respond in time, you want to assign a new approval to another person or group of people. To achieve this you can set the timeout in the action settings.

You are implementing business logic for a model-driven app form by using multiple JavaScript web resources. The business logic, number of JavaScript files, and the columns that the business logic requires are expected to change frequently. Some form fields will not be visible. Occasionally, non-developers will also make changes to the form. You need to prevent columns referenced by the JavaScript from accidentally being removed from the form based. What should you do?

Add columns in each JavaScript file as a dependency. Overall explanation Column dependencies - Starting with model-driven apps, if your JavaScript web resource depends on a table column value that you don't want to display in the form, you can set the column as a dependency for the JavaScript web resource. This means that the column will be available within the client API columns collection so you can get or set the value in your code. When you add a dependency this way, the controls collection of the column will be empty because there will be no control on the form. Before this feature you would need to manually add the column to the form and then configure the control to be hidden. Now you can establish this dependency more directly and eliminate the possibility that someone will remove the hidden column from the form. Incorrect: Hiding form elements is not a recommended way to enforce security. There are several ways people can view all the elements and data in the form when elements are hidden. Reference: https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/visibility-options-legacy

You are deploying a Power Apps app that uses the custom connector for ServiceNow. The app loads very slowly for some users. You determine that all records from ServiceNow are being retrieved for every user. The app must load only incidents that are assigned to each user. You need to limit the number of records that the connector returns. What should you do?

Apply a connector policy template Overall explanation You can configure policy templates for custom connectors. Policies allow you to modify the behavior of a custom connector at runtime. You can use policies to perform data conversion, route requests, set parameter values, and more. You can configure policies directly in the custom connector API properties file before import, or you can do it from the maker portal in the custom connector designer by applying policy templates. Common policy use cases are: Set query parameter - Use for handling default values, if necessary, but the maker doesn't configure one. For example, if an API required a top parameter for how many records to return by using a policy, you could set a default value to be used if the maker doesn't configure one. Note: ServiceNow Action: GetRecords Summary: List Records - Description: Gets records of a certain ServiceNow object type like 'Incidents' Syntax:ServiceNow.GetRecords (string tableType, [advanced][Optional]boolean sysparm_display_value, [advanced][Optional]boolean sysparm_exclude_reference_link, [advanced][Optional]string sysparm_query, [advanced][Optional]integer sysparm_limit, [advanced][Optional]integer sysparm_offset) Reference: https://docs.microsoft.com/en-us/learn/modules/policy-templates-custom-connectors/

You need to connect to the background check API. Which mechanism should you use?

Flow with a custom connector Overall explanation Reference: https://docs.microsoft.com/en-us/connectors/custom-connectors/

You are creating technical designs for several complex business processes. You need to implement custom business logic based on the requirements. Which implementation methods should you use? Implementation methods: Business rule JavaScript code Power Automate flow Plug-in Requirement: Access current and new values when data is updated. Run on a schedule.

Business rule Power Automate flow Overall explanation Box 1: Business rule - You can create business rules and recommendations to apply logic and validations without writing code or creating plug-ins. Business rules provide a simple interface to implement and maintain fast-changing and commonly used rules. By combining conditions and actions, you can do any of the following with business rules: Set column values Clear column values Set column requirement levels Show or hide columns Enable or disable columns Validate data and show error messages Create business recommendations based on business intelligence. 2: Power Automate flow - You can create a cloud flow that performs one or more tasks (such as sending a report in email): Once a day, an hour, or a minute On a date that you specify After a number of days, hours, or minutes that you specify Reference: https://docs.microsoft.com/en-us/power-automate/run-scheduled-tasks

A university manages grant applications using a model-driven app. Users report that the message on the Grant Application screen is outdated. Select the answer choice that answers each question. Which Power Platform capability does the app use to display the message? What should the app maker do to prevent the message from displaying?

Business rule Update the field calculation.

Five high schools test a custom app from AppSource. They provide feedback that the Course credit entity should include additional fields that cover information shared by the schools. You do not have access to each high school organization. Each high school administrator must be able to apply the updates to the Course credit entity. You need to deliver a custom program that creates the additional fields. Which four actions should you perform in sequence? Actions: Retrieve the Course credit entity metadata by using RetrieveEntityRequest with LogicalName Retrieve the Course credit entity metadata by using RetrieveEntityRequest with MetadataId Define the AttributeMetadata for each new field. Call the CreateAttributeRequest constructor for each new field. Call the RetrieveAttributeRequest with LogicalName for each new field. Call the login logic. Retrieve the Course credit entity metadata by using RetrieveEntityRequest wi

Call the login logic. Retrieve the Course credit entity metadata by using RetrieveEntityRequest with EntityFilters = Attributes and LogicalName. Define the AttributeMetadata for each new field. Call the RetrieveAttributeRequest with LogicalName for each new field. Overall explanation Step 1: Call the login logic. Step 2: Retrieve the Course credit entity metadata by using RetrieveEntityRequest with EntityFilters = Attributes and LogicalName The RetrieveEntityRequest.EntityFilters property gets or sets a filter to control how much data for the entity is retrieved. Step 3: Define the AttributeMetaData for each new field. Step 4: Call the RetrieveAttributeRequest with LogicalName for each new field. The RetrieveAttributeRequest contains the data that is needed to retrieve attribute metadata. Reference: https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveentityrequest.entityfilters?view=dynamics-general-ce-9

You are a Power Apps app maker with administrative rights to Microsoft 365. You create a canvas app that will be used by employees at your company. You plan to allow users to embed the app in Microsoft Teams. During testing, the following issues are reported: The app runs slowly when it runs in Microsoft Teams. Test users cannot add the personal app within Microsoft Teams. You need to resolve the issues. What should you do? The app runs slowly when it runs in Microsoft Teams. Test users cannot add the personal app within Microsoft Teams.

Change settings in app to preload app Change the permission for the custom app in Teams Overall explanation 1: Change settings in app to preload app You can optionally preload your app within Teams to increase performance. 2: Change the permission for the custom app in Teams As an admin, you can use app permission policies to control what apps are available to Microsoft Teams users in your organization. You can allow or block all apps or specific apps published by Microsoft, third-parties, and your organization. When you block an app, users who have the policy are unable to install it from the Teams app store. You manage app permission policies in the Microsoft Teams admin center. You can use the global (Org-wide default) policy or create and assign custom policies. Users in your organization will automatically get the global policy unless you create and assign a custom policy. After you edit or assign a policy, it can take a few hours for changes to take effect. Reference: https://docs.microsoft.com/en-us/powerapps/teams/embed-teams-app https://docs.microsoft.com/en-us/microsoftteams/teams-app-permission-policies Question 64Skipped

You are developing a Power Platform solution. You must add a custom control slider to a specific step in a business process flow. You need to add the custom control. Which four actions should you perform in sequence? Action: Import customizations into the Microsoft Dataverse environment. Modify columns in the default solution. Create a Power Automation flow to activate the custom control. Generate and export the business process flow form. Configure custom controls on a related entity form. Copy custom control configurations to the FormXML for the business process flow.

Configure custom controls on a related entity form. Generate and export the business process flow form. Copy custom control configurations to the FormXML for the business process flow. Import customizations into the Microsoft Dataverse environment. Overall explanation Reference: https://docs.microsoft.com/en-us/power-automate/custom-controls-business-process-flows

You need to select connectors for the app. Which types of connectors should you use? Connectors: Create a custom connector. Use an AppSource connectors. Use a native application function. Create a connection with a Postman collection. Requirement: View full registration records. View customer names. View daily registrations.

Create a custom connector. Use an AppSource connectors. Use a native application function. Overall explanation 1: Create a custom connector A custom connector is a wrapper around a REST API (Logic Apps also supports SOAP APIs) that allows Logic Apps, Power Automate, or Power Apps to communicate with that REST or SOAP API. 2: Use an AppSource connector You can only retrieve the Customer, UnifiedActivity, and Segments entities through the Power Apps connector. Other entities are shown because the underlying connector supports them through triggers in Power Automate. Scenario: Customer information is stored in the Accounts entity. 3: Use a native application function You must produce a report that details the number of registrations for a day and send the report as a PDF to the management team. Reference: https://docs.microsoft.com/en-us/connectors/custom-connectors/ https://docs.microsoft.com/en-us/dynamics365/customer-insights/audience-insights/export-power-apps

You need to design a component that can be used in all the departmental apps to display the total number of client issues in bold colors. Which four actions should you perform in sequence? Actions: Create a connection to the engineering issues list and retrieve the total number of critical issues. Create an output parameter and set the value of the parameter to the total number of critical issues. Import the counter component in the other apps from the first department app. Display the counter output parameter in the department app. Create and format a label to display the total number of critical issues. Create a new component in the department app.

Create a new component in the department app. Create a connection to the engineering issues list and retrieve the total number of critical issues. Create an output parameter and set the value of the parameter to the total number of critical issues. Import the counter component in the other apps from the first department app.

A client uses a model-driven app that is deployed by using a managed solution in the production environment. The app contains only entities and UI components and has no custom code or extensions to the platform. The client needs an exact copy of the app with a different name in the production environment. You need to recreate this app in production without disrupting the end users. What should you do?

Create a new model-driven app. Select the Use existing solution to create the App check box, and then select the solution that contains the original app.

You are creating an integration that uses an Azure function to create records in the Common Data Service when leads are submitted from your company website. You create and configure a Common Data Service application user. You do not have administrator access to the Common Data Service environment you are using or access to Azure Active Directory. Company policy dictates that service accounts must be used for integrations, and integrations must not be granted privileges beyond what is needed. You need to recommend actions that an administrator should perform to configure access for the Azure Function. Which three actions should you perform?

Create an application registration in Azure Active Directory. Create a new security role with the minimum required permissions and assign to the application user. Grant the application delegated permissions to the Dynamics CRM API in Azure Active Directory. Overall explanation Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/walkthrough-register-app-azure-active-directory

A company plans to replicate a Dynamics 365 Sales database into an Azure SQL Database instance for reporting purposes. The Data Export Service solution has been installed. You need to configure the Data Export service. Which three actions should you perform?

Create an export profile that specifies all the entities that must be replicated. Enable change tracking for all entities that must be replicated to Azure SQL Database. Enable auditing for all entities that must be replicated to Azure SQL Database. Overall explanation The Export Profile is the core concept of the Data Export Service. The Export Profile gathers set up and configuration information to synchronize data with the destination database. As part of the Export Profile, the administrator provides a list of entities to be exported to the destination database. Only entities that have change tracking enabled can be added to the Export Profile. Incorrect Answers: To use the Data Export Service the customer engagement apps (i.e., Dynamics 365 Sales, Dynamics 365 Customer Service, Dynamics 365 Field Service, Dynamics 365 Marketing, and Dynamics 365 Project Service Automation) and Azure Key Vault services must operate under the same tenant and within the same Azure Active Directory. However, the Azure SQL Database service can be in the same or a different tenant. Reference: https://docs.microsoft.com/en-us/power-platform/admin/replicate-data-microsoft-azure-sql-database

An organization implements Dynamics 365 Supply Chain Management. You need to create a Microsoft Flow that runs daily. What are two possible ways to achieve this goal?

Create the flow and set the flow frequency to daily and the interval to 1. Create the flow and set the flow frequency to hourly and the interval to 24.

The planning department for municipal government wants to survey the land in town and define new property lines. You define a data model for the surveys. Surveyors and other department employees need a phone app to capture survey data. You need to define a Power Apps component framework (PCF) component to be used across multiple functional areas. How should you complete the PCF control manifest? <manifest> <control namespace="surveyCapture" constuctor="survey" ...> <property name="propertyRollNo" of-type-group="SingleLine.Text" usage="bound" required="true" /> <property name="latitude" of-type-group=" .......1......... "usage="input" required="true" /> . . . <feature-usage> <uses-feature name="Device.getCurrentPosition" required="true" /> <uses-feature name=" ......2......... "required="true" /> </feature-usage> <resources> . . . </resources> </control> </manifest>

Decimal Web API

A company has a model-driven app. A form that validates the date entered requires a custom button. The button must be available only under certain conditions. You need to define the CommandDefinition in the RibbonDiffXML to meet the conditions for the button. Which elements should you use? Elements: Enable Rule Display Rule Action Condition: Make the button appear when the form shows an existing record. Make the button appear when the user has Write privilege on the record. Prevent the button from being used in Bulk Edit mode.

Display Rule Action Enable Rule Overall explanation 1: Display Rule - When configuring ribbon elements, you can define specific rules to control when the ribbon elements will display. 2: Action - Define the actions to be performed by a command bar or ribbon control in a <CommandDefinition> element together with rules that control whether the control is enabled or visible in the ribbon. 3: Enable Rule - When configuring ribbon elements, you can define specific rules to control when the ribbon elements are enabled. Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/define-ribbon-enable-rules https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/define-ribbon-display-rules https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/define-ribbon-actions

You need to assign security roles to groups of users. Which security roles should you use? Security types: Environment Maker System Administrator Common Data Service User System Customizer Role: Intern - Manager - Sales representative -

Environment Maker System Administrator Common Data Service User Overall explanation Intern: Environment Maker - Environment Maker: Can create new resources associated with an environment, including apps, connections, custom APIs, gateways, and flows using Microsoft Power Automate. However, this role doesn't have any privileges to access data within an environment. Manager: System Administrator: System Administrator: Has full permission to customize or administer the environment, including creating, modifying, and assigning security roles. Can view all data in the environment. Sales representative: Common Data Service User Basic User/ Common Data Service User: Read (self), Create (self), Write (self), Delete (self) Can run an app within the environment and perform common tasks for the records that they own.

You need to assign the minimum environmental security role to the appropriate users. Which security roles should you use? Security roles: System Administrator System Customizer Common Data Service User Environment Maker User: UserA - UserB - UserC -

Environment Maker System Administrator System Customizer Common Data Service User Overall explanation Reference: https://docs.microsoft.com/en-us/power-platform/admin/environments-overview https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/privileges-requiredcustomization - system-administrator-and-system-customizer-security-roles https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/privileges-requiredcustomization https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave2/dataplatform/common-data-service-user-security-role-renamed-basic-user https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave2/dataplatform/common-data-service-user-security-role-renamed-basic-user

You need to select the appropriate methods using Azure Event Grid. Which method should you use for each requirement? Methods: Event handler Event subscription Event sources Events Requirement: Notify the infrastructure team when a new virtual machine is created Route orders over $5,000 to the credit department

Event handler Event subscription Overall explanation 1: Event handler - An event handler is the place where the event is sent. The handler takes some further action to process the event. 2: Event subscription - Event subscriptions - The endpoint or built-in mechanism to route events, sometimes to more than one handler. Subscriptions are also used by handlers to intelligently filter incoming events. Incorrect Answers: Events - What happened. Event sources - Where the event took place. Reference: https://docs.microsoft.com/en-us/azure/event-grid/event-handlers https://docs.microsoft.com/en-us/azure/event-grid/overview

You need to create an application to deploy to other pharmacies. What should you do?

Export the solution as a managed solution. Overall explanation When you export a managed solution, it contains all the changes that have been applied for that solution into a file that you can then import into a different Dataverse environment. Reference: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/introduction-solutions

You need to set up security to meet the requirements. How should you configure security? Security mechanisms: Field level security Security roles Environment security Team security User: Supervisors - Salespeople - Developers -

Field level security Team security Environment security Overall explanation 1: Field level security - Only supervisors must be able to view phone numbers in the Accounts form. You use field security tables to apply field-level security, which restricts field access to specified users and teams. The scope of field-level security is global, which means that it applies to all records within the organization, regardless of the business unit hierarchical level to which the record or the user belongs. Field security works in all Microsoft Dataverse clients, including the Web client, Dynamics 365 for Outlook, and Dynamics. It applies to all components, such as the Dataverse web services, reports, search, offline, filtered views, auditing, and duplicate detection. 2: Team Security - Sales users must only have access to their own records. Owner team: An owner team owns records and has security roles assigned to the team. A user's privileges can come from their individual security roles, those of the teams that they're part of or the ones they inherit. A team has full access rights on the records that the team owns. Team members are added manually to the owner team. 3: Environment security - Developers must be able to create new apps for all users. Environment maker: Can create new resources associated with an environment, including apps, connections, custom APIs, gateways, and flows using Microsoft Power Automate. However, this role doesn't have any privileges to access data within an environment. Reference: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/field-security-entities https://docs.microsoft.com/en-us/power-platform/admin/database-security https://docs.microsoft.com/en-us/power-platform/admin/manage-teams

You need to select visualization components. What should you use? Requirement: Mailing list opt-in/opt-out Number of store visits Purpose of visit

Flip switch Linear gauge Option set Overall explanation Scenario: Customer satisfaction surveys are recorded with Microsoft Forms Pro. 1: Flip switch - The flip switch is like an on/off switch, providing a choice between two values. 2: Linear gauge - The linear gauge lets your users input numerical values by dragging a slider instead of typing in the exact quantity. The slider provides whole number input and display only. Use this control for any numerical and money columns. 3: Option set - The choice control presents a set of options for your users to choose from when entering data. You can customize forms (main, quick create, and quick view) and email templates by adding multi-select columns that are called Choices. When you add a choices column, you can specify multiple values that will be available for users to select. When users fill out the form they can select one, multiple, or all the values displayed in a drop-down list. Reference: https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/additional-controls-for-dynamics-365-for-phones-and-tablets

You need to develop a set of Web API's for a company. What should you implement? Requirement: Implement operations that do not have side effects and may support further composition Implement operations that allow side effects, such as data modification Implement keyless named structure types that consist of a set of properties

Functions Actions Overall explanation 1: Functions - most functions and services that are stateless and do not have side effects. 2: Actions - Actions can have side effects. 3: Complex types - Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/use-web-api-actions

You need to correct the portal query issues. Which code should you use? Portal issue: New registrations - All registered users -

GET [Organization URL]/api/data/v9.1/account?$select=name, sport $apply=groupby(sport ne null) Overall explanation Scenario: The query for all registered users must return the data categorized by division. Queries must return only the Name and Sport fields. Queries return all fields. The query is as follows: GET [Organization URL]/api/data/v9.1/account? &$orderby=Name, sport &$filter=sport ne null 1: GET ..$select=name, sport Use select to return only the Name and Sport fields. 2: $apply(groupby(sport ne null) Categorize by division, that is to sports.

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?

Highlight the plug-in step and select Debug in the Plug-in Registration tool Install the plug-in profiler Select Start Profiling in the Plug-in Registration tool Overall explanation 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

An organization has a Dynamics 365 Sales environment. In the development environment, you create a business rule named BusinessRule1 on the Account entity. You deploy BusinessRule1 to production as part of a managed solution. You need to remove BusinessRule1 from the production environment. Which three actions should you perform in sequence? Actions: In the development environment, navigate to Solutions. Create a new managed solution in the production environment. Export the solution as managed and import it in the production environment. In the production environment, add a new business rule. Select the solution that has BusinessRule1 and deactivate the rule. Select the solution that has BusinessRule1, navigate to the appropriate entity, and delete the rule.

In the development environment, navigate to Solutions. Export the solution as managed and import it in the production environment. Select the solution that has BusinessRule1, navigate to the appropriate entity, and delete the rule. Overall explanation Step 1: In the development environment, navigate to Solutions. The only supported way of transferring customizations from one CRM organization to another has been through Solutions. With Solution Management came the concept of Managed and Unmanaged Solutions. Step 2: Export the solution as managed and import it in the production environment. Managed is a way to protect your IP (Intellectual Property) with an easy concept of install and uninstall. Step 3: Select the solution that has BusinessRule1, navigate to the appropriate entity, and delete the rule.

You need to determine the primary cause of the issue reported by interns when they use the app. What is the primary cause?

Interns have the Environment Maker security role but need the System Customizer security role. Overall explanation Scenario: Interns can create apps but cannot interact with their own data. Environment Maker role: Can create new resources associated with an environment, including apps, connections, custom APIs, gateways, and flows using Microsoft Power Automate. However, this role doesn't have any privileges to access data within an environment. System Customizer role: full permission to customize the environment. However, users with this role can only view records for environment entities that they create. Reference: https://docs.microsoft.com/en-us/power-platform/admin/database-security

You have a Microsoft 365 E5 subscription that contains a trainable classifier named Trainable1. You plan to create the items shown in the following. Name Type Label1 Sensitivity label Label2 Retention label Policy1 Retention label policy DLP1 Data loss prevention (DLP) policy Which items can use Trainable1?

Label1 and Policy1 only

You need to recommend solutions to meet the e-commerce automation requirements. Which platform tools should you recommend? Tools: Power Apps Logic Apps Power Automate Workflow Requirement: Online sales orders Customer survey

Logic Apps Power Automate Overall explanation 1: Logic Apps - Scenario: Ecommerce sales orders must be integrated into Dynamics 365 Finance and then exported to Azure every night. For integration with Dynamics 365 Logic Apps can be used. It also supports scheduled actions. For integration with Azure use Logic Apps, instead of Power Automate. Incorrect Answers: Workflow does not support run on schedule. Power Automate does not support Azure integration. (For integration with Dynamics 365 Power Automate can be used. It also supports scheduled actions.) 2: Power Automate - Scenario: Submitted customer surveys must generate an email to the correct department. Approval and follow-up must occur within a week. Power Automate has approval flows. Incorrect Answers: Workflow does not support Approval workflows. Reference: https://docs.microsoft.com/en-us/microsoft-365/community/power-automate-vs-logic-apps https://docs.microsoft.com/en-us/power-automate/replace-workflows-with-flows

Question 30 Skipped You need to configure the fields with the appropriate type. Which type should you use? Field : Doctor,s name field on customer record Refill date field Doctor's name field in Doctor's entity

LookUp Calculated Text Overall explanation 1: Lookup - Lookup is a field that allows setting a reference to a single record of a specific type of entity. Scenario: Doctors must be manually added to a custom entity named Doctor if the doctor is not listed. The doctor entered on the customer's record must be validated against doctors that exist in the system. 2: Calculated - Scenario: Refill dates for customer prescriptions should be automatically determined and a notification should be sent to the customer. Calculated field: Contains calculations that use fields from the current entity or related parent entities. 3: Text - Text: This option simply displays text.

You need to implement the background verification check stage field. Which type of field should you use?

Lookup

A company has a model-driven app that uses Microsoft Dataverse. The company requires a web application that retrieves information from the model-driven app. The requirements for the web application include: Must be a single-page web application that uses the Web API. Must display the correct company information. Must authenticate using OAuth without additional verification. You need to configure the web application. Which two methods should you use?

Microsoft Azure Active Directory Authentication Libraries (ADAL) Microsoft Authentication Library (MSAL)

A Common Data Service (CDS) environment has two custom entities named Building code and Work item. Building code has a code date custom field and Work item has an elapsed time custom field. Construction workers use a consolidated custom form with data from both entities to fill.in their daily work items. A JavaScript library is used with these custom entities and fields to apply complex logic. You need to ensure that the JavaScript library continues to function as originally designed if other developers expand the environment. Solution: In the Building code form, add the JavaScript library in the events tab and the Code date field to the non-event dependencies. In the Work item form, add the JavaScript library in the Events tab and the Elapsed time field to the non-event dependencies. Does the solution meet the goal?

No

A Common Data Service (CDS) environment has two custom entities named Building code and Work item. Building code has a code date custom field and Work item has an elapsed time custom field. Construction workers use a consolidated custom form with data from both entities to fill.in their daily work items. A JavaScript library is used with these custom entities and fields to apply complex logic. You need to ensure that the JavaScript library continues to function as originally designed if other developers expand the environment. Solution: In form properties of the consolidated form, add the JavaScript library in the events tab and add the two custom fields to the dependent fields section of the non-event dependencies tab. Does the solution meet the goal?

No

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 an event handler for the data parameter. Does the solution meet the goal?

No Overall explanation 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

You are designing a one-way integration from the Common Data Service to another system. You must use an Azure Function to update the other system. The integration must send only newly created records to the other system. The solution must support scenarios where a component of the integration is unavailable for more than a few seconds to avoid data loss. You need to design the integration solution. Solution: Register a service endpoint in the Common Data Service that connects to an Azure Service Bus queue. Register a step at the endpoint which runs asynchronously on the record's Create message and in the post-operation stage. Configure the Azure Function to process records as they are added to the queue. Does the solution meet the goal?

No Overall explanation Need a plug-in or a custom workflow. Note: Plug-ins are one of two methods used to initiate posting the message containing the data context to the Azure Service Bus, the other method being a custom workflow activity. Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/azure-integration

An organization plans to set up a secure connector for Power Apps. The App will capture tweets from Twitters about the organization's upcoming product for sales follow-up. You need to configure security for the app. Which authentication method should you use?

OAuth

You are creating various Power Apps apps for a company. Power Automate flows must connect securely to the following external systems: External system Comments Account receivable - This is a proprietary database. You must access the database by using an API. The API uses the client credentials grant type. Bing Maps - You must access the API by sending a unique identifier in the query string of requests. You need to create custom connectors to access the external systems. Which type of security should you use for the connectors? Security types: OAuth 2.0 Basic authentication API key No authentication External system: Accounts receivable - Bing maps -

OAuth 2.0 API key

You develop a model-driven app to manage customer information. You have the system administrator security role on all environments. You create a business process flow that is associated with the Contact table. You grant users Create, Read, and Write permissions on the business process flow. Users report that the new business process flow does not appear when the users create new contact records. You verify that you can view the business process flow when you sign into the app and create a new contact record. You need to resolve the issue. What should you do?

Open the business process flow and associate the flow with the user security roles by using the Edit security button on the command bar.

You are developing a model-driven app for a company that sells sporting goods. You add a button to a page that displays information for a product. The button must copy information for the selected product and create a record in the data source. You add the following code to the button. 01.................................... Products, Defaults(Products), { Name: Self.Selected.Item.Name, Description: Self.Selected.Item.Description, Type: Self.Selected.Item.Type, Price: Self.Selected.Ttem.Price } } You need to complete the code. Which function should you insert at line 01?

Patch(

You need to select a process to create each function. Which process should you use? Processes: Power Automate Business rule Business process flow Function: Create a Slack notification from a lead Change the priority field. Ensure appropriate information is added to leads

Power Automate Business process flow Business rule Overall explanation 1: Power Automate Ensure that notifications are sent to the sales team when a lead is added by using Slack Power Automate is a service that helps you create automated workflows between your favorite apps and services to synchronize files, get notifications, collect data, and more. 2: Business rule A trigger must be created that changes the Priority field to 1 in the Account record 10 days after an account record is created. A field named Priority_Trigger must be created to trigger the Priority field. Business rules provide a simple interface to implement and maintain fast-changing and commonly used rules. 3: Business process flow Ensure that leads have a review stage added to the sales process. Use business process flows to define a set of steps for people to follow to take them to a desired outcome. These steps provide a visual indicator that tells people where they are in the business process.

You are creating an app that connects to Microsoft Dataverse on a nightly basis. You plan to integrate the app with an external system. The application must not authenticate by using a Microsoft Azure Active Directory (Azure AD) user account. You need to enable the application to authenticate to Dataverse. Which four actions should you perform in sequence? Actions: Use the Azure AD application id and secret as credentials in the application. Use the Dataverse application user username and password as credentials in the application. Assign a security role to the application user in Dataverse. Register the application in Azure AD with appropriate permissions. Create the application user in Dataverse using the Application User form. Grant the Dataverse application user the Access Dynamics 365 as organization users permission in Azure AD.

Register the application in Azure AD with appropriate permissions. Use the Dataverse application user username and password as credentials in the application. Create the application user in Dataverse using the Application User form. Assign a security role to the application user in Dataverse. Overall explanation 1: App registration in Azure Active Directory is typically done by ISVs who want to develop external client applications to read and write data in Dataverse. 2: Add credentials - Credentials are used by confidential client applications that access a web API. You can add both certificates and client secrets (a string) as credentials to your confidential client app registration. 3: App registration can also be done by an application developer or individual user who is building a client application to connect to and read/write data in Dataverse. Use the Application ID and Redirect URI values from your registered app in your client application's authentication code to be able to connect to Dataverse environment from your client application, and perform the required operations. Note that if the app is registered in the same tenant as your Dataverse environment, you won't be presented with a consent form when connecting from your client application to your Dataverse environment. 4: Grant access to users that already have a Dynamics 365 license Any user who already has a license for any model-driven app in Dynamics 365 also will be able to access Dynamics 365 Marketing without requiring any additional licenses. All you need to do is assign them the security roles and privileges required to access the Marketing features they need. Incorrect: Grant the Dataverse application user the Access Dynamics 365 as organization users permission in Azure AD.

You are creating a PowerApps connector between Dynamics 365 Sales and Slack. You must generate a Slack notification whenever a new product is added to Dynamics 365 Sales. You must not be required to sign in directly into Dynamics 365 Sales to generate notifications. You created a Power Apps connector between Dynamics 365 Sales in Slack to enable this to happen. You need to configure the appropriate security for each scenario. Which security components should you configure? Components: OAuth Security roles API key Basic authentication Requirements: Ensure Dynamic 365 security is in place. Capture application usage from public site. Configure a website login that does not need encryption.

Security roles OAuth Basic authentication Overall explanation 1:A security role defines how different users, such as salespeople, access different types of records. To control access to data, you can modify existing security roles, create new security roles, or change which security roles are assigned to each user. Each user can have multiple security roles. Security role privileges are cumulative: having more than one security role gives a user every privilege available in every role. Each security role consists of record-level privileges and task-based privileges. 2: Oauth 2.0 is the most frequently used type, which uses the Oauth 2 authentication framework to authenticate with the service. Before using this authentication type, you'll need to register your application with the service so that it can receive access tokens for the users. For example, Register the application in Azure AD shows how to register an application with the Azure Active Directory service. Box 3:Basic Authentication is the simplest type of authentication, where the user just has to provide the username and password to create the connection. Note: Before using any connector in Azure Logic Apps, Microsoft Power Automate, or Microsoft Power Apps, the user needs to create a connection by authenticating to the backend service. Authentication types - The different types of authentication that are currently supported are: No authentication - Basic authentication - Api Key based authentication - Oauth 2.0 -

A company uses Dynamics 365 Sales. Sales commission must be calculated when an order is placed. You create an Azure Function to perform the calculation. The Azure Function has an HTTP trigger. You need to configure the Plug-in Registration tool to send data to the Azure Function when an order is placed. You open the Plug-in Registration tool and connect to Dynamics 365 Sales. Which three actions should you perform in sequence? Actions: Select Register New Web Hook. Select Register New Service Endpoint. Register a New Step for Create of SalesOrder. Enter a service endpoint. Enter the endpoint URL.

Select Register New Web Hook. Enter the endpoint URL. Register a New Step for Create of SalesOrder. Overall explanation Step 1:SelectRegister New Web Hook. Configure Dynamics 365 Sales to Call Your Webhook in Azure Functions 1. Open the Plug-in Registration Tool and connect to your organization. 2. Select Register->Register New Web Hook Step 2: Enter the endpoint URL - Step 3: Register a New Step for Create of SalesOrder. Register a new webhook, and then tie that webhook to an event in Dynamics 365 Sales. Select your newly registered webhook, right-click it, and then choose"Register New Step."Note that the webhook here is set to execute whenever a change to an account record is detected within Dynamics 365 Sales. Reference:https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/tutorial-write-plug-in

ssues - * Recruiters report that the command button to score a candidate is not working. You debug the code and observe that the context input parameter is null. * The system does not support associating designations and certifications with candidates. * The value for the field used by the PCF control to display local time is saved to Microsoft Dataverse each time an active application record is opened. * Interviewers report that they do not receive email notifications when interview records are created for an existing person of interest. You need to resolve the issue with the new command button. What should you do?

Select the Pass execution context as first parameter option on the event registration form.

You are developing a model-driven app for the purchasing department of an organization. You provision a new test environment and a security role. You select users to test the apps and assign the users to a security group named TestSG. If the tests succeed, a manager will perform additional testing in the production environment and then publish the app for the organization's purchasing department. You need to ensure that the test and production environments are configured correctly. What should you do? Scenario: Ensure that only test users can access the test environment. Ensure that only the manager can access the app in production. Ensure that test users can access the app in production. Ensure that purchasing department users can access the test environment.

Set the test environment security group to TestSG and assign test users the app security role. Assign the manager the app security role. Set the production environment security group to TestSG. Add all users in the department to the TestSG security group Overall explanation Reference: https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/share-model-driven-app

You are configuring a Microsoft Power Virtual Agents chatbot to use the authenticate option for Microsoft Teams only. You need to select the variables that will return information about the logged in user. Which two variables should you use?

UserID UserDisplayName

You are creating a model-driven app to track the time that employees spend on individual projects. You need to configure the app according to the company's requirements. Which components should you configure? Requirement: Ensure that values stored in the Project Name field are discoverable in Advanced Find. Display the original estimated duration as estimated start and end dates for the operation during time entry.

View Quick View Overall explanation 1: View - Search for rows and create personal views with modern advanced find When your administrator enables the modern advanced find experience, it lets you search for rows and create personal views in your app. 2: Quick View - Quick View - Used in model-driven apps, Dynamics 365 for tablets, and Dynamics 365 for Outlook. For updated tables, these forms appear within the main form to display additional data for a row that is referenced by a lookup column in the form. Users can view data from related tables without having to leave the form. Incorrect Answers: Quick Create - Used in model-driven apps, Dynamics 365 for tablets, and Dynamics 365 for Outlook. For updated tables, these forms provide a basic form optimized for creating new records. Card - Used in views for model-driven apps. Card forms are designed to present information in a compact format that is suitable for mobile devices. Reference: https://docs.microsoft.com/en-us/power-apps/user/advanced-find https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/types-forms https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/customize-entity-views

You need to improve warehouse counting efficiency. What should you create?

a canvas app that scans barcodes to allow a warehouse worker to select inventory counts Overall explanation Scenario: Warehouse counting is performed manually by using a counting journal. All warehouse boxes and items are barcoded.

You need to improve the efficiency of counting warehouse inventory. What should you create?

a canvas app that scans barcodes to allow a warehouse worker to select inventory counts Overall explanation Scenario: Warehouse counting is performed manually by using a counting journal. All warehouse boxes and items are barcoded. Barcode scanner control for canvas apps: Scans barcodes, QR codes, and data-matrix codes on an Android or iOS device. Description - The control opens a native scanner on an Android or iOS device. The scanner automatically detects a barcode, a QR code, or a data-matrix code when in view. Reference: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-new-barcode-scanner

You need to reduce response time for the information email on the website. What should you create?

a flow that creates a notification in Microsoft Teams Overall explanation Scenario: Customers report that the response time from the information email listed on the Adventure Works Cycles website is greater than five days. Microsoft Teams is used for all collaboration. Microsoft teams support email notifications.

You need to identify why employees are not receiving notification that nine customers are checked in and waiting in the repair area. Which components should you test for each step? Components: action condition expression data operation Step: outbound text nine customers in the store number of customers in the store

action condition data operation

You create a cloud flow to process a list of records using a loop. You need to determine when to initialize a variable that is used to process the records. When should you initialize the variable?

before the loop

A company uses SharePoint for its intranet and other functions. The company has also implemented model-driven apps. SharePoint users must be able to create contact records in the Common Data Service (CDS), without having to navigate to the model-driven apps. You need to create a link in SharePoint to open the CDS contact from displaying data from SharePoint. How should you complete the URL? http://contoso.crm.dynamics.com/1..................?2................=contact&3....................=param_1%3DSharePoint&pagetype=4................

main.aspx etn extraqs entitylist Overall explanation 1: main.aspx - 2: etn - Etn: The logical name of the entity. Important: Do not use the etc (entity type code) parameter that contains an integer code for the entity. This integer code varies for custom entities in different organizations. 3: Extraqs - Extraqs: Optional for forms. This parameter contains encoded parameters within this parameter. When you open a new form by using the URL address, you can include arguments in the extraqs parameter to set field values Note: You must encode the parameters passed in the extraqs parameter. To encode the parameters, use encodeURIComponent. To use special characters like "=" or "&" in the parameter values, you must double encode (e.g. to set name to A=B&C, it would be extraqs=name%3DA%253DB%2526C). 4: entitylist - Pagetype: The type of page. There are two possible values: - entityrecord Displays an entity record form. - entitylist Displays an entity view. Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/open-forms-views-dialogs-reports-url https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/set-field-values-using-parameters-passed-form

A company uses Common Data Service (CDS) and manages their engineers using a model-driven app. You create a new reusable custom component using the PowerApps component framework (PCF). You need to package the custom component to be deployed into the model-driven app. Which three commands should you run in sequence? Actions: npm install msbuild /t:build/restore npm start npm run build pac solution add-reference -path<control path> pac solution init -publisher -name<publisher> --publisher-prefix <prefix> pac pcf init --namespace <namespace> --name <control name> --template field

npm install pac pcf init --namespace <namespace> --name <control name> --template field pac solution add-reference -path<control path> Overall explanation Step 1: npm install - Install Npm - Step 2: pac pcf init .. Commands for working with Power Apps component framework. It has the following parameters: init: Initializes the code component project. It has the following parameters namespace: Namespace of the code component. name: Name of the code component. template: Field or dataset Step 3: pac solution add-reference Commands for working with Common Data Service solution projects. It has the following parameters: add-References: Sets the reference path to the component project folder by passing the path parameter. Syntax: pac solution add-reference --path <path to your Power Apps component framework project> Incorrect Answers: pac solution init .. Commands for working with Common Data Service solution projects. We are working with a PowerApps component framework project though. Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/powerapps-cli

You are creating a Power Apps Component Framework (PCF) control. You test the control by using a local test harness. You need to complete testing. Which commands should you use? Commands: start npm start npm start npm start watch npm update Function: Launch a second npm start windows while tests run in the first windows. Detect changes in index.ts, ControlManifest.Input.xml, and other bundled .ts files during testing without having to restart the test harness.

start npm start npm start watch Overall explanation Reference: https://docs.microsoft.com/en-us/power-apps/developer/component-framework/debugging-custom-controls

A clothing store uses Power Apps apps to interact with customers. Customer data is stored in Microsoft Dataverse. The store offers discounts for customers. You assign a group discount to all customers in a category. Applicable group discounts are added to any customer- specific discounts. Discount information is stored in the following columns: Information type Column Group discount store_groupdiscount Personal discount store_personaldiscount Total discount store_totaldiscount If the total discount on an order exceeds 30 percent, a manager must approve the order before the order is fulfilled and delivered. You need to create a flow that notifies managers when approvals are required. How should you configure the flow trigger? Trigger setting: Filtering attribute - Trigger condition -

store_totaldiscount @greater(add(triggerBody()?['body/store_personaldiscount'], triggerBody()?['body/store_groupdiscount]), 30) Overall explanation 1: store_totaldiscount - If the total discount on an order exceeds 30 percent, a manager must approve the order before the order is fulfilled and delivered. 2: @greater(add(triggerBody().. When to use triggerBody() ? When you want to fetch attributes from the body of the trigger. Incorrect Answers: When to use triggerOutputs() ? Whenever you need to access anything from within the body as well as some info from the header as well.

A multinational company requires that all phone numbers be standardized as country code + area code + phone number. The application design team decides that a custom PowerApps component framework (PCF) control should be used to prompt users for an area code and correctly format the phone number. You need to get the list of valid area codes when a contact record is opened and before the user enters a new phone number. In which function should you call webAPI.retrieveMultipleRecords?

updateView Overall explanation The updateView method will be called when any value in the property bag has changed. This includes field values, data-sets, global values such as container height and width, offline status, component metadata values such as label, visible, etc. Set the value of the field component to the raw value from the configured field. Note: webAPI.retrieveMultipleRecords retrieves a collection of entity records. Incorrect Answers: getOutputs is called by the framework prior to a component receiving the new data. Returns an object based on nomenclature defined in manifest, expecting objects[s] for the property marked as bound or output.

You have the following code: Xrm.WebApi.createRecord("account" , data).then(function success (result) { console.log ("success"); }, function (error) { console.log(error.message); } ); You have a contact record that uses the GUID 991bf2fd-d40c-4752-9984-26b7c0455b69. You need to assign the contact record as the primary contact for an account when you create the account. Which two code segments can you use?

var data = { "name": "Contoso account", "primarycontactid": { "logicalname": "contact", "id": "991bf2fd-d40c-4752-9984-26b7c0455b69" } }; var data = { "name": "Contoso account", "[email protected]": "/contacts(991bf2fd-d40c-4752-9984-26b7c0455b69)" }; Overall explanation To associate new table records to existing table records, set the value of single-valued navigation properties using the @odata.bind annotation Example: var data = { "name": "Sample Account", "[email protected]": "/contacts(465b158c-541c-e511-80d3-3863bb347ba8)" } For mobile clients in the offline mode, you cannot use the @odata.bind annotation, and instead have to pass a lookup object (logicalname and id) pointing to the target record. var data = { "name": "Sample Account", "primarycontactid": { "logicalname": "contact", "id": "465b158c-541c-e511-80d3-3863bb347ba8" } } Note Syntax: Xrm.WebApi.createRecord(entityLogicalName, data).then(successCallback, errorCallback); entityLogicalName: Logical name of the table you want to create. For example: "account". Data: A JSON object defining the columns and values for the new table record. Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/createrecord


Set pelajaran terkait

Physical Science (Mrs.Thomas) Final Exam

View Set

NYS Wildlife Rehabilitation EXAM » Diseases

View Set

Disability Income and Related Insurance, 8 questions

View Set

Driver's Ed Study Questions for Final

View Set

Chapter 45 GI - Gallbladder, Liver, Biliary Tract and Exocrine Pancreatic Disorders

View Set