Feature request #15589
Duplicate record function
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Easy fix?:||No||Copied to github as #:||23513|
A duplicate record button should be added to the attribute table and in the feature form when using embedded forms.
The button should be active if one or more records are selected. The attributes of the selected records are all copied over to the new records except for primary key columns or columns with unique constraints, where they should be fetched from the (provider) constraints (see Nyalls proposal about unique constraints).
The duplicate function should also be added to the context menu of a row in the attribute table and to the preview column of an embedded form.
See screenshots with more explanations.
#6 Updated by Giovanni Manghi about 4 years ago
- Status changed from Open to Feedback
Andreas Neumann wrote:
Why was this closed again by "Anonymous"? As far as I know, this is not yet implemented?
Setting Status again to "Open".
#9 Updated by Andreas Neumann about 4 years ago
1. duplication of a single record for geometry layers:
If the concerned layer is a geometry layer and only one feature is selected, the user should have the ability to digitize a new geometry. If the duplicate record functionality is triggered, the form should be hidden and the "Add Feature" function should be enabled, allowing the user to digigitize a new geometry. Once, the geometry editing is finished, the attribute form of the new feature should be displayed, with all the values copied from the selected original feature.
2. The "duplicate feature" action should also be added to the attribute form menu.