remove attachment ability if already an attachment exists for the record

  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hi,

I would like to remove the ability to attach files for a record when an attachment already exists.

Any ideas how to achieve this ?
Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb

Posted 3 years ago

  • 1
Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb
I implemented a render condition based on the parent model field value which is getting updated upon an attachment upload to a record.

It's working fine . . . 
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Great work.  That's exactly what I would have recommended. 
Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb
Thanks, Rob. I thought I might need to write a snippet or something but could do it without any custom code.