Change the subtype of an ABContact instance in
ContactManager
Before you begin
Procedure
- Run a query on the ContactManager database to get the PublicID and LinkID of the contact instance.
-
Ensure that all users are logged out.
Note: This step is an important one. ContactManager must not have its user interface open when you apply the subtype change.
-
Set the ContactManager server’s runlevel to
maintenance.For example, at a command prompt open in ContactManager/admin/bin, enter:system_tools -password adminuser-password -maintenance
-
Run the command-prompt tool to change the subtype of the contact instance.
For example, the user with login alinu has the role Contact Subtype Changer and password x2wTz@71P. For user alinu to change the contact with PublicID ab:123 to the subtype
ABDoctor, at a command line open in ContactManager/admin/bin, the user would enter the following command, all on one line:maintenance_tools -user alinu -password x2wTz@71P -changesubtypetargettype ABDoctor -changesubtypepublicid ab:123 -
Note the messages in the console.
If your command is successful, you see messages similar to the following:
Changing contact with publicID: ab:123 to subtype: ABDoctor
done
- Log in to ContactManager and ensure that you can open the contact and save changes. If necessary, update data as needed.
-
Take ContactManager out of
maintenancerunlevel.For example, at a command prompt open in ContactManager/admin/bin, enter:
system_tools -password adminuser-password -maintenance
