<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Data-columns keys in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/data-columns-keys/m-p/39010#M16396</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having trouble displaying task and process properties in data-columns in adf-tasklist and adf-process-instance-list. Tried key values from &lt;A href="https://github.com/Alfresco/alfresco-ng2-components/blob/development/lib/process-services/src/lib/process-list/models/process-instance.model.ts" target="_self" rel="nofollow noopener noreferrer"&gt;ProcessInstanceModel&lt;/A&gt;. For the startedBy property, [object Object] is displayed:&lt;/P&gt;&lt;PRE&gt;&amp;lt;adf-process-instance-list&amp;gt;
   &amp;lt;data-columns&amp;gt;
      &amp;lt;data-column key="name" title="Process Name"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="id" title="Id"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="started" title="Started"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="startedBy" title="Started by"&amp;gt;&amp;lt;/data-column&amp;gt;
   &amp;lt;/data-columns&amp;gt;
&amp;lt;/adf-process-instance-list&amp;gt;&lt;/PRE&gt;&lt;P&gt;For the adf-tasklist I tried &lt;A href="https://github.com/Alfresco/alfresco-ng2-components/blob/development/lib/process-services/src/lib/task-list/models/task-details.model.ts" target="_self" rel="nofollow noopener noreferrer"&gt;TaskDetailsModel&lt;/A&gt;:&lt;/P&gt;&lt;PRE&gt;&amp;lt;adf-tasklist&amp;gt;
   &amp;lt;data-columns&amp;gt;
      &amp;lt;data-column key="name" title="Task Name" &amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="id" title="Task Id" &amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="created" title="Created"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="processInstanceId" title="Process Id"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="processInstanceName" title="Process name"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="assignee" title="Assignee"&amp;gt;&amp;lt;/data-column&amp;gt;
   &amp;lt;/data-columns&amp;gt;
&amp;lt;/adf-tasklist&amp;gt;&lt;/PRE&gt;&lt;P&gt;The ProcessInstanceName property is not displayed at all. For the assignee property, [object Object] is displayed.&lt;/P&gt;&lt;P&gt;Where can I find the correct key values?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 26 Mar 2020 11:16:47 GMT</pubDate>
    <dc:creator>PiotrK</dc:creator>
    <dc:date>2020-03-26T11:16:47Z</dc:date>
    <item>
      <title>Data-columns keys</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/data-columns-keys/m-p/39010#M16396</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having trouble displaying task and process properties in data-columns in adf-tasklist and adf-process-instance-list. Tried key values from &lt;A href="https://github.com/Alfresco/alfresco-ng2-components/blob/development/lib/process-services/src/lib/process-list/models/process-instance.model.ts" target="_self" rel="nofollow noopener noreferrer"&gt;ProcessInstanceModel&lt;/A&gt;. For the startedBy property, [object Object] is displayed:&lt;/P&gt;&lt;PRE&gt;&amp;lt;adf-process-instance-list&amp;gt;
   &amp;lt;data-columns&amp;gt;
      &amp;lt;data-column key="name" title="Process Name"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="id" title="Id"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="started" title="Started"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="startedBy" title="Started by"&amp;gt;&amp;lt;/data-column&amp;gt;
   &amp;lt;/data-columns&amp;gt;
&amp;lt;/adf-process-instance-list&amp;gt;&lt;/PRE&gt;&lt;P&gt;For the adf-tasklist I tried &lt;A href="https://github.com/Alfresco/alfresco-ng2-components/blob/development/lib/process-services/src/lib/task-list/models/task-details.model.ts" target="_self" rel="nofollow noopener noreferrer"&gt;TaskDetailsModel&lt;/A&gt;:&lt;/P&gt;&lt;PRE&gt;&amp;lt;adf-tasklist&amp;gt;
   &amp;lt;data-columns&amp;gt;
      &amp;lt;data-column key="name" title="Task Name" &amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="id" title="Task Id" &amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="created" title="Created"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="processInstanceId" title="Process Id"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="processInstanceName" title="Process name"&amp;gt;&amp;lt;/data-column&amp;gt;
      &amp;lt;data-column key="assignee" title="Assignee"&amp;gt;&amp;lt;/data-column&amp;gt;
   &amp;lt;/data-columns&amp;gt;
&amp;lt;/adf-tasklist&amp;gt;&lt;/PRE&gt;&lt;P&gt;The ProcessInstanceName property is not displayed at all. For the assignee property, [object Object] is displayed.&lt;/P&gt;&lt;P&gt;Where can I find the correct key values?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 11:16:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/data-columns-keys/m-p/39010#M16396</guid>
      <dc:creator>PiotrK</dc:creator>
      <dc:date>2020-03-26T11:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Data-columns keys</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/data-columns-keys/m-p/39011#M16397</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The following keys worked for me.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;data-column &lt;/SPAN&gt;&lt;SPAN&gt;key&lt;/SPAN&gt;&lt;SPAN&gt;="assignee.firstName" &lt;/SPAN&gt;&lt;SPAN&gt;title&lt;/SPAN&gt;&lt;SPAN&gt;="&lt;/SPAN&gt;&lt;SPAN&gt;Assignee's first name&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;data-column&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;data-column &lt;/SPAN&gt;&lt;SPAN&gt;key&lt;/SPAN&gt;&lt;SPAN&gt;="assignee.lastName" &lt;/SPAN&gt;&lt;SPAN&gt;title&lt;/SPAN&gt;&lt;SPAN&gt;="&lt;/SPAN&gt;&lt;SPAN&gt;Assignee's last name&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;data-column&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jul 2020 08:00:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/data-columns-keys/m-p/39011#M16397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-02T08:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data-columns keys</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/data-columns-keys/m-p/39012#M16398</link>
      <description>&lt;P&gt;Many payload properties are complex objects, like User for example, that may have firstName, lastName and other properties. You can use long paths in the data column keys.&lt;/P&gt;
&lt;P&gt;There are tree ways to address this:&lt;/P&gt;
&lt;P&gt;- check the ACS rest api docs to see what payloads contain&lt;/P&gt;
&lt;P&gt;- use browser dev tools to see the network responses and figure out what properties the object has&lt;/P&gt;
&lt;P&gt;- check the ADF documentation or examples (the Content Application has plenty of columns already defined:&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-content-app/blob/develop/src/app.config.json" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-content-app/blob/develop/src/app.config.json&lt;/A&gt;)&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 08:12:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/data-columns-keys/m-p/39012#M16398</guid>
      <dc:creator>dvuika</dc:creator>
      <dc:date>2020-07-02T08:12:42Z</dc:date>
    </item>
  </channel>
</rss>

