file
To return a specific file based on the file name from a given record
With this function, you can address a specific file attachment of a record, e.g. to display it in an image field or to send it as an attachment of an automatically generated e-mail.
file(nid, string)
file
file(record, fileName)
To return a specific file based on the file name from a given record. 1
file(this,"INV-2021_13874.pdf")
Result: Returns the file “RE-2021_13874.pdf” from the current record.
Last modified 1yr ago