HOTSPOT (Drag and Drop is not supported)A company has a canvas app that has a screen with a gallery of contacts.Users must be able to search the gallery by last name, email address, and country/region. They must also be able to sort by last name, followed by country/region.You need to define the expression that meets the requirements.How should you complete the expression? To answer, select the appropriate options from the answer area.NOTE: Each correct selection is worth one point.Hot Area:
Answer(s): A
Box 1: SortByColumsThe SortByColumns function can be used to sort a table based on one or more columns.The parameter list for SortByColumns provides the names of the columns to sort by and the sort direction per column. Sorting is performed in the order of the parameters (sorted first by the first column, then the second, and so on).Box 2: FilterThe Filter function finds records in a table that satisfy a formula. Use Filter to find a set of records that match one or more criteria and to discard those that don't.Incorrect Answers:-Lookup: The LookUp function finds the first record in a table that satisfies a formula. Use LookUp to find a single record that matches one or more criteria.-Search: Search function uses a single string to match instead of a formula.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-sort
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: In the form editor, add a query string parameter for the data parameter.Does the solution meet the goal?
Answer(s): B
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?
Within the exported solution customizations.xml file, immediately following the footer element, you can add a <formparameters> element. In the <formparameters> element, add <querystringparameter> elements to specify which parameters will be allowed.Note: 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
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/configure-form-accept-custom-querystring-parameters
DRAG DROP (Drag and Drop is not supported)You are developing a new Power Apps Component Framework (PCF) control.The control must be deployed to a development environment by using the Power Apps CLI and a new solution.You need to deploy the PCF control.Which four actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.Select and Place:
Step 1: Create a solutionCreate a new solutions project using the following command. The solution project is used for bundling the code component into a solution zip file that is used for importing into Dataverse. pac solution init --publisher-name developer --publisher-prefix devStep 2: Add a solution reference to the projectOnce the new solution project is created, refer the Solutions folder to the location where the created sample component is located. You can add the reference using the command shown below. This reference informs the solution project about which code components should be added during the build. You can add references to multiple components in a single solution project. pac solution add-reference --path c:\downloads\mysamplecomponentStep 3: Build the project and solutionTo generate a zip file from the solution project, go into your solution project directory and build the project using the following command. msbuild /t:build /restoreStep 4: Deploy the solution
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/import-custom-controls
DRAG DROP (Drag and Drop is not supported)You create solutions in a development environment and export the solution for testing by various departments in your organization. Power users in each department control the testing environments.You must display department-specific wording at the beginning of any custom notifications that are displayed in testing environments.You need to package solutions to ensure that the power users can customize the notification content.Which three actions should you perform in sequence inside a solution? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.Select and Place:
Step 1: Create an empty environment variable named Custom Text Placeholder.Applications often require different configuration settings or input parameters when deployed to different environments. Environment variables store the parameter keys and values, which then serve as input to various other application objects. Separating the parameters from the consuming objects allows you to change the values within the same environment or when you migrate solutions to other environments.Step 2: Create a function to retrieve the value from the custom text placeholder and display the notification.Step 3: Export the solutionYou can manually export solutions. Microsoft recommends that you create an unmanaged solution to use for exporting your customizations, and then export your customizations periodically so that you have a backup in case anything happens.
https://docs.microsoft.com/en-us/powerapps/maker/data-platform/environmentvariables https://docs.microsoft.com/en-us/powerapps/maker/data-platform/export-solutions
Post your Comments and Discuss Microsoft PL-400 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the PL-400 content, but please register or login to continue.