Overview
The File Upload field type is used to upload Files and Images in Zoho Creator. The uploaded file/image will be displayed as a link in the Form's view. The maximum size of each file
that can be uploaded is only 5 MB. The total file storage space you
will get depends on the plan you have subscribed for. Zoho Creator considers
total file storage for an account and not of the individual users.
Upload Files and Images
To upload files and images to your form,
- Drag and drop the File Upload field type to your form.
-
The Adding 'File upload' dialog will be displayed. In the Label Name text box, specify the Label Name that should appear for this Field in the form.
-
Click on Options to configure the File upload field. Refer the topic Field Configurations to learn more about each configuration.
-
Click Done to add the File upload field with the specified configurations.
- When you Access this application, the file upload field will be displayed in the Form to enable users to upload files and images. Click on the Browse button displayed near
the file upload field and give the location of the file/image that
needs to uploaded and submit the form.
- The uploaded file/image will be displayed as a download link in your View.
- The download link url will contain the file id (filepath), user name, application link name (appLinkName) and view link name (viewLinkName). A sample url is given below:
http://creatorexport.zoho.com/DownloadFile.do?filepath=/1248931841640_dsc00007.txt&sharedBy=user1&appLinkName=SampleApp&viewLinkName=Sample_View
|
Note:
Wherever
you try to construct the file download url in your application, user
should definitely give all the parameters as specified in Point 5
above.
|
Rendering the uploaded images in your view
Currently, the uploaded image will be displayed only as a link and will not be rendered in the view. To render uploaded images,
-
Upload the image in your File Upload field, for example named "Upload_Picture"
- Create an Formula field, for example named "Display_Picture" with the following formula expression:
-
("<img width='100' src='http://creatorexport.zoho.com/DownloadFile.do?filepath=/" + Upload_Picture + "&sharedBy=" + zoho.adminuser) + "'/>"
-
Select More Actions -> Application Settings link displayed in the top-right corner, in Edit mode and select the "Allow HTML Tags" to "Yes", to display html contents in the data. Select the View in live mode, to view the uploaded images, as shown below.

Refer the Sample Application here.
how do i send the uploaded file through mail using send mail function.