Upload media | Zoho Creator Help

Upload media

FormUtil

This util lets you manage the different functionalities in a form.

Note: Zoho Creator's Mobile SDK is currently a Beta feature. We do not recommend using it for apps in the production stage.

Upload Media in Java

uploadFile(ZCForm zcForm, ZCField zcField, InputStream inputStream,ZCRecordValue zcRecordValue, String viewLinkName)

This uploads files entered in the file upload, audio, video, and image fields in the form. This has to be called separately for each media field.

Parameters:

zcFormAn object which holds the details of the form.
fieldAn object which holds the details of the media field.
inputStreamThe stream object of the file to be uploaded
zcRecordValueAn object which holds the value of a field.
viewLinkNameLink Name of the Report if uploading through Report, else use 'null'.