PL-500 · Question #196
You build a canvas app that connects to a custom API using a custom connector. The API allows the app to connect to a test or production instance of the service. Users must provide a unique login…
The correct answer is A. connectionParameterSets in apiProperties.json. You should configure connectionParameterSets in apiProperties.json. The connectionParameterSets property allows you to define multiple named sets of connection parameters within a custom connector, each with its own authentication configuration. This enables users to select…
Question
You build a canvas app that connects to a custom API using a custom connector. The API allows the app to connect to a test or production instance of the service. Users must provide a unique login and password combination that is specific to either test or production. You need to configure the authentication settings in the connector. What should you configure?
Options
- AconnectionParameterSets in apiProperties.json
- BapiDefinition in apiProperties.json
- CconnectionParameters in apiProperties.json
How the community answered
(35 responses)- A77% (27)
- B6% (2)
- C17% (6)
Explanation
You should configure connectionParameterSets in apiProperties.json. The connectionParameterSets property allows you to define multiple named sets of connection parameters within a custom connector, each with its own authentication configuration. This enables users to select either the 'test' or 'production' environment at connection time and provide the corresponding unique credentials. Option B (apiDefinition) defines the API's operations and schema - not authentication. Option C (connectionParameters, singular) supports only a single, fixed set of connection parameters and cannot present users with a choice between multiple environments. connectionParameterSets (plural) is specifically designed for scenarios where different connection targets require different credentials or configurations.
Topics
Community Discussion
No community discussion yet for this question.