Duplicate a PCF element

About this task

If you do one of the following, Studio creates a duplicate of the element immediately after the current element:

  • Right-click an element and select Duplicate.
  • Select a widget and click Ctrl+D.
  • Select Duplicate from the Edit commands on the menu bar.

This includes all attribute values and descendants. Studio selects the duplicate widget automatically.

Results

If the PCF schema permits the target widget to occur one time only within the parent widget (for example, a Screen), then attempting to duplicate the widget has no effect.