This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Modify 'Display template' field for Person table

How to modify Display template to show "FirstName LastName (DepartmentName)"

I was trying below:

but it displays as above

Parents
  • Yes, starting with version 7 we introduced the option to get the Display value of a foreign key using the same %-syntax as for the other properties.

    Please be aware that this comes with a slight performance penalty, when are loading lists containing that kind of display for it's items.

    If you want to avoid that, use a template for another column, let's say CustomProperty01, and create your display as needed.

    $FirstName$ $LastName$ ($FK(UID_Department).DepartmentName$)

    You can than refer to %CustomPropert01% in your display pattern and are avoiding the performance hit.
Reply
  • Yes, starting with version 7 we introduced the option to get the Display value of a foreign key using the same %-syntax as for the other properties.

    Please be aware that this comes with a slight performance penalty, when are loading lists containing that kind of display for it's items.

    If you want to avoid that, use a template for another column, let's say CustomProperty01, and create your display as needed.

    $FirstName$ $LastName$ ($FK(UID_Department).DepartmentName$)

    You can than refer to %CustomPropert01% in your display pattern and are avoiding the performance hit.
Children
No Data