CommunityHire an ExpertSign Up
ActionsDelete Record
Actions

Delete Record

Letting users delete records in your data.

This Action Button lets you delete records in your data source. To demonstrate how the Delete Record button works, we’re going to use a List block connected to an Airtable data source, which shows a list of tasks for a hypothetical product development team and has three fields: Name (the name of the task), Assignee (who it is assigned to), and Status (the current progress status of the task). We want to enable a “Delete task status” button to allow project managers to delete tasks.

List of tasks

List of tasks

First, we are going to configure the button label and that texts that are going to be shown in the pop-up (or modal) opened by the delete button.

Configuring button and modal labels and other texts

Configuring button and modal labels and other texts

Button Visibility

Now, let’s configure the button visibility to specify who the button is going to be visible to. The users of our task list are the same people who are working on those tasks, so we are going to connect the same Airtable base with tasks and assignees to Softr as a user database.

Airtable table with the list of tasks and assignees.

Airtable table with the list of tasks and assignees.

Now, let’s configure the actual button visibility settings. We need to allow only Project Managers to delete tasks, so, first of all, we need to create a User Group that includes only the users whose Position is Project Manager.

Creating a user group for project managers

Creating a user group for project managers

Next, we need to navigate to our delete button’s visibility settings and select the user group that is going to be able to view the button.

Setting button visibility

Setting button visibility

That’s it. The next and last step is to make sure everything’s working as expected.

Testing task deletion

To test our setup, we are going to log into our application with a user whose position is Project Manager and attempt to delete one of the tasks. The following gif illustrates that.

Deleting a task

Deleting a task

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.