M
Mohammed Siraj
Guest
Ideally, rbv_api.updateRecord('myObject', myRecordId , {fileUploadField: null}); should have sufficed. However, there is a limitation in Rollbase wherein we do not unset FileUpload field value. This is done to preserve any existing FileUpload filed value in case of form submits wherein the FileUpload field is not re-submitted each time the record is edited. Request you to file a support case in this regard i.e. unset FileUpload field value via API. Also, use rbv_api.setBinaryFieldValue(objName, objId, fieldname, encodedValue, contentType, fileName) only for SET case & not an unset case like this.
Continue reading...
Continue reading...