To allow a Bubble developer to reference any field of a specified App Type from within a dynamic expression when defining a plug-in action.
I’ve defined a plug-in action which contains a field of App Type. That is, I specified AppType as the value for the Editor field. This works as expected - i.e. it presents a list of app data types from which a single value can be selected.
What I want to do now is create a field that enables the Bubble developer to input a dynamic expression; and within that dynamic expression, the Bubble dev should be able to reference fields within the data type they chose in the App Type field.
I thought the “Fields of <selected App Type>” option might do it. It doesn’t. Instead, it renders as a dropdown and thus restricts the choice to just a single field within the chosen data type.
I don’t understand why that limitation exists. Is there no way to allow a Bubble dev to construct a dynamic expression that references ANY field within a selected App Type?
Consider the following hypothetical (and somewhat contrived) example…
Let’s say the fields Name, Hair Color, and Occupation have been created on the User data type. I want to allow the Bubble dev to construct a dynamic expression such as the following…
<Name> has <Hair Color> hair and works as a <Occupation>.
Stated another way, why don’t references to any selected App Type (such as User in the example above) appear in the list when editing a dynamic expression for a plug-in action?
I hope I’ve explained my question well enough. Does anyone have any insights? Am I overlooking something?