Viewing and editing model object attributes

A model object attribute setting is stored on the base model object in a Rational® Synergy database. The setting applies to all users and client sessions running on that database.

Procedure

  1. View the current setting of a model object attribute.
    1. Start a Rational Synergy CLI session on the database.
    2. Query for the base model object: ccm query -t model -n base
    3. Show the current attribute value: ccm attr -s attr_name @1
  2. Edit the model attribute.
    1. Start a Rational Synergy CLI session as a user who has the ccm_admin role.
    2. Change your role to ccm_admin: ccm set role ccm_admin
    3. Query for the base model object: ccm query -t model -n base
    4. If the model attribute does not exist: ccm attr -c attr_name -t attr_type @1
    5. If the model attribute is not of type text or uptext, change its value: ccm attr -m attr_name -v value @1
    6. If the model attribute is of type text or uptext, change its value: ccm attr -m attr_name @1
    7. Logon as the CM administrator on the server and refresh the database: ccmdb refresh database_path

Feedback