Skip to content

Removing the asset that is not uploaded from the device but lives in the content #287

@jakub-gawronski-wttech

Description

@jakub-gawronski-wttech

When using the inputs.file method, ACM allows to upload the file from the device, which internally uploads the file under the /var/acm (e.g. /var/acm/file/2026/02/04/b84bf24c-93e1-4347-9b00-e93ca96fd818/file.csv.
The UI allows to remove such file, which removes it from both - /var/acm and the UI:
Image

However, when providing a file from outside the /var/acm directory (e.g. /content/dam/experience/file.csv), the delete button doesn't work, since we cannot remove the file that is stored outside ACM's own directory:
Image

In such scenario, the input's value should be reset from the UI, without trying to remove the file itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions