Delete Data

Using this action, you can delete the uploaded media, such as photos, videos, and PDF files, from the Firebase Storage.

Prerequisites

Before you add this action, ensure you can access the Uploaded File URL of the media. Check out the upload media section to see how to get it.

Adding Delete Media action

Follow the steps below to add this action to any widget.

  1. Select the Widget (e.g., Button) on which you want to add the action.

  2. Select Actions from the Properties panel (the right menu), and click + Add Action.

  3. Search and select the Delete Media (under Utilities) action.

  4. Inside the URL section, provide a valid media URL. This must be either the direct Uploaded File URL or a variable that holds the URL.

  5. To let users know about the successful deletion of the media, you can add the snackbar message.

Last updated