A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://doc.arcgis.com/en/arcgis-online/manage-data/create-hosted-views.htm below:

Create hosted feature layer views—ArcGIS Online Help

If you need a different view of the data represented by a single hosted feature layer—for example, you want to apply different editor settings, styles, or filters—create a hosted feature layer view of that hosted feature layer. If you want to provide users with a single view that joins the data for two hosted feature layers, create a joined hosted feature layer view.

When you create a feature layer view, a new layer item is added to Content. This new layer is a view of the data in the source layers, which means edits made to the data in the source appear in the view. However, because the view is a separate item, you can change properties and settings on the view item separately from the hosted feature layer item from which it is created. For example, you can allow members of your organization to edit the hosted feature layer but share a read-only feature layer view with the public.

Only the owner of a hosted feature layer or an organization administrator can create a hosted feature layer view. This is different than copying a layer, which can be done by nonowners and even public users.

Tip:

Creating a hosted feature layer view alters the schema of the source hosted feature layer. The Schema updated date that is present on the Overview and Data tabs of the hosted feature layer item page updates when the schema changes.

Because hosted feature layer views reference existing data, they do not use additional credits.

Create a hosted feature layer view

Follow these steps to create a hosted feature layer view of one hosted feature layer or one of the sublayers in a hosted feature layer:

  1. Sign in to your organization.

    You must have privileges to create content, and you must be the owner of the hosted feature layer from which you want to create the view or be an organization administrator.

  2. Open Content > My content and open the item page for the hosted feature layer you want to use as a source for the view.

    The layer must be a hosted feature layer, not a feature layer added from the web or a feature collection.

  3. Click Create view layer > View layer on the Overview tab of the layer's item page. Tip:

    You may need to click the expand button to see all options.

  4. Choose the layers to include in the hosted feature layer view.

    By default, all layers are included. To exclude a layer from the view, click the layer name. Click the layer again to add it back to the view.

  5. Click Next to set a definition for each layer.
  6. Click the first layer to access the layer's definition options. Use the following options to define what features are included in each layer in the view:
  7. When you finish defining options for a layer, click the arrow next to Layer definitions to return to the list of all layers in the view.
  8. To set definitions for other layers in the view, repeat steps 6 and 7 for each layer.
  9. When you finish setting definition options for all layers in the view, click Next.
  10. Type a unique title for the hosted feature layer view.
  11. Choose the folder where the hosted feature layer view will be stored.
  12. If your organization has set up content categories, click Assign categories and select up to 20 categories to help users find the item.

    You can also start typing a category name to narrow the list of categories.

  13. Optionally, type tag terms separated by commas.

    Tags are words or short phrases that describe the item and help users find the item when searching. Federal land is considered one tag, while Federal,land is considered two tags.

  14. Type a summary that describes the use and content of the view.
  15. Click Create to create the view.

The hosted feature layer view's item page appears when the view is created.

Now you can share the view.

Create a joined hosted feature layer view

A joined hosted feature layer view allows you to combine data from two different sublayers in the same or different hosted feature layers or table layers based on a relationship between nonspatial attributes in each layer. You can join a layer to a layer, a layer to a table, or a table to a table.

Joined views are useful when you want to combine data from two layers and you need the data to dynamically update along with the source layers.

The following conditions must be met to create a joined hosted feature layer view:

Follow these steps to create a joined hosted feature layer view:

  1. Sign in to your organization.
  2. Open Content > My content and open the item page for one of the hosted feature layers to include in the joined view.

    This layer is the target layer. Rows from the join layer you choose in step 5 will be appended to this layer.

    The layer must be a hosted feature layer, not a feature layer added from the web or a feature collection.

  3. Click Create view layer > Joined view layer on the Overview tab of the layer's item page, or open the layer page for a sublayer and click Create view layer > Joined view layer. Tip:

    You may need to click the expand button to see all options.

  4. Choose one sublayer for the target layer and click Next.

    If the target layer is configured to show the user only the features created by that user, the joined view will provide feature access based on the creator values stored in the target layer. This means that users of the view will only see the features they created in the target layer.

  5. Specify the feature or table layer to join with the target layer.

    Even if the join layer is configured to show the user only the features created by that user, the joined view will not restrict feature access based on the creator values stored in the join layer.

  6. Choose the attribute field in each layer (the target layer and the join layer) to join the values in the two layers.

    If the join definition requires an additional set of fields, click Add field and choose additional fields from the target and join layers.

    Tip:

    Click the Information button next to a field to see a field's properties and what it contains.

  7. Define the join relationship.
  8. To create a view that includes all rows from the target layer, even the ones that cannot be joined to rows in the join layer using the fields you specified, choose the Left join option.

    If you choose the Inner join option, the view will only contain the features in the target view that meet the join definition.

    For example, creating a joined view that contains city boundaries (target layer) and hospital points (join layer) joined by the city name in each layer, the Inner join option results in a view that contains only those city boundaries that have a hospital. Choosing the Left join option results in a view that contains all city boundaries, even those that do not have a hospital.

  9. After you define the join, click Next.
  10. Type a unique title for the joined hosted feature layer view.
  11. Choose the folder where the joined view will be stored.
  12. If your organization has set up content categories, click Assign categories and select up to 20 categories to help users find the item.

    You can also start typing a category name to narrow the list of categories.

  13. Optionally, type tag terms separated by commas.

    Tags are words or short phrases that describe the item and help users find the item when searching. Federal land is considered one tag, while Federal,land is considered two tags.

  14. Type a summary that describes the use and content of the joined view.
  15. Click Create to create the view.

The hosted feature layer view's item page appears when the joined view is created. If you click the Data tab, you'll find fields from the target and joined layer in the table. If you defined a calculation, the virtual field or fields created as a result of the join appear in the table with the target layer attributes.

Now you can share the view.

Use one-to-one join options

You can use one of the following options to define a one-to-one join:

To define a calculation, do the following after you choose the Summarize matching records option:

  1. To specify the numeric or date field on which to perform the calculation, click Add statistic, choose the field, and click Done.
  2. Choose the type of calculation to perform on the field.
  3. Proceed with step 8 in the previous section to finish creating the joined view.
Limitations of joined views

Keep in mind the following when using joined hosted feature layer views:

Hosted feature layer view settings

Settings for hosted feature layer views fall into three categories, as described in the sections below.

Settings inherited from the hosted feature layer that cannot be independently configured on the views

Hosted feature layer views inherit the following settings from the hosted feature layers from which you create them. When any of these settings change on a hosted feature layer, the settings also change on all its views; you cannot independently change these settings on the hosted feature layer view.

Settings inherited from the hosted feature layer that you can change on the view

Hosted feature layer views inherit the following from the hosted feature layer from which you create them. If you prefer a different configuration for the feature layer view, you can change the view's configuration without affecting the hosted feature layer.

Settings that can be made independently on views and the hosted feature layers from which they are created

Hosted feature layer views do not inherit the following from the hosted feature layer from which you create them. Set these separately on the view.

For joined hosted feature layer views, the following additional settings are not inherited:

Interdependent settings that are not inherited

Hosted feature layer views do not inherit the following settings from the hosted feature layer from which you create them, but they are dependent on the configuration of the hosted feature layer:

To enable these settings on the hosted feature layer view, you must first enable them on the primary hosted feature layer. To disable these settings on the primary hosted feature layer, you must first disable them on the hosted feature layer views.

These settings do not apply to joined hosted feature layer views.

Hosted feature layer views and data access

As the owner of hosted feature layers or an organization administrator, you must carefully consider the implications of enabling editing and take into consideration who has access to the layer. For example, if you enable editing on a layer that is shared with the public, anyone on the internet—even people who do not sign in to your organization—can edit the layer. In general, the more people who have access to a layer, the more restrictive the editing privileges should be on the layer. So unless you're creating a hosted feature layer with the express purpose of using it in a public-facing app to collect information, you should not enable editing on a feature layer you've shared with everyone.

Hosted feature layer views are ideal for helping you control access to the same hosted feature data; you can allow editing access to only those users who need it. You can make your hosted feature layer editable and share it with only those groups whose members need to edit the data. Then you can create hosted feature layer views from the hosted feature layer, don't enable editing on them, and share the views with more groups, the entire organization, or even the public without compromising your data.

See Data access and editing for an explanation of how combining views and different editing options can help you make the same data available to different types of users with different editing needs.

Considerations when creating hosted feature layer views

Keep the following in mind when you create hosted feature layer views:

Related topics

Feedback on this topic?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4