HOW TO

Import a schema from a feature service in Portal for ArcGIS to ArcGIS Pro

Last Published: March 30, 2023

Summary

A schema defines the structure or design of a database or database object, such as a table, view, index, stored procedure, or trigger. In a relational database, a schema defines the tables, fields in each table, relationships between fields and tables, and the grouping of objects within a database. In ArcGIS Pro, a schema of a feature service in Portal for ArcGIS can be imported to preserve the structure of the database in a new feature class.

This article describes the workflow to import a schema from a feature service in Portal for ArcGIS to ArcGIS Pro.

Procedure

  1. Add the feature service to ArcGIS Pro using the Add Data From Path option.
    1. In Portal for ArcGIS, navigate to the item details page of the feature service. Under the URL section, copy the path of the feature service.
The URL section of the feature service in Portal for ArcGIS.
  1. In ArcGIS Pro, on the Map tab, click the Add Data drop-down button in the Layer group and select Data From Path.
The Data From Path option in ArcGIS Pro.
  1. In the Add Data From Path window, paste the copied URL of the feature service from Step 1(a) in the Path box and click Add.
The Add Data From Path window.

The feature service is added in ArcGIS Pro.

Feature service in the Contents pane in ArcGIS Pro.
  1. Use the Create Feature Class tool to create a new feature class and import the schema from the feature service.
    1. In the Geoprocessing pane, search for and click Create Feature Class (Data Management Tools).
    2. In the Create Feature Class pane, specify the Feature Class Location, Feature Class Name, and Geometry Type parameters.
    3. For the Template Dataset parameter, select the feature service added in Step 1 to copy the schema.
    4. For the Has M and Has Z parameters, if necessary, select Same as the template feature class to preserve the m-values and z-values of the feature service.
    5. Click Run.
The configured Create Feature Class pane.

A new feature class with the same schema as the feature service is created.

The new feature class created.

The image below demonstrates the schema of the feature service (image at the top) imported to a feature class (image at the bottom) in the fields views.

The feature service (image at the top) and feature class (image at the bottom) with the same schema in fields views.

Article ID:000029829

Software:
  • Portal for ArcGIS
  • ArcGIS Pro 3 1
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic