You are here: Workspace Basics > Reading and Writing Data > Feature Types and Attributes > Adding and Copying Attributes

Adding and Copying Attributes

How to add a new attribute to a feature type:

  1. Select the Writer Feature Type, right-click and select Add Attribute. (You can also click the gear icon and the User Attributes tab.)
  2. Enter the name of the attribute and use the tab key to move through the Data Type, Width and Precision fields. You can enter or change the default values provided in these fields, or continue to enter more attribute names.

  1. Click OK.
  2. Connect the attribute with its source.

Note: To quickly rename an attribute without reopening the dialog, float the cursor over an attribute name (you will see a highlight), right-click and select Rename.

Copying Attributes

You can also copy attributes from another feature type or a transformer. This is a useful function if you have many attributes to duplicate:

  1. Select the Destination Feature Type, right-click and select either Copy Attributes From Feature Type… or Copy Attributes From Transformer.
  2. In the dialog that appears, select either a feature type or a transformer from the pull-down list.
  3. Click OK.

All the attributes will be copied to the selected feature type.

Tip: Use the Attribute Connection feature to quickly connect reader and writer feature type attributes. To open the Attribute Connections pane in Workbench, select View > Windows > Attribute Connections.