Connectors response code in Javascript

The studio currently requires consistent output in your Connectors response. It means, that if the connector has missing keys in one of the objects out of the array of objects in responses and you want to use that key in Table grid or other places it doesn’t work correctly. So allowing to write a javascript code to normalize the data will help to make to output consistent. Also, the Current workaround of creating a Custom function and using it is adding unnecessary overhead as this function need not be reusable at other places at it has a custom use case.

Use case - There is an App to display air table rows in table grid control. Now airtable Find Rows API returns all rows which have a value entered by the user and skip the keys which are empty in the . Response JSON object. normalizing the output using open Javascript code will help fix the issue.

@cratedog8

There is already an option to transform connector response using javascript to normalise the output when you Bind your connector to any control. Expand the Transform Response section to be able to write custom javascript.


For more info, check this link - Transform Response in Connectors

Hope this Helps!