In the Manage Templates pane, Template creates a table template for the table highlighted in the pane. The table must participate in a relationship class as the destination with the feature class as the origin.
Table templates are component templates you can add to a feature template to create a record in a related table each time a new feature is created. More than one template can be created for the same table and configured with different attribute values.
For steps to add a table template to a feature template, see Configure a feature template.
New template
To create a new table template, click the layer, click New , and click Template .
- In the Catalog pane, create the relationship class if it does not exist, and specify the feature class as the origin and the table as the destination.
- Right-click the geodatabase or dataset, click New, and click Relationship on the context menu.
To learn more about creating relationship classes, see Create a relationship class.
- Open the Manage Templates pane using one of the following methods:
- On the Edit tab, in the lower right corner of the Features group, click the Manage Templates dialog box launcher .
- In the Create Features pane, click Manage Templates .
The Manage Templates pane appears.
- In the pane, expand the map icon for the current map and click the table.
- If the table does not appear on the list, expand Databases in the Catalog pane. Expand the database containing your data, and drag the table onto the map.
- In the pane, on the toolbar, click the New drop-down arrow and click Template .
The Template Properties dialog box appears.
- Click General.
- In the Name text box, type a name.
The OK button is enabled.
- In the Description text box, you can document the template with an optional description that you and your organization can search and find in the pane.
- In the Tags text box, the keyword for Table is automatically generated. You can delete it or add additional tags.
- To add a tag, type the keyword and press Enter.
- To delete a tag, click X.
- Click Attributes.
- In the feature attribute, type the attribute values you want automatically generated in the destination table when you create a new feature.
- Check the following optional settings to enable them:
- Show nonvisible fields— Shows all hidden attribute fields in the Template Properties dialog box.
- Prompt for attribute value— Shows the field in the Create Features pane below the tool palette for quick access.
- Click OK.
The template is saved and the dialog box closes.