Custom component: How to pass a database record to a screen?

Is there a way to pass a database record to a screen directly when using custom components?

Currently we have the following workaround in place:

  • When selecting an entry, our custom component sends the entry id as an action argument
  • We then use the “Change Input Value” action in Adalo to update a hidden text field with this entry id (using the Magic Text feature)
  • We have added a Image List component which uses this text field’s value as a filter, which will filter the list to only show this one record
  • Now if the user clicks on this record we can navigate to another screen and pass this record as data

This is quite a cumbersome workaround to have in place, and the user experience is not really great. Is there another way to select and pass a database record from within a custom component that does not involve a separate list component?

Thanks in advance for any suggestions to point us in the right direction.

Cheers,
Dominik

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.