Difference between revisions of "Changing Display of Contacts"
From SDU
(→Step 1. Create a .Mod file) |
(→Step 1. Modify Schema) |
||
| Line 6: | Line 6: | ||
For ALL releases make your schema change by creating a .mod file and placing it in the $NX_ROOT/site/mods/majic directory. Name the .mod anything you like, but it is recommended that it be preceded with a 'z'. Take the code you need from the examples below. | For ALL releases make your schema change by creating a .mod file and placing it in the $NX_ROOT/site/mods/majic directory. Name the .mod anything you like, but it is recommended that it be preceded with a 'z'. Take the code you need from the examples below. | ||
| + | <source lang="javascript"> | ||
OBJECT cnt { | OBJECT cnt { | ||
ATTRIBUTES ca_contact { | ATTRIBUTES ca_contact { | ||
| Line 14: | Line 15: | ||
}; | }; | ||
}; | }; | ||
| + | </source> | ||
== Step 2. Publish the Schema changes == | == Step 2. Publish the Schema changes == | ||
Revision as of 09:48, 17 July 2008
The example below provides steps to modify or change the display format of Contact records.
Step 1. Modify Schema
For ALL releases make your schema change by creating a .mod file and placing it in the $NX_ROOT/site/mods/majic directory. Name the .mod anything you like, but it is recommended that it be preceded with a 'z'. Take the code you need from the examples below.
<source lang="javascript"> OBJECT cnt {
ATTRIBUTES ca_contact {
combo_name3 DERIVED(first_name ", " middle_name ", " last_name);
};
FACTORY {
COMMON_NAME combo_name3;
};
}; </source>
Step 2. Publish the Schema changes
The methods used to publish schema changes vary based on the Service Desk release.
For r11.x releases, follow these steps:
- Save your Schema changes
- Stop the Service Desk service
- Run pdm_publish from a command line
- Start the Service Desk service
For older release recycle the Service Desk service.
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.
To discuss or ask questions about this article, select the discussion tab above.