Skip To Content

Describe attribute fields

Provide a useful, easy-to-read field display name, describe the purpose of each field, and define the type of data each field contains. This information helps users decide whether the data in the layer meets their needs and how best to apply styles to the layer, and it gives editors the information they need to update or add attribute values.

The owner of the hosted feature layer or an organization administrator can add or alter this information for each field. Members of a shared update group to which the layer is shared can also add or alter this field information.

Tip:

If your organization has AI assistants enabled, you can use an assistant to generate a display name, description, and value types for fields in hosted feature layers and hosted feature layer views.

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 displays in apps that access the attribute table, complete the following steps:

  1. Open the item page for the hosted feature layer or hosted table and click the Data tab to show the table.
  2. Click the Fields button Fields.
  3. If the hosted feature layer contains more than one layer, use the Layer drop-down menu to choose the layer to alter.
  4. Click the display name of a field to open its details.
  5. Click the Edit button Edit next to the name and type a new name.

    Keep the name as brief as possible while still conveying the content of the field.

  6. Click Save.

Provide a field description

The field description helps communicate what a field contains without having to use long or complicated field names.

Add field descriptions from each field's detailed view on the Data tab of the hosted feature layer's item page.

  1. Open the item page for the hosted feature layer or hosted table.
  2. Click the Data tab and click the Fields button Fields.
  3. If the hosted feature layer contains more than one layer, use the Layer drop-down menu to choose the layer to alter.
  4. Click a field name to open its detail view.
  5. Click the Edit button Edit for the Description value and type a summary of the information that the field stores.

    The field description cannot contain greater than (>) or less than (<) characters.

  6. Click Save to add the field description.

When users use the layer in Map Viewer, they can access each field's description when setting the layer's style and when they open the table in the map. This information helps them understand how to use and symbolize the data.

Define field value types

To help users and client apps identify how field values should be used or represented, define the types of values that are stored in each attribute field in a hosted feature layer. For example, if you define a text field as a phone number, client apps can format the text in the appropriate manner, such as (123) 456-7890. ArcGIS Enterprise uses field value types to show you the most relevant options when drawing a layer in a map or configuring pop-ups.

Field value types

The following table lists each value type you can assign to a field and what each value type represents:

Field value typeWhat the field contains for each feature

Name or Title

Text that represents a name, title, label, or keyword for each feature.

Description

Text that provides a longer description of the feature, more than just a name or title.

For example, if you have a layer to collect information from the public regarding issues in the community, a field in that layer that allows users to specify the nature of the issue can be defined with the Description field value type.

Type or Category

Field values represent types or categories for group features that are based on a common characteristic—for example, soil type, zoning code, species, or asset type.

Count or Amount

Integers (no decimal) that represent the quantity of a specific attribute.

Percentage or Ratio

Number values in this field reflect the relationship between different quantities—for example, the percentage of males in a population or the ratio between the number of males and females.

Measurement

A number that reflects a characteristic that you can precisely measure—for example, elevation, distance, temperature, or age.

Currency

A number that represents monetary values.

Unique Identifier

The values in this field are used to positively distinguish one feature or entity from another, for example, an assessor's parcel number, a membership ID, or an invoice number.

Each value per entity must be unique, but that does not necessarily mean all the values in this field will be unique for the layer.

For example, if you have two layers—one for employees and one for job sites—both can contain an employee ID unique identifier field. In the employees layer, the employee ID field must contain unique values. In the job sites layer, the employee ID field can contain duplicate values, as an employee may work at multiple job sites. The employee ID field in the job sites layer is still a unique identifier because it distinguishes one employee from another, even though the field does not contain unique values in the job sites layer.

Phone Number

This field stores phone numbers.

Email Address

This field stores email address strings.

Ordered or Ranked

The values in this field represent a feature's status in an ordered or ranked list. For example, a feature can be one of the following:

  • Small, medium, or large
  • First, second, third, or fourth
  • Informational, warning, error, or failure

Binary

Only one of two values are possible for each feature. Examples include the following:

  • On or off
  • Yes or no
  • True or false
  • Inhabited or vacant

Location or Place Name

Values in this field represent a geographic location. Examples include a street address, city name, region, building name (such as A.K. Smiley Public Library), attraction name (such as Alameda County Fairgrounds or Cairngorms National Park), postal code, or country.

Coordinate

These fields store a geographic coordinate value such as x, y, z, latitude, or longitude.

Date and Time

Values in this field store explicit dates and times or date references such as days of the week, months, or years.

Add a field value type

To define a field's value type, complete the following steps:

  1. Open the item page for the hosted feature layer to which you will add field descriptions.
  2. Click the Data tab and click the Fields button Fields.
  3. If the hosted feature layer contains more than one layer, use the Layer drop-down menu to choose the layer to alter.
  4. Click a field name to open the field's detail view.
  5. Expand the Value type drop-down menu and choose the value type to apply to the field.
  6. Click Save.

Map Viewer sets a default style based on the value type information to better represent the field's content.

Use suggestions for field properties (beta)

You can use the Item Details assistant (beta) to generate field display names, field descriptions, and value types for fields in hosted feature layers, hosted feature layer views, and hosted tables. You can update this information for a single field or multiple fields in the same layer.

Note:

Suggestions are currently beta functionality.

You must be signed in to the organization as one of the following to use an assistant to update field information:

  • The owner of the layer
  • A member of the default administrator role
  • A member of a custom role that has the administrative privilege to update content
  • A member of a shared update group with which the layer is shared

Suggestions are made in the organization's default language or the language you set in your profile.

Note:

Changes made to the field properties in the source hosted feature layer are propagated to its associated hosted feature layer views unless you previously edited the properties in the view. See Create hosted feature layer views for a description of settings that are inherited or not inherited from the source hosted feature layer.

Suggestions overwrite existing information. You can alter the suggestions before you save, exclude fields before you save, or cancel out of the suggestion pop-up to revert to the previous information for all selected fields.

To use suggestions to update field properties, complete the following steps:

  1. Sign in to your organization.
  2. Open the item page for the hosted feature layer or hosted feature layer view.
  3. Click the Data tab.
  4. If the hosted feature layer or hosted feature layer view contains multiple layers, choose the correct layer from the Layers drop-down menu.
  5. Click the Fields button Fields to open the fields view.
  6. Check the box next to each field for which you want the assistant to suggest field property values and click Suggest.

    To select all fields, check the box at the top of the fields list.

    The Suggest field properties pop-up appears.

  7. Click Suggest.

    The Review suggested field properties window appears.

  8. Review the values that were suggested by the assistant for each field, and do one of the following:
    • Edit the suggested content.
    • Make no changes to the suggested content.
  9. When you finish reviewing and, optionally, editing the field property suggestions, check the box next to each field for which you want to preserve the changes and click Save.

    Changes are saved for the selected fields. Properties for the other fields remains as they were before you ran the assistant.