[progress Communities] [progress Openedge Abl] Forum Post: 4.2 - Removing A File Upload...

  • Thread starter Thread starter Meryk
  • Start date Start date
Status
Not open for further replies.
M

Meryk

Guest
Hello, I have a File Upload field in an object myObject and I am trying to remove a file upload from a given record from a trigger. How can I achieve that please? I tried doing rbf_updateRecord() this way, but it doesn't work. var arr= []; var emptyObject = {} arr['fileUploadField'] = emptyObject; rbv_api.updateRecord('myObject', myRecordId , arr); I also came accross this method : rbv_api.setBinaryFieldValue(objName, objId, fieldname, encodedValue, contentType, fileName). That looks like the one to be used to set a file. But can I use it to remove the existing file upload in the record? Thank you Meryem

Continue reading...
 
Status
Not open for further replies.
Back
Top