HOTSPOT (Drag and Drop is not supported)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.Hot Area:
Answer(s): A
Entity: LogicalNameQuerying the EntityMetadata entity type:GET [Organization URI]/api/data/v9.0/EntityDefinitions(LogicalName='account')Attribute: LogicalName Retrieving attributes:GET [Organization URI]/api/data/v9.0/EntityDefinitions(LogicalName='account')/Attributes(Relationship: SchemaName Querying relationship metadata:Entity relationships can also be queried using the RelationshipDefinitions entity set. You can use a query like the following to get the SchemaName property for every relationship.GET [Organization URI]/api/data/v9.0/RelationshipDefinitions?$select=SchemaNameGlobal Option Set: Name Querying Global OptionSets:GET /api/data/v9.0/GlobalOptionSetDefinitions(Name='metric_goaltype')Note: Retrieving items by name is generally easier because you probably already have some reference to the metadata item name in your code. The following table lists the alternate key properties for retrieving metadata items by name.
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/query-metadata-web-api
You are creating a custom connector in Power Apps to connect to a third-party application. The definition in the connector must be set so that it is not visible to the end user.You need to select the appropriate visibility parameter. Which parameter should you use?
Answer(s): C
Leave the Visibility property set to none. This property for operations and parameters in a logic app or flow has the following options:-none: displayed normally in the logic app or flow-advanced: hidden under an additional menu -internal: hidden from the user-important: always shown to the user first
https://docs.microsoft.com/en-us/connectors/custom-connectors/define-blank
HOTSPOT (Drag and Drop is not supported)A model-driven app has the following JavaScript code. The code is attached to the OnChange event of the Phone (telephone1) field on the Account entity.For each of the following statements, select Yes if the statement is true. Otherwise, select No.NOTE: Each correct selection is worth one point.Hot Area:
Box 1: YesXrm.WebApi.updateRecord updates a table record.Syntax:Xrm.WebApi.updateRecord(entityLogicalName, id, data).then(successCallback, errorCallback); Box 2: YesBox 3: NoNo action would be taken.
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/ updaterecord
HOTSPOT (Drag and Drop is not supported)A JavaScript function on a Contact form alerts users to what they need to type, as shown in the JavaScript Code exhibit. (Click the JavaScript Code tab.)The Business Phone field has the OnChange event handler defined as shown in the Event Handler exhibit. (Click the Event Handler tab.)Users report that there is incorrect wording on the Contact page, as shown in the Contact exhibit. (Click the Contact tab.)You need to determine what happens when a user modifies the business phone of a contact record.For each of the following statements, select Yes if the statement is true. Otherwise, select No.NOTE: Each correct selection is worth one point.Hot Area:
Box 1: YessetNotification displays an error message for the control to indicate that data isn’t valid. When this method is used, a red "X" icon appears next to the control. On Dynamics 365 mobile clients, tapping on the icon will display the message.Syntax: formContext.getControl(arg).setNotification(message,uniqueId); Box 2: NoBox 3: YessetFormNotification displays form level notifications. You can display any number of notifications and they will be displayed until they are removed using clearFormNotification.Syntax: formContext.ui.setFormNotification(message, level, uniqueId); Box 4: No
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-ui/setformnotificationhttps://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/controls/setnotification
You are developing a Power Apps app to manage records in the Account table in Microsoft Dataverse.You must configure a Web API request to retrieve changes from the table.You need to configure the preference header for the API request.What should you include in the request header?
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.