Each layer in a hosted feature layer contains an attribute table that stores the data for the layer. Each table contains rows (features) and columns (fields).
If you allow others to edit your hosted feature layer, editors can open the attribute table in Map Viewer or open the table page of the layer's item page and update values.
If you own the layer or you are an administrator of your organization, you can perform the following field management operations from the Data tab of the layer's item page:
- Add fields to or delete fields from the attribute table.
- Calculate field values.
- Add a unique constraint to a field.
- Define a list or range of values for fields.
- Describe each field.
- Set a display name for a field.
Set a display name
You can change the field name that other users see when they view a hosted feature layer's attribute table. Set a display name that concisely conveys the field contents to help others understand the data.
Changing the display name for a field does not affect the field name stored in the attribute table. Because it's a property of the field and not a field name, the display name can contain spaces and nonalphanumeric characters.
To change the field name that others see when viewing the attribute table, follow these steps:
- From the layer's item page, click the Data tab to show the table.
- Click Fields.
- If your hosted feature layer contains more than one sublayer, choose the sublayer you want to alter from the Layer drop-down menu.
The fields list shows each field's display name, field name, and data type.
- Click the display name for the field you want to alter to open the field's details.
- Click Edit next to the display name and type a new name.
Keep the name as brief as possible while still conveying the content of the field.
- Click Save when you're finished.