ArcFM Desktop Developer Guide
Customize MM_PX_CONFIG Table

Resource Center Home

You may add your own configurations to this table, and they may be used by any custom Process Framework tools that you write. This table allows the developer to make their code more flexible by retrieving values from the MM_PX_CONFIG table rather than "hard coding" their tools.

For example, you may have created a new node type called Design Session that requires a version prefix. You would add a row to the MM_PX_CONFIG table that might look like this:

CONFIG_NAME

CONFIG_VALUE

DesignSessionVerPrefix

DS

After adding the row to the table, you can access the data in the code. The GetWFMConfigValue method queries the MM_PX_CONFIG table and returns the CONFIG_VALUE.


Interfaces:
    IMMPxHelper2

Component Category:
    none

The MM_PX_CONFIG table can hold various values for many possible uses. Below are just a few examples:

  • Table and field names for SQL queries

  • Default values

  • File names

  • Configurable settings that drive behavior in the code. For example, a tool might behave differently if the database is in production.

CONFIG_NAME

CONFIG_VALUE

InProduction

1 (or 0)

 

 


Send Comment to ArcFMdocumentation@schneider-electric.com