Custom column in the AEMaaCS search list view | Community
Skip to main content
Level 3
May 20, 2026
Solved

Custom column in the AEMaaCS search list view

  • May 20, 2026
  • 3 replies
  • 76 views

I have a requirement to add a custom column to the list view along with the other OOTB fields in Adobe Experience Manager (AEM) Cloud instance. Could anyone guide me on how to achieve this?
 

I want to add a column with header Content-Type that will fetch the value from jcr:content/metadata/content-type.

I could achieve this with the reorder.jsp file pointed here: https://experience-aem.blogspot.com/2019/10/aem-6520-aem-assets-add-custom-metadata-columns-in-assets-console-list-view.html but this does not work in AEM Cloud.

Again, this URL also explains in another way : https://experience-aem.blogspot.com/2019/08/aem-6510-adding-custom-metadata-columns-in-list-view-of-assets-search-console.html but again this conflicts with OOTB behavior and breaks the search functionality in AEMaaCS.

Any concrete solution that works on cloud?

    Best answer by lukasz-m

    Hi ​@ac4320 ,

    In AEMaaCS, it has to be done a bit different than in AEM 6.5. Please follow below steps.

    First you have to add new column, to do this you have to overlay 

    /libs/dam/gui/content/commons/availablecolumns

    and add your custom column (you do not need to copy entire strucutre - just create one node that will represent your custom column), so you will have something like that:

    Please do not miss sling:orderBefore prop as it will define the position.

    Next you have to extend row.jsp file that is responsible for logic that will retrieve value of property. In this example it is assumed content-type property value will be read, and that this value is stored under jcr:content/metadata.

    You have to overlay following path:

    /libs/dam/gui/coral/components/admin/contentrenderer/assetomnisearch/row/row.jsp

    Lines 279 - 286 defines custom code, you can change it according to your need. But please be sure that you are placing it just before reorder.jsp include.

    Here is the custom snippet code:

    <td is="coral-table-cell" value="0">
    <%
    String contentType = "";
    if (resource.getChild("jcr:content") != null) {
    contentType = resource.getChild("jcr:content/metadata").getValueMap().get("content-type", "");
    }
    %><%= contentType %>
    </td>

    Here is the final result, be aware that custom column will appear in search results view as well as standard list view.

     

    3 replies

    avesh_narang
    Level 4
    May 20, 2026

    AEM Assets list view columns are controlled by:

    /libs/dam/gui/content/commons/availablecolumns

    To add your own column:

    1. Overlay the node into /apps
    2. Define a new column configuration
    3. Bind it to the metadata property path

    Here is the Step by Step Implementation :

    1. Overlay the available columns node , and reate the following structure in your project:
    /apps/dam/gui/content/commons/availablecolumns
    1. Copy the node structure and paste as is in Step 1 location
      /libs/dam/gui/content/commons/availablecolumns
    1. Create a new node under availablecolumns, for example content-type

    2. Add Properties to the node “content-type”


      <content-type
      jcr:primaryType="nt:unstructured"
      jcr:title="Content-Type"
      value="jcr:content/metadata/content-type"
      sortable="{Boolean}true"
      default="{Boolean}false"/>

      5. After deploymemnt , changes should reflect .

    Hope this helps , Thanks 

     

    ac4320Author
    Level 3
    May 20, 2026

    @avesh_narang - The value does not populate. Not sure if the value property works.
     

     

    lukasz-m
    Community Advisor
    lukasz-mCommunity AdvisorAccepted solution
    Community Advisor
    May 21, 2026

    Hi ​@ac4320 ,

    In AEMaaCS, it has to be done a bit different than in AEM 6.5. Please follow below steps.

    First you have to add new column, to do this you have to overlay 

    /libs/dam/gui/content/commons/availablecolumns

    and add your custom column (you do not need to copy entire strucutre - just create one node that will represent your custom column), so you will have something like that:

    Please do not miss sling:orderBefore prop as it will define the position.

    Next you have to extend row.jsp file that is responsible for logic that will retrieve value of property. In this example it is assumed content-type property value will be read, and that this value is stored under jcr:content/metadata.

    You have to overlay following path:

    /libs/dam/gui/coral/components/admin/contentrenderer/assetomnisearch/row/row.jsp

    Lines 279 - 286 defines custom code, you can change it according to your need. But please be sure that you are placing it just before reorder.jsp include.

    Here is the custom snippet code:

    <td is="coral-table-cell" value="0">
    <%
    String contentType = "";
    if (resource.getChild("jcr:content") != null) {
    contentType = resource.getChild("jcr:content/metadata").getValueMap().get("content-type", "");
    }
    %><%= contentType %>
    </td>

    Here is the final result, be aware that custom column will appear in search results view as well as standard list view.

     

    ac4320Author
    Level 3
    May 26, 2026

    This works!! Thanks for the detailed explanation.