Hello, is it possible to retrieve the file size of an attachment in an entity by formula?
Get file size from uploaded attachment
Collapse
X
-
Hi. The Attachment entity has the 'size' field.
Code:$sizeInBytes = record\attribute('Attachment', $attachmentId, 'size');
If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
Comment