How to display only one record of a collection without using a list?

Hi, is it possible to display let’s say the first record in a collection without having to click an item from a list?

Here is my use case:

  • When my home screen is loaded, there is an action that displays another screen (as a modal).
  • In that modal, I want to display an announcement which is composed of a title, an image and a text. This announcement should be displayed whether the user is logged in or not.
  • I created an “Announcement” collection with three properties (title, image, text) and I added one record only (there will always be only one announcement). This record is going to be updated a few times a week.

From here I have no clue on how to display that announcement. If I add an image and a text component in my modal, I cannot link them to the properties of my “Announcement” collection since Adalo doesn’t show me the collection in the “source” dropdown.

Here is how it should look like:

Hope someone can help me achieve this.

Thanks!

Yes, make it a list of All Announcements but only display Max 1 item :+1:

Thanks, but what kind of list could give me this result?

Just make a custom list with the components you need


:+1:

Thank you Rozza, it did the trick! :tada:

1 Like

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