CommunityHire an ExpertSign Up
ActionsOne-click update
Actions

One-click update

Letting users update records in your data.

Using the One-click Update Action

This Action Button, similar to the Edit Record button, lets your users update records (e.g. List items) in your data. The difference is that, instead of letting the user input data or choose an option, you predefine the value that needs to be applied. Thus, the user only needs to click the button to complete the update.

To set up the button, you need to specify the field (Field parameter) that needs to be modified and set the value that will replace the existing value of the field.

There are two ways to use the One-click update action. You can either Replace a Value or Clear a Value.

  • Replace existing value - This option will let you set a field value in your datasource, replacing anything already in that field. Selecting this will expose another field where you can select what to replace the value with. You can use a static value, or pick a dynamic value such as Logged in user data, current record data, or even datetime values and URL parameters.

  • Clear value - This option lets you reset a field in your datasource back to empty, 0, or null, depending on the field type.

One-click update setup

One-click update setup

The Replace existing value with settings are similar to those of the hidden field values.

Let’s consider an example to see this functionality in action.

Example: Letting a development team users reassign tasks

Let’s say we have a list of tasks for a development team, where each task has an assignee (Assignee Email field).

List of tasks

List of tasks

We are going to add a One-click update button to list items named “Reassign to me,” which will let each user reassign the task to him/her with one click.

Adding the button to items

Adding the button to items

Next, we need to add a field to the button, map it to the Assignee Email field, and select the Logged-in user’s Email as the value.

Notion image

That’s it. Now, let’s log in with one of the development team users and test how this works.

Testing the setup

Testing the setup

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.