Skip To Content

Control association visibility

Associations model relationships between features that are not geometrically coincident. This allows modeling connectivity between points that are not coincident, the structural support of assets, and features encased within other features.

The three types of associations are as follows:

Depending on the association type, there are several methods for controlling association visibility within the map view. Connectivity and structural attachment associations can be viewed using the View command. Containment association visibility can be configured to show or hide content features using the Display Content drop-down. This toggles the display filters for utility network layers. For example, in a map, you would see a substation but not the content features like devices, conductors, and assemblies.

See Associations for details about each association type. Review sections below for more details and steps on controlling visibility on associations.

View connectivity and structural attachment associations

Associations are not stored as features within the geodatabase, so other than dirty areas generated after creation they are not displayed on the map. To visualize connectivity and structural attachment associations within an active map, the View Associations Mode can be enabled. Network diagrams can also be generated to view these types of associations.

The View Associations Mode is enabled by clicking View in the Associations group on the Utility Network Data tab. After clicking View, a notification will appear in the upper right corner confirming the View Associations Mode is enabled, along with the number of associations visible in the current map extent.

Some important information about using View Associations Mode:

  • Only connectivity and structural attachment associations within the current map extent are displayed when enabling View Associations Mode. Associations drawn honor the settings defined within the Associations options page.
  • When activating the View Associations Mode, associations are drawn for the current map extent at that point in time. The View command can be used to deactivate and reactivate the View Associations Mode to refresh associations. This is needed for situations where edits are made to associations in the current map extent, or the map extent has changed from panning or zooming on the map.
  • The maximum allowable associations to return is set to 250 by default. If the current map extent contains more than this value, you can zoom in closer and retry enabling the View Associations Mode. Alternatively, this maximum value of associations can be changed within the Associations options page of the Utility Network Options dialog box.

To enable or disable the View Associations Mode, complete the following steps:

  1. Select a utility network layer within the Contents pane.
  2. On the ribbon, under Utility Network, click the Data tab.
  3. In the Association group, click View View.
  4. This will enable or disable the View Associations Mode.

View Associations Mode options

To change the options used by the View Associations Mode, click the View Associations Options dialog box launcher Launcher. This is located within the Utility Network Data tab, at the bottom right of the Associations group. This will open the Utility Network Options dialog box with the Associations tab active.

View Associations Options

The following associations options are available:

  • Maximum allowable associations returned—The default is 250.
  • Include connectivity associations—Enabled by default. Displays connectivity associations with a dashed line when using the View Associations Mode. The default color is a transparent gray-red. Use the color picker to change the color.
  • Include structural attachment associations—Enabled by default. Displays structural attachment associations with a dashed line when using the View Associations Mode. The default color is a transparent gray-green. Use the color picker to change the color.
  • Show a bounding box for the associations in the view—Disabled by default. A bounding box with a dashed line is created in the current map view extent when View Associations Mode is enabled. This represents the bounding box extent that associations are displayed in.

Note:

When viewing the associations options while the View Associations Mode is active, options for Include connectivity associations and Include structural attachment associations are disabled when set to false. These options cannot be toggled to true within the Associations tab until deactivating View Associations Mode.

Modify the visible status value for containment association content

For containment associations, the content features have a visible status value that is set. When used in conjunction with the Display Content, toggle the visible status value controls if the content is flagged as visible or not. By default, content features have the visibility status value unchecked. This visible status value can be easily modified on a per-feature basis when creating new or modifying existing containment associations using the Modify Associations pane.

Note:

Ensure you have a display filter set up on the AssociationStatus field or Display Content will not work.

To modify the visibility status value for container content, complete the following steps.

  1. Select a utility network layer in the Contents pane.
  2. On the ribbon, under Utility Network, click the Data tab.
  3. In the Association group, click Modify Modify.
  4. In the Modify Associations pane, click the Containment tab.
  5. On the Containment tab, click Select one or more containers, if necessary.
  6. In the map, select the container that has the content you want to make visible.

    Once you click the container feature, the Modify Associations pane is populated with the container and its content.

  7. In the Modify Associations pane, locate the content feature you want to toggle visibility for, and check the Visible check box accordingly.
    • Checked—Content will be visible in the map view.
    • Unchecked—Content will not be visible in the map view.
  8. Click Apply.

The specified content visibility will appear in the AssociationStatus field value. This can be used in display filters to control content visibility within the map. If you chose to hide content in the map, you can toggle visibility using the Display Content command or access content using the containment edit mode.

Show or hide containment association content

You can enable or disable display filters for all utility network layers to change the visibility of containment association content in your map using the Display Content command. This command is dependent on display filters for layers in the map view, along with the Visible status value set for content features.

Note:

Ensure you have a display filter set up on the AssociationStatus field or display content will not work. See Configure display filters using the association status attribute for more details.

To temporarily switch the visibility of content in a map, complete the following steps.

  1. Select a utility network layer within the Contents pane.
  2. On the ribbon, under Utility Network, click the Data tab.
  3. In the Associations group, click the Display Content drop-down arrow and choose one of the following options:
    • Show—Disables display filters for all utility network layers to show all content
    • Hide—Enables display filters for all utility network layers to hide non-visible content

Content features are shown or hidden in the map view. Use the Display content drop-down arrow to toggle between Show and Hide options. Continue to the next section to review how to Configure display filters using the association status attribute.

Configure display filters using the association status attribute

Display filters can be used to control the display of containment association content features. This allows you to show and hide content features in the map view using the Display content command. Having properly configured display filters is an integral configuration piece to change visibility for containment association content features using the Display content command. If no display filters are set in the map for the utility network layers, containment association content features will display, regardless of the option chosen for the Display content command and their Visible status value.

The ArcGIS Solution team provides Utility Network Configurations that include tools to help with the initial creation and configuration of the utility network using Utility Network Package Tools and the process of publishing to your portal and deploying for use with the ArcGIS Solutions Deployment Tool. This process of deployment includes maps that are configured using display filters on the association status attribute for all utility network layers.

If configuring your own maps, all of the utility network layers need to have display filters configured.

To use the Query Builder and construct a display filter with either the Clause mode or SQL Edit mode, complete the following steps:

  1. Within the Display filters pane, use the Query Builder to construct the display filter query of what features to filter.

    See, Display filters and use the steps provided to access the Display filters pane.

  2. If using SQL Edit mode, use the following SQL query:

    associationstatus NOT IN (36, 4, 5, 6, 12, 13, 44)

  3. If using Clause mode, build the following query:
    1. Field: Association status
    2. Operator: does Not Include the value(s)
    3. Values:
    • 4 - Content
    • 5 - Content and Container
    • 6 - Content and Structure
    • 12 - Attachment and Content
    • 13 - Attachment and Content and Container
    • 36 - Connectivity and Content
    • 44 - Connectivity and Attachment and Content
  4. See Write a query in the query builder for specific details on the two modes for constructing a query.

Repeat the process for all utility network layers. After you have completed the process for all the layers, the Display Content command can be used to Show or Hide content features within the map view.