Ability to access table API directly from widget

I would like to make a feature request to make it easier for custom widgets to deal with tables: the ability to access certain Tulip APIs directly, without having to set up bot credentials. The way I would like to do this is to be able to pass in a Table, Query, or Aggregation reference as new input types when setting up a new custom widget. Imagine if you could do this:

image

What you would pass in wouldn’t actually be the table, it would be a reference to the table that is the table API, and has methods to get, create, update, delete. The get() would have to return some table metadata, at least to be able to map column names from field names – or even better, forget the field names and just let the keys in the resultset match the table field name rather than the ID.

Hi @wz2b,

I like the idea to get the Table data into the Widget.
A challange might be to handle the different input structure, but thats surely not unsolvable.

I chnaged your tag’s of post as Product suggestions instead of Custom Widgets and added this “sub tag” instead of feature-request".

Now it’s purple and votable. :wink:

Please let me know if you are not happy with my meddling.