function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ShreyankaShreyanka 

Delete the files in salesforce

When I click delete on a file details page, it's giving me a popup message "This document is awaiting archival and cannot be deleted at this time. please try again later".
why am I getting this message?
And also what is the process to delete files?
AbhinavAbhinav (Salesforce Developers) 
Hi Sushma,

You can check below doc for process to delete file:

https://help.salesforce.com/s/articleView?id=sf.content_delete.htm&type=5

the error can be due to third party app having logic to prevent deletion.

Thanks!