Hi,
I'm trying to show my custom property ts:remark which is part of type ts:document inside <data-column> which is surrounded by <adf-document-list>. But I can't achieve it. I doesnt bind data. How can I access my custom properties? Thanks.
My document list component html code:
<adf-document-list
#documentList
currentFolderId="-root-"
(preview)="showPreview($event)">
<data-columns>
<data-column key="$thumbnail" type="image"></data-column>
<data-column title="Name" key="name" sortable="true" class="full-width ellipsis-cell"></data-column>
<data-column title="Remarks" key="document.remark" sortable="true" class="desktop-only"></data-column>
</data-columns>
</adf-document-list>
SEE PICTURE
Solved! Go to Solution.
Ok, the problem was in the format. Right format is key="properties.ts:remark".
Ok, the problem was in the format. Right format is key="properties.ts:remark".
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.