You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And you can get the currently applied values with:
SDK.connector.getMappings(connectorId)
However, setting mappings on a connector via the SDK is unnecessarily complex. This creates friction for integrators who need to:
Build custom connector UI
Programmatically set default values (e.g., user paths) for specific platform users or workflow paths
The current process requires deep understanding of the internal workings and often needs support team intervention. I doubt anyone will come to the conclusions that you must do the following to update a mapping:
Use the configure method to get the ConnectorConfigurator object
Gets existing mappings
Filters out ConnectorToEngine mappings
Merges new settings with existing ones
Updates the connector via the ConnectorConfigurator object
Describe the solution you'd like
Add a new method to the ConnectorController with the following signature:
This feature would significantly simplify setting mappings on connector by making it a simple function
The focus on EngineToConnector mappings covers the majority (maybe all) of use cases
Related internal ticket: MAIN-916 (contains additional context and real-world use cases)
Error handling right now appears (maybe I did something wrong) that the configuration method always returns a success if something goes wrong and then throws an error in the console that is uncatchable by the integrator.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
You can retrieve the available configuration options using:
And you can get the currently applied values with:
However, setting mappings on a connector via the SDK is unnecessarily complex. This creates friction for integrators who need to:
The current process requires deep understanding of the internal workings and often needs support team intervention. I doubt anyone will come to the conclusions that you must do the following to update a mapping:
ConnectorConfigurator
objectConnectorConfigurator
objectDescribe the solution you'd like
Add a new method to the ConnectorController with the following signature:
This method would have properly error handling like all other SDK methods.
This would provide a straightforward, single-method approach to update connector mappings, focusing specifically on
EngineToConnectorMapping
.I don't believe there is a use-case to support also
ConnectorToEngineMapping
, but welcome to push backDescribe alternatives you've considered
Until such a method is provided, you can utilize this helper function:
Usage example:
Additional context
configuration
method always returns a success if something goes wrong and then throws an error in the console that is uncatchable by the integrator.The text was updated successfully, but these errors were encountered: