Try our conversational search powered by Generative AI!

UnifiedFile Delete from API


We have developed a small custom wep page within the CMS in which we are giving the user an option to Delete a file from a folder in CMS. I found there is a function for Deleting

UnifiedFile file = VirtualPathHandler.Instance.GetFile(path, true) as UnifiedFile;
Do we have an option to check is there any reference for this file in any of the page? So that we can warn the user about this


Jul 11, 2011 11:46
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.