Copy Record

WorkWithPlus provides the possibility to make a copy of an existent record and open the transaction so that you can make the pertinent modifications and save the record, or just cancel it.

In order to use this feature, just add the StandardAction Copy Records inside or outside the grid of a GridObject. The transaction must be Business Component.

GeneXus IDE Transaction "Person" object, Patterns tab, Work With Plus applied, Selection (Person) tree with a new "Standard Action (CopyRecord)" node selected under Grid; a red arrow points from it to the copy/duplicate icon in the Preview Size "Small" grid preview showing the Person list with Id, First Name, Last Name, Full Name, Hobby, Age, and Address columns, search controls, and Insert/Excel/PDF/Selecciona columnas buttons.

At runtime, it will look like the following image:

Generated Person Work With Plus web grid with the DVELOP-branded left menu (Inicio, Opcion de Menu 1-3, Menu de Desarrollo) and the Person list, showing a highlighted blue "copy record" icon with a red arrow pointing to it on the row for "Jamie" Larsson, alongside standard delete/edit/duplicate icons for each row.

When selecting this action, user can modify the record that is being copied:

Person entry form opened via the Copy Record action, titled "Person / Informacion General", with Id auto-set to 5, First Name pre-filled as "Jamie Copy" (editable, highlighted), and read-only copied values Last Name "Larsson", Full Name "Jamie Larsson", Hobby "Run", Age 35, and an empty Address field, with Confirm and Cancel buttons.

Then, the new record will be added:

Person Work With Plus web grid after using Copy Record, showing the newly created row highlighted with Id 5, First Name "Jamie Copy", Last Name "Larsson", Full Name "Jamie Copy Larsson", Hobby "Run", and Age 35, alongside the original "Jamie" row and others (Julia, Manuel, Robert).

You can customize the properties, visualization of this StandardAction in WorKWithPlus Settings -> StandardActions -> Copy Records