Custom metadata on documentList

cancel
Showing results for 
Search instead for 
Did you mean: 
josafasdr
Active Member II

Custom metadata on documentList

Jump to solution

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 Solution

Accepted Solutions
fcorti
Alfresco Employee

Re: Custom metadata on documentList

Jump to solution

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 solution in original post

4 Replies
fcorti
Alfresco Employee
josafasdr
Active Member II

Re: Custom metadata on documentList

Jump to solution

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
Alfresco Employee

Re: Custom metadata on documentList

Jump to solution

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?

josafasdr
Active Member II

Re: Custom metadata on documentList

Jump to solution

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