Viewing and editing type definition attributes

A type definition attribute setting is stored on a type definition object in a Rational® Synergy database. This setting applies to all users and client sessions running on that database.

Procedure

  1. View the current setting of a type definition attribute.
    1. Start a Rational Synergy CLI session on the database.
    2. Query for the type definition object: ccm query -t cvtype -n type_name
    3. Show the current attribute value: ccm attr -s attr_name @1
  2. Edit the type definition 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 type definition object: ccm query -t cvtype -n type_name
    4. If the type definition 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