Populate database; fields are list of custom datatypes

Hi!

To test my app, I’m trying to populate my database. I currently have 3 data types: users, messages and threads. Threads have as fields: a list of users and a list of messages. When I click on “add” for either field, nothing happens:

Is this a bug, or is there a way I can perform this operation?

Many thanks

Hi there, @martinlenweiter… when adding items to list fields directly in the database, you have to type something in the field and select an item from the resulting dropdown and then click the Add button. Note that if you haven’t changed the primary fields for your Messages and Users data types, you would have to type the unique ids of the items in the fields. Because that isn’t really a reasonable thing to have to do, click the Primary fields button on the App data tab and change the primary fields from the unique ids to something that will be much easier to type when you are trying to add items to the list fields.

Hope this helps.

Best…
Mike

Thanks a lot @mikeloc, it worked :slight_smile:

1 Like