Best way to have conditional rendering based on uploaded attachment?

  • 1
  • Question
  • Updated 3 years ago
I have a File Upload component saving as an attachment to a record. I want to only hide this File Upload component  after the user uploads one attachment.

This is a create new record page, and the model being attached to only has one row. I've tried hacking the xml to say Render if Attachments.records.0.Id = NULL, but it's not working. Maybe if I re-query the model after it is saved?

Is there a better way to not render a file upload after the attachment is added?
Photo of Jack Sanford

Jack Sanford, Champion

  • 9,570 Points 5k badge 2x thumb

Posted 3 years ago

  • 1

Be the first to post a reply!