Variable not available for selection as data input to a custom widget

I created a connector function to return object lists based on data in a Tulip table. The result of the connector function is then saved to a variable. I can use an interactive table to display the records stored in the variable. However, the variable is not available for selection as data source for a custom widget. The custom widget takes static values as input and works well. How to make the variable available for selection? The variable can be seen from variables screen of the app.

The cause turned out to be due to the parameters required by the custom widget do not match the output of the connector function. Each field in the output of connector function must have a parameter defined in the custom widget.