CA Service Management

  • 1.  change customer.combo_name format

    Posted Feb 17, 2016 03:43 AM

    Hi,

     

    I would like to change customer.combo_name format. The default is "lastname,firstname". I  need to change it to "firstname lastname" How can i do ?

     

    1.png

    2.png

    3.png

     

    Regard,

    Chanopas



  • 2.  Re: change customer.combo_name format
    Best Answer

    Posted Feb 17, 2016 04:12 AM

    While it is technically possible to change that you'd be better off by creating your own attribute to show the value you want and then change the places to use that attribute where you need it.

    Check the definition of combo_name un $NX_ROOT/bopcfg/majic/base.maj and adapt that to your own attribute.



  • 3.  Re: change customer.combo_name format

    Posted Feb 17, 2016 04:43 AM

    Hi Jussi,

     

    I tried to change combo_name on base.maj.When i change it and restart service. It didn't work. It's still default format (last_name , first_name)

    Could you please help me check this?

     

    4.png



  • 4.  Re: change customer.combo_name format

    Posted Feb 17, 2016 07:25 AM

    That's the point, changing the existing fields takes more effort. Try creating a new string attribute for cnt with WSP. Then create a mod file under $NX_ROOT/site/mods/majic/ where you define the logic for the derived attribute. I'm not sure whether you need to use a MODIFY statement or if a OBJECT cnt ... block will be enough as I can't test this for you.

    And remember, all the changes you make require you to recycle the SD.