Follow
View: Predecessor Details

 

This Task view shows details of the predecessors of the tasks using a collection view. In a collection view, you can display information about objects that are in a "one to many" relationship. In this case, each task can have multiple predecessors. The view displays the name of the tasks, as well as its Predecessors' Names, Predecessors' Project Names, Predecessors' Planned Completion Dates, and Predecessors' Statuses. 

predecessor_details_task_view.png

To apply this view:

  1. Navigate to a list of tasks.
  2. From the View drop-down menu, select New View.
  3. In the Column Preview area, eliminate all columns except for one.
  4. Click the header of the remaining column, then click Switch to Text Mode.
  5. Mouse over the text mode area, and click Click to edit text.
  6. Remove the text you find in the Text Mode box, and replace it with the following code:

    column.0.displayname=

    column.0.linkedname=direct

    column.0.namekey=name

    column.0.querysort=name

    column.0.valuefield=name

    column.0.valueformat=HTML

    column.1.displayname=Predecessors Numbers & Names

    column.1.listdelimiter=<br>

    column.1.listmethod=nested(predecessors).lists

    column.1.textmode=true

    column.1.type=iterate

    column.1.valueexpression=CONCAT({predecessor}.{taskNumber},' - ',{predecessor}.{name})

    column.1.valueformat=HTML

    column.2.displayname=Predecessors Project Names

    column.2.listdelimiter=<br>

    column.2.listmethod=nested(predecessors).lists

    column.2.textmode=true

    column.2.type=iterate

    column.2.valueexpression={predecessor}.{project}.{name}

    column.2.valueformat=HTML

    column.3.displayname=Predecessors Completion Dates

    column.3.listdelimiter=<br>

    column.3.listmethod=nested(predecessors).lists

    column.3.textmode=true

    column.3.type=iterate

    column.3.valueexpression={predecessor}.{plannedCompletionDate}

    column.3.valueformat=HTML

    column.4.displayname=Predecessors Status

    column.4.listdelimiter=<br>

    column.4.listmethod=nested(predecessors).lists

    column.4.textmode=true

    column.4.type=iterate

    column.4.valueexpression={predecessor}.{status}

    column.4.valueformat=HTML

  7. Click Save View.