Forum Academy Marketplace Showcase Pricing Features

Plugin Development - Data Source Returns NULL for some fields

the ‘nodes’ is the list of data from db, ‘entry.get(“background_colour_text”),’ and ‘entry.get(“text_color_text”),’ alway returns null, is there any proper syntex


Bubble creates the raw field names when you first create a field on your data type and doesn’t ever change it again, even if you change the visible name of the field. So basing the field name off the visible name is not an accurate method.

There are several ways to get the field names.

You can add field inputs to your plugin of the data type that is selected and reference those for your field names instead of manually setting the field name in the code or you can console.log the field names using the listProperties() function or you can use a free plugin I created just for this purpose.