How to get attachment name?

Hi there,
After uploaded images/files to attachments column,
I can only preview the uploaded file name when hovering on it.
Is there any way to refernce Attachments Name by formulas?


Hi, and welcome to the community!

There is a way. It is not a stable interface since it’s undocumented, but works:


returns an iterable over all attachments (since there may be multiple). Or to get just the first one, something like this should work:

list($Attachments)[0].fileName if $Attachments else None

Thank you so much for your help, it really solved all my problems.