Forum Academy Marketplace Showcase Pricing Features

Seting an reading "Exposed State" fields in plugin development

Hi,
I am trying to create a plugin and wondering how to set “Exposed State” fields in the plugin, so the data is accessible in the Bubble app (to display data in a group) . Did anyone figure it out?

I defined an “Exposed State” field “action_result”, type text, and tried to set it in the “initialize” function with the following line of code:

instance.data.action_result = “some result”; and it did not work. Is there a function to set these states?

Thanks!

Yes, look at the dynamic documentation for the instance object. There is a function publishState

@emmanuel, just found it in documentation. Thanks!

1 Like