View: display task indentations in a task list
In this task view, you can add code to the Task Name column to display the tasks indented according to the Work Breakdown Structure of the project.
Access requirements
You must have the following access to perform the steps in this article:
table 0-row-2 1-row-2 2-row-2 3-row-2 layout-auto html-authored no-header | |
---|---|
۶Ƶ Workfront plan | Any |
۶Ƶ Workfront license* |
New:
Current:
|
Access level configurations |
Edit access to Reports, Dashboards, Calendars to modify a report Edit access to Filters, Views, Groupings to modify a filter |
Object permissions | Manage permissions to a report |
*For information, see Access requirements in Workfront documentation.
Display task indentations in a column of a task list
-
Go to a list of tasks.
-
From the View drop-down menu, click New View.
-
Click Add Column and start typing “Task Name” in the Show in this column field then select it when it displays in the list.
-
From the new column, click Switch to Text Mode > Edit Text Mode.
-
Remove the text you find in the
valuefield=
line and replace it with the following code:code language-none displayname=Task hierarchy valueexpression=IF({indent}<1,{name},IF({indent}<2,CONCAT(' - ',{name}),IF({indent}<3,CONCAT(' - - ',{name}),IF({indent}<4,CONCAT(' - - - ',{name}),CONCAT(' - - - - ',{name})))))
-
Click Done, then Save View.
-
(Optional) Update the view name, then click Save View.