How to Edit a Duplicated Record

Duplicating a record saves time, but the real advantage comes when you can immediately open and update the copy rather than hunting for it in a list. This walkthrough builds on the duplication setup and adds a second action that links directly to an edit screen, so users land on the new record the moment it's created.


Set Up the Database

If you haven't already, create an Activities collection with the following fields:

  • Title (text)

  • Notes (text)

  • Type (text)


Create the Edit Screen

Add a new screen and name it Edit Activity. This is where users will land after tapping the copy button.


Update the Duplicate Record

This ensures the copied data loads automatically so users can make changes right away rather than filling everything in from scratch.

Action 1: Add Form Component to Update the Current Activity

Set the fields to display from the newly duplicated record and allows your user to make any necessary changes.

Action 2: Link to List of Records

Add a Link action immediately after the Update action to


Test the Flow

Preview your app and run through the full sequence:

  1. Open an activity.

  2. Tap the copy button.

  3. Confirm the Edit Activity screen opens with the copied data pre-filled in the form.

  4. Make an edit and save to verify the update sticks.

You can also check your database directly to confirm both the original and the edited copy exist as separate records.


Learn More

  • The newly created record is only available when actions run in sequence on the same button. Make sure the Link action comes directly after the Create action or the duplicated record won't pass correctly.

  • You can extend this pattern to any collection, not just Activities. The same two-action approach works wherever duplication is useful.

  • To give users a way to discard the copy, add a Delete action on the Edit screen tied to a cancel button, referencing the current record.


Help

If you need additional help with this article, you can always ask in our community forumarrow-up-right! Be sure to paste the link to this article in your post as well!

Do you have a tutorial or help doc request? Let us know!arrow-up-right

Last updated

Was this helpful?