Copy and Paste

The Avonni Dynamic Component Builder includes a copy-and-paste feature that allows you to duplicate components and their configurations quickly and easily. This significantly speeds up development and ensures consistency across your components.


What Gets Copied?

When you copy a component, you're copying:

  • The Component Type: (e.g., Data Table, Button, Text, etc.)

  • All Properties: All settings in the component's Properties Panel (e.g., label, data source, visibility conditions, interactions, styling).

  • Nested Components: If the component contains nested Dynamic Components (using the Dynamic Component component), those nested components and their configurations are also copied.

  • Resources are not copied: Resources are not copied, only component configurations.


Step-by-Step Guide

  1. Select the Source Component: In the Component Builder canvas, click on the Avonni component you want to copy. This will highlight the component and display its properties in the Properties Panel.

  2. Copy the Component

    • Locate the Copy button in the top-left corner of the Component Builder canvas. It's usually represented by an icon of two overlapping squares or a similar "copy" symbol.

    • Click the Copy button. This copies the selected component and its configuration to the clipboard.

  3. Paste the Component

    • Locate the Paste button in the top-left corner of the Component Builder. It is usally represented by a clipboard icon.

    • Click the paste button. A copy of the component is added to the canvas.

  4. Place the Component

    • The new component appears

    • Click on the Move button

    • Select the new location for your component.


Important Considerations

Summary

Element
Within Same Dynamic Component
Between Different Dynamic Components

Component

Copied (including properties and nested components)

Copied (including properties and nested components)

Data Source

Configuration copied, same instance used

Not copied; must be recreated/reselected

Interactions

Copied, references may need adjustment

Copied, references likely need adjustment

Resources

Not copied; must exist.

Not copied; must be recreated

Last updated

Was this helpful?