Is there a way to display the assigned to name and role in a single column within a template view? | Community
Skip to main content
Level 2
October 25, 2021
Solved

Is there a way to display the assigned to name and role in a single column within a template view?

  • October 25, 2021
  • 2 replies
  • 707 views

Looking for a way to display a name and role in a custom template view column.

We have certain tasks on our projects that are assigned to multiple people so we don't have a true task owner, so the Task Assigned to doesn't work great.

If possible I am looking for a way to display: name: role, name: role, name: role, etc... in a list format similar to how the Task Assignments option works.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Richard_Le_

Hi Daniel,

Adding a text mode column to your view with the following code should do it

displayname=Assignment and Role

listdelimiter=<br>

listmethod=nested(assignments).lists

textmode=true

type=iterate

valueexpression=CONCAT({assignedTo}.{name}," - ",{role}.{name})

valueformat=HTML

Best Regards,

Rich.

2 replies

Richard_Le_Community AdvisorAccepted solution
Community Advisor
October 25, 2021

Hi Daniel,

Adding a text mode column to your view with the following code should do it

displayname=Assignment and Role

listdelimiter=<br>

listmethod=nested(assignments).lists

textmode=true

type=iterate

valueexpression=CONCAT({assignedTo}.{name}," - ",{role}.{name})

valueformat=HTML

Best Regards,

Rich.

DanielSi1Author
Level 2
October 26, 2021

Excellent, exactly what I was looking for.

Thanks!

Daniel