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:
zcForm | An object which holds the details of the form. |
field | An object which holds the details of the media field. |
inputStream | The stream object of the file to be uploaded |
zcRecordValue | An object which holds the value of a field. |
viewLinkName | Link Name of the Report if uploading through Report, else use 'null'. |