Display Segment Names (Environment setting)

Tools that honor the Display Segment Names environment use this setting to include or remove segment names from Target Marketing workflows and report templates. This environment is used by Business Analyst tools only. For example, the Display IDs only setting will display 8A rather than 8A City Lights.

Usage notes

  • The Display IDs only setting is used to display segments based only on segment IDs rather than the full descriptive names.

Dialog syntax

  • Display names and IDs—The segment name and segment ID will be displayed.
  • Display IDs only—The segment ID will be displayed.
  • Empty—The Display segment names option setting will be displayed. This is the default

Scripting syntax

arcpy.env.baUseSegmentNames = segment_names_option

ParameterExplanation

segment_names_option

Specifies how Tapestry segment names will be displayed.

  • DISPLAY_NAMES_IDS—The segment name and segment ID will be displayed.
  • DISPLAY_IDS—The segment ID will be displayed.
  • Empty—The Display segment names option setting will be displayed. This is the default.
baUseSegmentNames syntax

Script example

import arcpy

# Don't display full Tapestry segment names
arcpy.env.baUseSegmentNames = "DISPLAY_IDS"

Related topics