Object Details inside an Object

So I have a workflow that sends a response back to the request API. Is there a way to display a data field that references another data type as an object instead of just the unique id of the data type? For example, in the screenshot below, the active community references the “Community” data type in my database. Is there a way to display all the Community fields as an object instead of just the Community’s UID? Thank you

1 Like

Well, in Bubble, a Thing (an object stored in the database) is represented by its unique ID. They are “the same” for all intents and purposes, because in most contexts Bubble converts a Unique ID to the rehydrated Bubble thing (which is a JavaScript object with various methods on it).

So you have two options in this case (AFAIAA):

  1. Having a UID and knowing the datatype, you can (as of only very recently) do a search for that datatype where the unique ID “is” some scalar value or “is in” some list value. This is free.

  2. Use the Floppy Rehydrate or Floppy Rehydrate SSA plugins (from my Floppy plugin) to reconstitute some UID (also knowing its type) back into its Bubble form. This is a paid plugin but you get way more from that and also ensure that I won’t suddenly show up in your dreams demanding your kidneys.

So, lots of ways to do this, only some of which involve dabbling in the occult.

A short discussion of Floppy Rehydrator appears here:

1 Like

Hey Keith, thanks for your response! Would you mind elaborating further on the first option? I understand what you’re saying, but not sure how to actually set it up. Thanks

Hey that’s me


I’m saying that you can do a search for either:

  1. Thing whose UID is X.

Or (this is new):

  1. Things whose UIDs are in some list of UIDs.

Alternatively, you can take a list of UIDs and shove them into Floppy Rehydrator (client side or server side version) and out the other side will come the rehydrated Things.

Thank you

1 Like

Actually, on second thought, is it possible to display a certain field of that object instead of the UID? I have a custom UID field for every data type in my database so that I can format them how I want.

If the UID you’re receiving isn’t a Bubble unique ID then Floppy Rehydrator won’t work, you would need to do a Bubble search like:
Do a search for [your thing] with a constraint UID = [the API responses UID] then :first item's [field you want]

Uh oh @keith


Ha ha, good thing I’m not here to solve every problem in the Bubble universe, @tylerboodman!

1 Like