Merge data from two columns without a line break

You can merge the data from multiple separate columns to display it in one column with no breaks or spaces between the values from each column.

TIP
This approach is recommended when you merge two columns that can never show a value for the same record at the same time. For example, in a Work Item report, the Issue Name and Task Name columns can be merged without a line break between them because a Work Item can never have an Issue Name and a Task name at the same time. A Work Item can be either an Issue or a Task in Workfront.

To merge data from two columns without a line break:

  1. Go to a list of objects.

  2. From the View drop-down, select a view, then click the Edit icon Edit icon to edit the view.

  3. Go to the first colum you want to merge, then click Switch to Text Mode > Edit Text Mode.

  4. Add the following text to the first column you want to merge:

    sharecol=true

    When you merge the first two columns of a list or report, Workfront precedes each line of text that contains information about the object in the first column with column.0. and the lines of text that contain information about the second column with column.1. .

    You must precede the column number of the first column with the number of that column. Column counting always starts with the leftmost column of the list or report labeled as column.0..

    If you share more than one column, ensure you add the column number in the lines of code that contain the sharing information for each column.

    EXAMPLE: The following is the text mode code for a merged column that contains three separate columns, starting with the second column of the list. The merged values are Project Name, Planned Start Date, and Project Owner’s name and there is no break between the three values:

    column.1.valuefield=name
    column.1.valueformat=HTML
    column.1.sharecol=true
    column.2.valuefield=plannedStartDate
    column.2.valueformat=atDate
    column.2.sharecol=true
    column.3.valuefield=owner:name
    column.3.valueformat=HTML
    

    Shared column with no line breaks

  5. Click Done, then Save View.

Merge data from two columns with a line break

Do the following to merge the data from multiple columns to display it in one common column with a line break between the values from each column:

  1. Go to a list of objects.

  2. From the View drop-down, select a view, then click the Edit icon Edit icon to edit the view.

  3. Add a third column between the two columns you want to merge.

    TIP
    • The columns you want to merge must be adjacent to each other.
    • You must click the first column that you want to merge.
  4. Click Switch to Text Mode > Edit Text Mode, and add the following code in the middle column that you added in step 1:

    value=<br>
    valueformat=HTML
    width=1
    sharecol=true
    
  5. Click the first column and click Switch to Text Mode > Edit Text Mode, then add the following text to the column:

    sharecol=true

    When you merge the first two columns of a list or report, Workfront precedes each line of text that contains information about the object in the first column with column.0., the column with the sharing information with column.1., and the lines of text that contain information about the second column with column.2..

    If the combined column is in the middle of the view, the columns are numbered according to their place in the view. Column counting always starts with the leftmost column of the list or report labeled as column.0..

    If you share more than one column, ensure you add the column number in the lines of code that contain the sharing information.

    EXAMPLE: The following is the text mode code for a shared column that contains Project Name, Planned Start Date, and Project Owner’s name with a line break. The shared column is the second column of a project view.

    column.1.displayname=Project_StartDate_Owner
    column.1.sharecol=true
    column.1.textmode=true
    column.1.valuefield=name
    column.1.valueformat=HTML
    column.2.value=<br>
    column.2.width=1
    column.2.valueformat=HTML
    column.2.sharecol=true
    column.3.valuefield=plannedStartDate
    column.3.valueformat=atDate
    column.3.sharecol=true
    column.4.value=<br>
    column.4.width=1
    column.4.valueformat=HTML
    column.4.sharecol=true
    column.5.textmode=true
    column.5.valuefield=owner:name
    column.5.valueformat=HTML
    

    Shared column with line breaks

  6. Click Done, then Save View.

Previous pageView: issues with resolving object details
Next pageView: multi-row project View

Workfront


Learn: Automating Workflows with Workfront Fusion - Unique Use Cases in Action

Workfront

Tuesday, Mar 4, 6:00 PM UTC

Looking for creative ways to use Workfront Fusion to solve business challenges? Join Pan Shahbazian of Starbucks as she shares three unique use cases that can transform your workflows.

Register

The Perfect Blend: A New Era of Collaboration with AEM and Workfront

Adobe Customer Success Webinars

Wednesday, Apr 2, 5:00 PM UTC

Explore how Adobe Experience Manager and Workfront integrate to help teams move from ideation to delivery without the usual bottlenecks, ensuring content is organized, on-brand, and ready to go live faster.

Register

How Workfront Is Bringing Enterprise-Ready AI to Work Management

Online | Session | General Audience

AI is on the minds, hearts, and lips of every marketer and creative today. After all, it’s one of the best ways to keep pace with a scale...

Wed, Mar 19, 2:00 PM PDT (9:00 PM UTC)

Register

A Proven Framework to Boost Campaign Creation Speed

Online | Session | General Audience

Disparate teams, messy workflows, and clunky approvals impede your content production speed and business impact. Stensul’s CEO, Noah...

Wed, Mar 19, 4:00 PM PDT (11:00 PM UTC)

Register

Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more

Register to learn something new

WORKFRONT

Join Adobe product experts in live events where you will learn Adobe Workfront best practices, tips and tricks, and hear about the latest product features and updates.

Register