CA Service Management

HTMPL: How to display additional info in LREL list 

Jun 23, 2017 07:56 AM

While updating group members, how many time you have faced situation like this?

Which one should I select? Is it contact duplicate?

I have resolved this in my env simply showing organization name after contact's name, now it's looks like:

Now it's much easier to idenitfy them!

 

Code part

Copy: $NX_ROOT\bopcfg\www\htmpl\web\analyst\update_lrel_cnt.htmpl

As: $NX_ROOT\site\mods\www\htmpl\default\update_lrel_cnt.htmpl

 

Find line:

p.set_left_vals('$list.persistent_id', '<PDM_FMT JUSTIFY=TRUNCATE ESC_STYLE=C WIDTH=80>$list.COMMON_NAME</PDM_FMT>', '<PDM_FMT JUSTIFY=TRUNCATE ESC_STYLE=C WIDTH=80>$list.COMMON_NAME</PDM_FMT>');

And concatenate decided value (organization name in my example) to the 3rd argument to make it look like:

p.set_left_vals('$list.persistent_id', 
  '<PDM_FMT JUSTIFY=TRUNCATE ESC_STYLE=C WIDTH=80>$list.COMMON_NAME</PDM_FMT>',
  '<PDM_FMT JUSTIFY=TRUNCATE ESC_STYLE=C WIDTH=80>$list.COMMON_NAME</PDM_FMT>' + ' - ' + '<PDM_FMT JUSTIFY=TRUNCATE ESC_STYLE=C WIDTH=120>$list.organization.name</PDM_FMT>'
);

Statistics
0 Favorited
6 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.