volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

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;
file.Delete();
 
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
 

    

#52190
Jul 11, 2011 11:46
error 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.