Quick Question on Trigger a Modal Conditionally in UI Builder

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2023 01:23 PM - edited 06-05-2023 01:24 PM
I'm building a simple portal of sorts that is based on a list of records. Each record will contain a reference field on it and when the user clicks it, I want to open one of the two modals, one if there's any value in that field and a simple "no record found" alert if there's no value. My thinking was that I would just use the advanced options to trigger the dialog conditionally, but I'm not getting the clause right, not having any luck finding a reference to the syntax for a condition. It seems like I should be able to do something along the lines of !(@data.<data_resource>.result.<field>.number) nor the "ANY_NOTEMPTY" format seems to be triggering.
Could anyone point me to an example or other information for conditionally triggering a condition?
I'm thinking that I'd have to do this via a client script instead, maybe or some other method?
Thanks in advance for any help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 03:25 AM
Hi Derek,
I came to same situation where I am not able to trigger the modal conditionally. If you got the solution then please share.