Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Re- Asset Share Commons - Download All not displaying

Avatar

Level 3

Hi Team,

 

I have installed Aseet-Share-Commons(asset-share-commons-2.5.6) package in in AEM 

 

installed below packages: git hub path :https://github.com/adobe/asset-share-commons/releases

  • asset-share-commons.ui.content.sample-2.5.4.zipI noticed in header.html: ${config.aemClassic} value coming as false
  •  

    <a class="item 12 cmp-mobile__downloads"
    data-sly-test="${!config.aemClassic && (config.downloadEnabled || config.downloadEnabledCart)}"
    data-asset-share-id="show-downloads">
    <i class="big download icon"></i>
    <div class="floating ui primary circular label"
    data-asset-share-id="downloads-count"></div>
    </a>

    <a class="item 12 cmp-mobile__cart"
    data-sly-test="${config.cartEnabled}"
    data-asset-share-id="show-cart">
    <i class="big cart icon"></i>
    <div class="floating ui primary circular label"
    data-asset-share-id="cart-count"></div>

     

    My local AEM-SDK api version :  

    2023.5.11983.20230511T173830Z-230200

     

    can someone help me how to pass this condition

    i tried removing this condition still download all model is not coming.Please can someone help me here

     

    kavalidurga_0-1687446159191.png

     

     

     Thanks,

    Durga Kavali.

     

     

     

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @kavalidurga 

 

All details about the Download is available on node /content/asset-share-commons/en/light/jcr:content/config/actions/download 

 

The model is appearing with following configurations

aanchalsikka_0-1687543324355.png

 

Please check if the path field is missing or incorrect for you

 

 

We need not worry about config.aemClassic, because second part of the condition "downloadEnabled", will become true by the mentioned config


Aanchal Sikka

View solution in original post

5 Replies

Avatar

Community Advisor

Hello @kavalidurga - Are you validating this in AEM AUTHOR instance?

Avatar

Community Advisor

Hello @kavalidurga 

 

requesting you to please guide, where does the Download All button appear in https://aem.enablementadobe.com/content/asset-share-commons/en/light.html


Aanchal Sikka

Avatar

Correct answer by
Community Advisor

Hello @kavalidurga 

 

All details about the Download is available on node /content/asset-share-commons/en/light/jcr:content/config/actions/download 

 

The model is appearing with following configurations

aanchalsikka_0-1687543324355.png

 

Please check if the path field is missing or incorrect for you

 

 

We need not worry about config.aemClassic, because second part of the condition "downloadEnabled", will become true by the mentioned config


Aanchal Sikka