The duplicate option allows users to create a copy of a record.

Pane header menu dropdown

Structure

Location

The duplicate option shall be found in the pane header menu next to its corresponding icon.  

Duplicate pane

It shall be similar to the edit record pane. All text fields shall be prefilled with the information of the selected record.

Behavior

General

When users click on the pane header title, a menu shall appear with the option to duplicate the record.

When selecting this option, the duplicate pane shall appear with prefilled fields based on the selected record.

As soon as users start editing, the “Save & close” button changes from the disabled to the primary style.

Cancelling & leaving page

If users would like to cancel duplicating the record, they can click on the cancel option found in the pane header menu. 

If changes have been made, the unsaved changes modal shall appear no matter how users try to leave the page (by clicking on the close icon, the cancel option or a FOLIO navigational element). 

Saving record

When users save changes, they are redirected to the previous page where the record pane of the newly created record is open. 

A toast should appear to confirm the action.

Related pages

The edit record page allows users to select, edit, add and delete fields.
The Full view option allows users to see a record in a full-width view.
The new record allows users to add new content.
The pane menu allows users to perform actions related to the pane content
A toast is a self-dismissing bar used to give users non-critical info about action status within an app or another app: record created, fil...
This modal is a confirmation modal that prevents users from leaving an edit record page without saving changes.