title: How to add a custom column to OTRS ticket view (dashboard)
body: <p>I've been trying to append some more data to an OTRS ticket (newest version). And I have managed to get the information in the ticket data alright, however, I do not know how to access it in the view. Most data seems to be parsed through via $QData/$Data, however, all I get when I print my variable is 16/12. </p>
  
  <pre><code>    %CustomerCompanyName = $Self-&gt;{CustomerCompanyObject}-&gt;CustomerCompanyGet( CustomerID =&gt; $Ticket{CustomerID} ); 
  
      #} 
      $Ticket{CustomerCompanyName} = \%CustomerCompanyName;
  </code></pre>
  
  <p>And I want to access it in the dtl <em>AgentDashboardTicketGeneric.dtl</em>, however, $Data{"CustomerCompanyName"} is empty. I've managed to get the hash or 16/12 out. Again, in the variable $Ticket we've managed to dump the variable and see the data is actually in there (without actually being able to access it, we can't figure out which data type it is and have tried all possible ways we could think of).</p>
  
  <p>Edit: I figured it out. It worked with Johannes solution, however, the value of the column in the SysConfig had to be 2, and not 1.</p>