HCL Commerce Version 9.1.8.0 or later

Delete managed files

You can delete a managed file if you no longer have any use for that file. You cannot delete a managed file if it is associated with a business object, such as a catalog entry, category, or marketing content.

Before you begin

To determine if a managed file is associated with a business object, view the managed file details. The properties view of the selected file displays the business objects that the file is assigned to the References tab.

Procedure

  1. Open the Management Center.
  2. From the hamburger menu, click Assets. The Assets page is displayed.
  3. HCL Commerce Version 9.1.16.0 or later Open Management Center tools and from the left navigation menu, click Business tools > Content > Files.
  4. In the explorer view, find the managed file that you want to delete.
  5. From the Files - List view, right-click the managed file; then click Delete.
    Note: If you are working in an extended sites store and the file that you want to delete is contained in an attachment that belongs to an asset store, you cannot delete the file unless you are authorized to access the asset store. When you are in an extended site store, the icon in the Type column for the attachment displays a small black square Asset store indicator to indicate that the attachment belongs to an asset store. Any changes that you make to the attachment are applied to all stores that use this attachment.

Results

The managed file is marked for deletion from the HCL Commerce database.
Restriction: After using the Assets tool in the Management Center to delete a file, the file is not be removed from the HCL Commerce file system until the ScheduledContentManagedFileEARUpdate scheduled job runs. In the meantime:
  1. If you upload the same file to the same directory again, an error message will show indicating that the file already exists.
To avoid such inconsistency, you can manually specify the start time and interval of the scheduler by following the steps in Scheduling a site-level job.