Skip To Content ArcGIS for Developers Sign In Dashboard


You will learn: how to view feature layer rows and attributes with ArcGIS Online tools and the REST API.

ArcGIS Online includes a powerful set of tools for managing and exploring layer data. The most common way to store tabular data with geographic information is to create a hosted feature layer. These layers contain records that have both attribute and geometry information. In the ArcGIS platform, these are known as features. One of the main tools that you can use to access and manage layer data is the item details page. This page allows you to edit data and view features in a table view or in a map view. The Map Viewer and Scene Viewer are also powerful tools for exploring and managing layer data. They offer even more options for viewing, visualizing, and editing features. Lastly, if you want to view the raw data itself, since all hosted feature layers are services, you can always access the ArcGIS REST API directly to view features in a web browser.

In this tutorial you will use ArcGIS Online, the Map and Scene Viewers, and the REST API to explore layer data. Understanding the structure and definition of your data is an important first step to building applications successfully with the ArcGIS APIs.


View data with the item details page in ArcGIS Online

All hosted feature layers in ArcGIS Online have an associated item details page. Let's use this page to explore the layer data and visualization properties.

  1. Go to the Trailheads layer item in ArcGIS Online.

  2. Click Data to view a table of features.

    • At the top of the table, make note of the following:
      • Number of records available
      • Number selected
    • Click on the fields and Sort Ascending or Sort Descending to sort data and view statistics.
    • Click on the fields and Show Detailed View to view the detailed view. This provides a value summary.
    • Hold the shift key and click to select one or more rows.
    • Click on the menu at the top-right to clear the selection.
    • Click on the menu at the top-right to show or hide some of the columns.
    • Scroll down the table to view more records.
  3. Click Visualization to view the geometry and symbols for features.

    • Click on some features in the map to view the fields and values in the popup.
    • Click on Change Style to change the symbols and renderer.
    • Click on Filter to apply a SQL expression.
    • Click on Configure Popup to change the style of the pop-up.
    • Click Labels to apply labels.
  4. Optional: Repeat steps 1 - 3 above to explore the data for the Trails and Open Space layers.

Explore with the Map Viewer

Another way to access data is to open the layer in the Map Viewer. This application gives you even more tools to select, edit and visualize data.

  1. In the item details page, click Overview.

  2. Click Open in Map Viewer.

  3. Click features in the map to explore the fields and values in the pop-up.

  4. In Contents, click Trailheads > Show Table.

    • Click a record in the table.
    • Click on the Menu at the top-right and Show selected records. This should just show the feature.
    • Click on the Menu and Center on selection. This should zoom to and highlight the feature.
  5. In Contents click Trailheads > Change Style, Filter, Configure Popup and Label to change the visualization properties.

  6. Repeat steps 1 - 5 to explore Trails and Open Space layers.

  7. Optional: Save your map.

Explore with the Scene Viewer

Another way to access data is to open the layer in the Scene Viewer. The Scene Viewer allows you to view and interact with data in 3D.

  1. Go back to the item detail pages below:

  2. Click Open in Scene Viewer in each page.

  3. Zoom in, rotate and tilt the map.

  4. Click features to explore the fields and values.

  5. Optional: Save your scene.

Congratulations, you're done!


Explore data with the ArcGIS REST API

All hosted feature layers have a REST endpoint that you can use to access the data directly. This can be accomplished with a URL request from a web browser, a custom application, or the ArcGIS APIs.

Let's use a web browser to access the raw data.

  1. Go back to the Trailheads layer item details page.

  2. Under Layers > Trails click Service URL. This will bring up the metadata page for the layer.

  3. In your browser, add the following query parameters to the URL (or just copy/paste from below) and then refresh to fetch the features: /query?where=FID>0&outFields=*

  1. Scroll down the page to view the data returned. The feature data should look something like this:
Field Value
FID: 1
TRL_NAME: Pipe Corral Spur Trail
PARK_NAME: CA State Parks - Topanga
TRL_ID: 10133
SEG_ID: 101330000
CITY_JUR: Los Angeles
ZIP_CODE: 90272
SUP_DIST: 3rd District
X: 118° 31' 10.961" W
Y: 34° 4' 45.626" N
geometry Point:
X: -13193555.2846
Y: 4039461.1719999984

To learn more about querying data with the REST API, see the Query a feature layer tutorial.