Difference between revisions of "Changing Display of Contacts"

From SDU
Jump to: navigation, search
m (Step 3. Example Of Results)
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
[[Category:Contacts]]
 +
[[Category:Customizations]]
 +
[[Category:r11]]
 +
[[Category:Schema Changes]]
 +
{{Global Header}}
 +
{{Global Announcement}}
 +
 +
== Overview ==
 
This article provides instructions to modify or change the display format of Contact records.
 
This article provides instructions to modify or change the display format of Contact records.
 
--<small>Article provided by [[User:N@irB|N@irB]].</small>
 
 
== Step 1. Modify Schema ==
 
  
 +
== Procedures ==
 +
=== 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.
 
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.
  
Line 18: Line 25:
 
</source>
 
</source>
  
== Step 2. Publish the Schema changes ==
+
=== Step 2. Publish the Schema changes ===
The methods used to publish schema changes vary based on the Service Desk release.
+
{{Publish Schema Change}}
 
+
<font color="blue">For r11.x releases</font>, follow these steps:
+
#Save your Schema changes
+
#Stop the Service Desk service
+
#Run [[pdm_publish]] from a command line (''Applicable if you made changes via WSP'')
+
#Start the Service Desk service
+
<font color="blue">For older release</font> recycle the Service Desk service.
+
  
 
== Example Of Results ==
 
== Example Of Results ==
Line 37: Line 37:
 
'''After: (Format: First_Name, Middle_Name, Last_Name)'''
 
'''After: (Format: First_Name, Middle_Name, Last_Name)'''
  
John, JS, Stevens  
+
John, JS, Stevens
 
+
----
+
<div align='center'><font color="red">To make corrections or additions to this article, select the ''edit'' tab above.<br>
+
To discuss or ask questions about this article, select the ''discussion'' tab above.</font></div>
+
 
+
[[Category:Customizations]]
+

Latest revision as of 05:59, 6 August 2008

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.

Overview

This article provides instructions to modify or change the display format of Contact records.

Procedures

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:

  1. Save your Schema changes
  2. Stop the Service Desk service
  3. Run pdm_publish from a command line (Applicable if you made changes via WSP)
  4. Start the Service Desk service

For older releases recycle the Service Desk service.

Example Of Results

Below is the example of the default (Before) contact display vs. modified (After) contact display

Before (Format: Last_Name, First_Name, Middle_Name):

Stevens, John, JS

After: (Format: First_Name, Middle_Name, Last_Name)

John, JS, Stevens