Idea Details

Alternate combo name patterns for contacts

Last activity 24 days ago
diogo.nobrega's profile image
01-18-2016 12:05 PM

The default combo name pattern in Service Desk is "Last_Name, First_Name" (like "Smith, Adam" for "Adam Smith"). This is a common treatment in american/english culture, but not so common in portuguese language (maybe neither in others cultures/languages). We are used to call a person by his first name here, so, for us, a combo name in the form "First_Name Last_Name" would be more practical. The idea is to allow alternate combo name patterns (or even customized patterns), such like "First_Name Last_Name"  for displaying contact names, so it would be easier to find/search contacts in SDM.

 

Main advantages:

  • Visually consistent with local culture
  • Allows search contacts by its first name
  • Same pattern in both AD names/accounts and SDM contacts

 

CC: @FelipeVACS


Comments

01-26-2018 02:17 PM

Can you try these alternatives to " "

 

In Hex:  \xao

OR

in ASCII: CHAR(160)

 

This is for a non-breaking space.

 

J.W.

01-26-2018 08:52 AM

Hi Brian,

I've tested this code, but he doesn't work. Do you test it on your enviroment?

01-26-2018 08:36 AM

Hi Thiago,

 

Simply remove the comma in the mod. file as follows:

 

combo_name3 DERIVED(first_name " " last_name);

 

Kind Regards,

Brian

01-26-2018 06:38 AM

Hi Brian,

 

I've created this mod file:

 

OBJECT cnt {

ATTRIBUTES ca_contact {

combo_name3 DERIVED(first_name ", " last_name);

};

FACTORY {

COMMON_NAME combo_name3;

};

};

 

But I want to use wothout the comma, just like this: John Smith (not John, Smith).

How can I do this?

 

Thanks.

01-26-2018 06:38 AM

Hi my friends,

 

I've created this mod file:

 

OBJECT cnt {

ATTRIBUTES ca_contact {

combo_name3 DERIVED(first_name ", " last_name);

};

FACTORY {

COMMON_NAME combo_name3;

};

};

 

But I want to use wothout the comma, just like this: John Smith (not John, Smith).

How can I do this?

 

Thanks.

07-31-2017 02:25 AM

This idea is being Wish-Listed for potential inclusion in a future release.

 

Before this idea moves to the next stage (Currently Planned or Not Planned), I would like to invite community members to please provide additional input and/or vote. Please note that Wish-listed ideas are selected for inclusion in a release based on multiple factors including - number of votes from community members, alignment of idea with a release's themes and goals, complexities and risks involved in implementing the idea, so a timeframe for availability of the idea as a product feature/functionality cannot be provided. Additionally, the implementation of your idea may not be exactly as requested and/or may be delivered in a new user experience.

01-25-2017 02:53 AM

Hi All,

 

The combo_name format can be changed via .mod file customization that create another derived combo name. See this example I wrote a while back from external site:

 

Changing Display of Contacts - SDU 

 

Once you have this, you can then change this on the relevant forms so that it displays in the format you desire.

 

Kind Regards,

Brian

02-29-2016 01:18 PM

Hum. I may have be too fast....

I know I did few years ago but you are correct my syntax above is not working and crash SDM with parsing error.

Will try to retrieve my files and/or have a closer look.

/J

02-29-2016 12:19 PM

Hi jmayer,

 

Did you already try this? I tried this exact thing (but modifying through WSP) and ServiceDesk could not start again. I had to undo this so SDM could  became alive again.

 

Thanks,

 

Diogo

02-29-2016 04:51 AM

Note that in the meantime you can archive this behavior trough a simple mod file.

combo_name is a derived field defined like below in base.maj:

 

        combo_name

           DERIVED( last_name isnull( ", " first_name " " middle_name, "") );

        combo_name2

           DERIVED( last_name "," isnull(first_name,"")

                              "," isnull(middle_name,"") );

 

Then you can use a modify statement in a cnt_mod file your site/mods/magic folder to modify the order/behavior

Something like below as example:

 

MODIFY cnt combo_name DERIVED ( first_name isnull( ", " middle_name " " last_name, "") );

MODIFY cnt combo.name2 DERIVED ( first_name "," isnull(middle_name,"")

                              "," isnull(last_name,"") );

Hope this help

 

/J

02-02-2016 11:34 AM

You're right. Unfortunately, I had not seen this idea before. Thanks anyway.

02-02-2016 09:50 AM

This appears similar to / duplicate with:

 

Change default combo name format

 

J.W.

01-19-2016 08:39 AM

Hi Diogo Nobrega,

 

  Great, I would like to see this option.

 

Regards