Operate > IBM Management Center for WebSphere Commerce > Assets tool > Work with managed files


Delete managed files

You might want to delete a managed file from the WebSphere Commerce Server if you no longer have any use for that file. You cannot delete a managed file if it has already been assigned to any business objects.


Before you begin

To determine if a managed file has already been assigned to any catalog or marketing content business objects, view the managed file details. The properties view of the selected file displays the business objects that the file is assigned to in the Reference tab.


Procedure

  1. Open the Assets tool.

  2. In the explorer view, find the managed file that to delete.

  3. From the Files list view, delete the managed file using one of these methods:

    • Right-click the managed file; then click Delete.

    • Select the managed file and click .

    If you are working in an extended sites store and the file that 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 white arrow 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 WebSphere Commerce database.

Restriction: After using the Assets tool in the Management Center to delete a file, the file is not be removed from the WebSphere Commerce file system until the ScheduledContentManagedFileEARUpdate scheduled job runs. In the mean time:

  1. If you log on to the WebSphere Commerce Accelerator, the deleted file will still appear.

  2. 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 Schedule a site-level job.


Related concepts

Attachments and managed files

IBM Management Center for WebSphere Commerce

Related reference

Troubleshoot: Using Firefox browser you cannot create a new file in the Assets tool


+

Search Tips   |   Advanced Search