cancel
Showing results for 
Search instead for 
Did you mean: 

Custom metadata on documentList

josafasdr
Confirmed Champ
Confirmed Champ

Hello everyone!

I am trying to display custom metadata in the document list table based on the folder/document type. I could not find how to do this via extensions configuration. What is the best way to implement this?

Thankful!

1 ACCEPTED ANSWER

fcorti
Elite Collaborator
Elite Collaborator

Ok, now I got it...

In this case the data column visibility can be defined here: https://www.alfresco.com/abn/adf/docs/core/components/data-column.component/#conditional-visibility

And custom columns here: 
https://www.alfresco.com/abn/adf/docs/content-services/components/document-list.component/#custom-co...

Is the setup of all of this from app.extensions.json file a requirement?

View answer in original post

4 REPLIES 4

Thank you, @fcorti !

This is working fine, including through the extension file app.extensions.json. But, i'm talking about the columns of the files table, witch is configured in this section:

"documentList": {
      "files": [
         ...
      ]
}

The "problem" is that, apparently, there are no rules support to determine when the columns should be displayed, for example: only for type that have those properties.

I'll verify if it's possible through the adf-dynamic-column component too.

fcorti
Elite Collaborator
Elite Collaborator

Ok, now I got it...

In this case the data column visibility can be defined here: https://www.alfresco.com/abn/adf/docs/core/components/data-column.component/#conditional-visibility

And custom columns here: 
https://www.alfresco.com/abn/adf/docs/content-services/components/document-list.component/#custom-co...

Is the setup of all of this from app.extensions.json file a requirement?

Done!

Resolved by follow the first link.

It's not a requirement, just a preference for "don't touch de code" (Share) Smiley Very Happy