To Style Job-Enabled Features

For job-enabled industry models, enhance the display model to style the features that have been created, modified, or deleted in a job.

To create a display model that tracks feature modification and deletion

    The industry model must be job-enabled.

  1. In the Maintenance workspace, open an enterprise industry model project.
  2. Click Home tab Display panel.
  3. From the Display Model list, select Open Default Display Model.
  4. In the Generate Graphic - Default Display Model dialog box, select Enable Deleted Features To Be Displayed.
  5. In the Display Manager, style the layers, and save the display model.
  6. Click Home tab Display panel Generate Graphic.

    The display model provides a text function TB_SQL for TB_JOB_OPERATION _ID. You use this text function to define Thematic Rules for the features that have been created, modified, or deleted in the current job.

To use TB_SQL to style new or modified features in a job

  1. In Display Manager, select the feature layer, such as Building (LM_BUILDING).
  2. Click Style.
  3. In the Style Editor, under Polygon Style For Scale Range, click Add A Rule.
  4. Click the box under Thematic Rules.
  5. In the Create/Modify Expressions dialog box, click Property.
  6. In the Property list, select JOB_OPERATION_ID and enter the following condition:
    • For new features: JOB_OPERATION_ID = ’1’.
    • For modified features: JOB_OPERATION_ID = ’2’.
    • For deleted features: JOB_OPERATION_ID = ’3’.
  7. Click OK.
  8. Click the box under Style. In the Style Point dialog box, specify the style.

For more information about the text function TB_SQL see Using Expressions in Style Definitions.

Variant: Style features using Oracle views

To use Oracle views to style new or modified features in a job

  1. For each job-enabled feature class that you want to style, create an Oracle view that includes the JOB_OPERATION_ID attribute.

    Job-enabled feature classes have a JOB_VERSION attribute, which is related to the TB_JOB_VERSION table.

    Create an Oracle view, such as the building view LM_V_BUILDING in the land management demo data set:

    CREATE VIEW LM_V_BUILDING AS select a.FID, a.AREA, a.GEOM, a.IDENTIFICATOR, a.ID_QUALITY, a.ID_TYPE, a.JOB_VERSION, b.JOB_OPERATION_ID FROM LM_BUILDING a, TB_JOB_VERSION b WHERE a.JOB_VERSION = b.JOB_VERSION
  2. Register the view as feature class. See "Creating a Feature Class From a View" in the Infrastructure Administrator Guide.
  3. In Display Manager, select the feature layer of the view, such as LM_V_BUILDING.
  4. Click Style.
  5. In the Style Editor, under Polygon Style For Scale Range, click Add A Rule.
  6. Click the box under Thematic Rules.
  7. In the Filter dialog box, under Property Or Expression, select Property.
  8. In the Property list, select JOB_OPERATION_ID and enter the following condition:

    For new features: JOB_OPERATION_ID = 1.

    For modified features: JOB_OPERATION_ID = 2.

    For deleted features: JOB_OPERATION_ID = 3.

  9. Click OK.
  10. Click the box under Style. In the Style Polygon dialog box, specify the style.
  11. Note:

    You use the layer of the view for stylization, such as LM_V_BUILDING. Do not use the feature class layer, such as LM_BUILDING.