PL-400 · Question #385
Case Study 8 - City Power & Light Background City Power & Light is an energy and utilities company that has offices in Europe. The company subsidizes home improvements for domestic customers, to…
The correct answer is C. Extend the Open API definition of the Web API for the DataId parameter. D. In the custom connector, update the description for the DataId parameter. To properly integrate and describe parameters for a custom connector, it's necessary to update both the underlying OpenAPI definition for the parameter and its description within the custom connector itself.
Question
Options
- AIn the custom connector, update the name of the policy template.
- BExtend the Open API definition of the Web API for the EnvironmentName parameter.
- CExtend the Open API definition of the Web API for the DataId parameter.
- DIn the custom connector, update the description for the DataId parameter.
How the community answered
(29 responses)- A7% (2)
- B14% (4)
- C79% (23)
Why each option
To properly integrate and describe parameters for a custom connector, it's necessary to update both the underlying OpenAPI definition for the parameter and its description within the custom connector itself.
Updating the name of a policy template in a custom connector does not directly affect how an API parameter like DataId is defined or exposed.
While extending the OpenAPI definition for other parameters might be necessary in different scenarios, this choice refers to EnvironmentName, not DataId, which is the specific parameter mentioned in the context of the solution.
To make a new parameter like DataId available or modify its definition within a custom connector, you must extend the OpenAPI (Swagger) definition of the Web API to include or update that specific parameter. This defines how the connector will interact with the API.
Updating the description for the DataId parameter directly within the custom connector improves its usability and clarity for makers who consume the connector within Power Platform apps or flows. This provides helpful context for the parameter's purpose.
Concept tested: Custom connector parameter definition and description
Source: https://learn.microsoft.com/en-us/connectors/custom-connectors/define-openapi-definition
Community Discussion
No community discussion yet for this question.