How to use UI Builder Data Resource to create a lookup of unique status from table

Renee-17
Tera Guru

I'm new to UI Builder.   I would like to know if there is a way to use Data resources to retrieve unique records  from a table.  There is a string field named "status".  I would like to select this field from the table but only care about the unique values... (select distinct status from table1).  I want to then use this list to populate a dropdown component.  If there is a way to accomplish this can you share.  Thanks!

2 REPLIES 2

Mark Manders
Mega Patron

So you are creating a filter, based on that string field, or are you trying to achieve something else?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

I want to create a filter/dropdown that filters a list on the page.  The filter would be derived from selecting unique values from the status field in a customer table... ie (Select distinct status from products).  I want to be able to script the id and label from the response for a dropdown or filter.