I searched for something similar in the forum but only found being able to display magic text for users who are logged in. In my situation, the user has not logged in.
Display “ABC” if current date is before date in collection.
Display “DEF” if current date is after date in collection.
You can make an element conditionally visible, and it also can be visible based on datetime. However: you can’t have a “date in collection”, collection has records and a record can have some property set to a certain value (and this property could be a “date” or “datetime” type).
Taking this into the account, could you please provide more details in your example?
Yes, I’m familiar with the the conditional visibility feature and how collections work.
What I’m trying to avoid is hard-coding data on a screen. Say I want to display a message about an event. I would have a web app set the message and set the display dates (from date and through date). The mobile app can then read that specific record and determine whether to display the message about the event. Displaying the message will depend on the dates.
It would seem that unless I have a user logged in, I cannot retrieve data from a collection that can drive the display. Is there any way I can do this without hard-coding? Thanks.