Forums

HDU- A Service Desk User Community :: Forums :: r12 :: Customizations
 
<< Previous thread | Next thread >>
Change how a contact is listed ('last_name,first_name' -> 'last_name')
Moderators: Admin, 4uTech CEO
Author Post
ardasaydam
Thu Feb 04 2010, 06:15AM
Registered Member #5166
Joined: Fri Jun 19 2009, 07:44AM
Posts: 12
Hi,

We want to have the contacts listed just with their last_name instead of last_name, first_name. I have found the below copied code which is told to do just that. But nothing changed after I have copied the code as a .mod file under site/mods/majic.I also did perform a successful pdm_publish.


OBJECT cnt { 
           ATTRIBUTES ca_contact {
            combo_name3 DERIVED(last_name);
           };
  FACTORY {
    COMMON_NAME combo_name3;
  };
};



Any help is deeply appreciated...
Thanks a lot in advance.

[ Edited Thu Feb 04 2010, 06:48AM ]
Back to top
ardasaydam
Thu Feb 04 2010, 08:31AM
Registered Member #5166
Joined: Fri Jun 19 2009, 07:44AM
Posts: 12
I have managed to show only the last_name by modifying detail_cnt.htmpl and list_cnt.htmpl files. Nonetheless it would be great to know to achieve this via mod file.

I can see the newly created attribute when I do 'bop_sinfo -a cnt' on command prompt. As far as I guess, the problem is with the COMMON NAME which is not updated as combo_name3. Intead it is still considered by SD as combo_name.
Back to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

This site is not affiliated with CA. All trademarks are © their respective owners. All other content is © HelpDeskUsers.com and 4uTechnologies, Inc.
4uTechnologies, Inc. reserves the right to content contained within this site.
{THEMEDISCLAIMER}