file(record, fileName)
To return a specific file based on the file name from a given record. file(this,”INV-2021_13874.pdf”)
To return the file “RE-2021_13874.pdf” from the current record.importFile
, which imports a file from an URL and saves it as an attachment of a record.