How to delete old file on update
I search in the forum but didn´t find it.
How can I delete the old file (or image) when I update a record with a new file (or image)?
Thank you
I search in the forum but didn´t find it.
How can I delete the old file (or image) when I update a record with a new file (or image)?
Thank you
You just need to use the Digital File Pro delete file server behavior. Just go to Server Behaviors > Digital File Pro > Delete Files to apply this on your update page. You should have a recordset on the page that holds the name of the file, then you can use this recordset binding as the value for the file that you would like to delete.
If you have UE4 installed then that's Server Behaviors> webassist> file manipulation> delete file. :)
Thanks for that John, I was not thinking about it from the perspective of UE4.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.