You are creating a model-driven app. A JavaScript function must be manually initiated by the user from within an entity form. You need to add a button to the form to run the JavaScript. What should you do?
Correct Answer: A
How to add JavaScript to existing button in Ribbon WorkBench. Open Ribbon workbench and Right click on Assign button from Account form and click on Customize Button. Add Enable rule and call Javascript function. Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/customize-commands-ribbon
Question 67
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? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Correct Answer:
1 - Call the login logic. 2 - Retrieve the Course credit entity metadata by using RetrieveEntityRequest with EntityFilters = Attributes and LogicalName 3 - Define the AttributeMetaData for each new field. 4 - Call the RetrieveAttributeRequest with LogicalName for each new field. Reference: https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveentityrequest.entityfilters?view=dynamics-general-ce-9
Question 68
You need to select a process to create each function. Which process should you use? To answer, drag the appropriate processes to the correct functions. Each process may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.
A company is building a new model-driven app. The app must integrate with a number of on-premises and cloud solutions. No VPNs are in place. You need to determine the method for each integration. Which methods should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
You need to handle errors in UpdateRecord.js. Which code segment should you add at line UR06?
Correct Answer: A
The catch statement lets you handle the error. Syntax: catch(err) { Block of code to handle errors } Reference: https://www.w3schools.com/js/js_errors.asp Topic 3, Contoso Pharmaceuticals Background Contoso Pharmaceuticals manufactures and sells drugs to retail and wholesale pharmacies, hospitals, and research facilities. The company plans to implement Dynamics 365 Sales and Dynamics 365 Finance. Current environment Contoso maintains a Microsoft Excel workbook that lists all drugs they supply. Pharmacies submit order requests through email. All information at customer locations is handwritten by customer representatives. Contoso uses Cerner, which is a medical industry application that uses a proprietary database. Some accounts are referrals from other pharmacies. Every pharmacy has its own Dynamics 365 Sales instance. Requirements General Contoso wants to ensure that there is minimal custom code and custom connectors in the system. Accounts Ensure that the names of the pharmacies are synced between the accounting and the customer management systems. Account numbers should be entered automatically into the pharmaceutical system that is in a Cerner database and kept in sync. When the account is entered into the system, extra fields must appear if the referral customer box is selected. If the box is not selected, the extra fields must not appear. 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. A field named Facility type field must be added in order to select whether a customer is a retail pharmacy, wholesale pharmacy, research facility, or hospital. Users UserA must be able to create and publish Power Apps apps. UserB must be the owner of all the systems and be able to provide permissions and create all new environments. UserC must be able to create apps connected to the systems and update the security roles and entities. Pharmacy representatives must only be able to run the apps and access their own records. Access to the accounting Power Apps app must be restricted to accounting team members. End users must have minimum access to the required systems. Only supervisors must be able to view phone numbers in the Accounts form. Developers must be able to create new apps for all users. Sales users must only have access to their own records. Reporting Pharmacy orders must be displayed in four graphs as follows: Annual revenue over $100,000 Annual revenues under $100,000 Research facilities Hospitals The graphs must be interactive, and users must be able to drill down on any dimension. Customizations Ensure that notifications are sent to the sales team when a lead is added by using Slack. Ensure that leads have a review stage added to the sales process. Doctors must be manually added to a custom entity named Doctor if the doctor is not listed. Refill dates for customer prescriptions should be automatically determined and a notification should be sent to the customer. Fields for the doctor's name and phone number must be displayed in the customer record. The doctor entered on the customer's record must be validated against doctors that exist in the system. The new solution will be sold to other pharmacies for use. The application must not allow changes to be made. The solution must be error free so that when it is installed in other environments it does not cause issues. A custom mobile app must be created to allow salespeople to add or search by pharmacy name. Pharmacy records must be uniquely identified by pharmacy name, address, contact name, and phone number. When a pharmacy is added by using the mobile app, the phone number must be validated to be all digits.