Hi,
I am fileUploadField() to uploaded the document in a specific folder and saving the documentId in the database under one of the field/column.
When I try to perform delete functionality against the database record, I am using "Delete from Data Store Entities" smart service.
When I delete a database record, I would like to delete the corresponding document which is linked to the database record.
How can I achieve this. Any advises please.
Thanks.
Discussion posts and replies are publicly visible
Use one of the following to delete the document.
1. a!deleteDocument() - Function.
2. Delete Document - Smart Service.