View: hide the content of a column
You might want to hide information in the column of a view. You can do this by modifying the text mode of the column.
- You can use hidden columns to sort by a certain object that you do not want to display in the view.
For example, you can sort by Task Number in a task view and hide the Task Number information from the view. In this case, the object referenced in the column helps sorting the view, but the information of that object does not display in the view. - When you hide a column, note that the information in the column is hidden, but the column still exists in the view.
Access requirements
You must have the following access to perform the steps in this article:
*To find out what plan, license type, or access you have, contact your Workfront administrator.
Example: Sort and hide the Task Number column in a task view:
-
Go to a list of tasks.
-
From the View drop-down menu, click New View.
-
Click Add Column and start typing “Task Number” in the Show in this column field then select it when it displays in the list.
-
Click Switch to Text Mode.
-
Hover over the text mode area, and click Click to edit text.
-
Remove the text you find in the Text Mode box, and replace it with the following code:
displayname=linkedname=direct querysort=taskNumber sortOrder=1 sortType=asc textmode=true value=valueformat=int width=0
The important changes in this code which make the column hidden are:
code language-none displayname
this line must be blank.
code language-none valuefield
This has been replaced by value, and must be blank.
code language-none width
: Depending on the field, this must have a value of 0 or 1.
-
Click Save, then Save View.