Managing extended properties tables

此主题仅适用于 ArcEditor 和 ArcInfo。

Extended properties allow you to track business-specific information as part of the job. This job element extends the basic job properties (assignment, due date, and so on) with things you are interested in tracking and reporting on.

Workflow Manager offers two types of extended properties—one to one (1-1) and one to many (1-M, or linked properties). To configure and use extended properties in your job types, you must create a new geodatabase table in the Workflow Manager Repository. Then, configure Workflow Manager to recognize this table as an extension to the rest of the system tables.

Types of table relationships

One to one properties

One to one properties have a 1-1 relationship with the Workflow Manager jobs table. A good example of this is the job's assignment. At any time during the life of the job, it can have only one user or group responsible for it at a time. Configure your extended property table with a 1-1 relationship if your jobs may have only one value for the property.

One to one properties are commonly referred to as extended properties in the documentation and client application.

One to many properties

One to many properties have a 1-M relationship with the Workflow Manager Jobs table. A good example of this type of relationship is job attachments. Jobs may have only one attachment or may have multiple attachments at any given time during their life cycle. Configure your extended properties table with a 1-M relationship if the job may have multiple values for the property at a time.

One to many properties are commonly referred to as linked properties or related information in the documentation and client application.

Configuring extended properties tables

Creating an extended property table

Extended properties tables need to be created through ArcCatalog.

步骤:
  1. In ArcCatalog, connect to the database containing your Workflow Manager system tables.
  2. Create a new table to contain your custom properties by right-clicking the Contents tab and selecting New > Table.

    The New Table dialog box appears.

  3. Provide a name for your extended properties table.

    A useful convention is to use WMXX_ as the start of the table name, making it recognizable as an extension of the core Workflow Manager system tables.

    New Table
    The first step of configuring extended properties for your job is creating a new geodatabase table in the Workflow Manager repository.
  4. Click Next.
  5. Choose the configuration keyword that was used during the postinstallation process.
  6. Click Next.
  7. Add a field to be used to link this table with the jobs table.

    This must be of type Long Integer and will be managed by Workflow Manager. Typically, this field is called JOB_ID.

  8. Add the fields for each property required.

    You may add fields here for multiple job types and only configure some visible for certain job types.

    ExtPropsFields
    Add fields for each piece of information you want to track on the jobs in your system.
  9. Click Finish to create the table.

Adding an extended property table to the system

After creating the table through ArcCatalog into the repository, you will need to add it to the Workflow Manager system.

步骤:
  1. Open the Administrator and connect to your Workflow Manager database.
  2. Select the Geodatabases folder.
  3. Right-click and select Add an extended properties table.

    A dialog box appears showing you all the non-Workflow Manager system tables that reside in the Workflow Manager Repository.

  4. Select your new extended properties table, then click Add.

    The Table Relationships dialog box appears.

  5. Choose the field you designed to contain the JOB_ID from the Link Field drop-down menu.

    Only fields with a data type of Long Integer will be shown.

  6. Choose the cardinality for this table.

    Will it be a 1-1 relationship with the jobs table or a 1-M?

    AddExtPropRelationships
    Configure the type of relationship your new extended properties table will have with the Workflow Manager jobs table.
  7. Click OK to create the new relationship and close the dialog box.

    Now, when editing your job type, this table will appear in those available to add.

Removing extended properties tables from the system

You can delete extended properties tables that are no longer used from the system. This will remove any association of this table from any of the job types in your system.

步骤:
  1. Open the Administrator and connect to your Workflow Manager database.
  2. Select the Extended Properties Tables folder under Geodatabases.
  3. Select the table you want to remove.
  4. Right-click and click Delete Item.

    Once the table has been removed from the Workflow Manager System, you can delete the table from the repository in ArcCatalog.


9/23/2010