HOW TO
Feature layer views control access to a feature layer by applying filters, field visibility rules, and sharing permissions, allowing specific user groups to interact with relevant data without modifying the source layer. These settings enhance data security and improve performance by restricting access to sensitive information and reducing data volume.
However, feature layer views are only supported for hosted feature layers and hosted spatiotemporal feature layers. Since these layers are stored in ArcGIS Data Store, users can create and manage views directly in the ArcGIS Enterprise portal.
This article outlines the workflows to create layer views from non-hosted feature layers in the ArcGIS Enterprise portal. In this example, the layer view must include only the data from a referenced feature layer where the IsBeverage field is '0'.
Create a query layer by executing an SQL query on the source feature layer, and publish it as a referenced feature layer. The query layer remains linked to the source data and is automatically updated to reflect changes in attributes or geometry.
Use definition queries in the Layer Properties dialog box to filter data in the source feature layer before publishing it as a map image layer or a feature layer. Publishing a feature layer creates an editable feature layer that syncs with the source data and a non-editable map image layer.
Note: The Create Database View tool requires an ArcGIS Pro Standard or Advanced license.
Use the Create Database View tool to create a database view from the source feature layer and publish it as a map image layer or a read-only feature layer. The view layer is dynamically updated to reflect changes in the source data, but does not allow editing.
The layer view filters the IsBeverage field to include only records with a value of '0', as shown in the image below.
Article ID: 000035123
Get help from ArcGIS experts
Download the Esri Support App