yuuvis® RAD Q&A

0 votes
by (1.9k points)

Hi OS-team,

when using the delete endpoint (DmsService.deleteItem) there is the option harddelete. When setting this to true, the object is deleted permanently. What happens with the data saved on the server (dms data)? When monitoring the work folder, the data of the deleted object is still there.
Is it possible to delete the data on the server when harddeleting?

I'm using version 6.6.
Thank you for your response.

Regards, Mathias

1 Answer

+1 vote
by (2.7k points)
selected by
 
Best answer

Hi Mathias,
you have to schedule the Operation DeleteRecycled. This will delete the file from the storage.

Cheers,
Thorsten

by (1.9k points)
Hi Thorsten,

thank you for the quick response. That worked perfectly. I just had to set the seconds to a low number.

Regards, Mathias
by (120 points)
Hi Thorsten,

Should it always be triggered? I've deleted it via bulk delete, and I see files in the Work and Rendition folders. I've used the below endpoint with the request

[POST] /rest-ws/service/dms/batch/delete
{
  "query": {
    "type": "purchaseorder"
  },
  "options": {
    "ignoremissing": false,
    "breakonerror": true,
    "harddelete": true,
    "deleteonlyemptyfolders": false
  }
}

And triggering the below operation without luck:
- Check storage
- Integrity check
- Check index
- Delete Recycled

Cheers,
Gabriel
...