HTMPL: How to display additional info in LREL list

Document created by cdtj Champion on Jun 23, 2017
Version 1Show Document
  • View in full screen mode

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>'
);
2 people found this helpful

Attachments

    Outcomes