Fetch name of a file
Table of Contents
Note:
- This file attribute is applicable only to the files uploaded using the file upload field in Zoho Creator.
- To fetch names of files fetched using invoke URL task in any service, use getFileName function.
Overview
The file attribute - actualname returns the name of the file uploaded in the specified Zoho Creator file upload field.
Syntax
<variable> = <field_link_name>.actualname;
where:
Params | Data type | Description |
<variable> | TEXT | The name of the file. |
<file_name> | TEXT | The link name the file upload field. |
Example
The following example fetches the content of the file upload field in Zoho Creator.
file_name = fileUpload.actualname;
where:
file_name
The TEXT that represents the name of the specified file.
fileUpload
The link name of the file upload field