Re- Asset Share Commons - Download All not displaying | Community
Skip to main content
durga_kavali
Level 3
June 22, 2023
Solved

Re- Asset Share Commons - Download All not displaying

  • June 22, 2023
  • 2 replies
  • 1187 views

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

     

     

     

     Thanks,

    Durga Kavali.

     

     

     

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

Hello @durga_kavali 

 

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

 

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

2 replies

Tanika02
Level 7
June 22, 2023

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

durga_kavali
Level 3
June 22, 2023

yes am validating in author

aanchal-sikka
Community Advisor
Community Advisor
June 22, 2023

Hello @durga_kavali 

 

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
durga_kavali
Level 3
June 23, 2023
aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
June 23, 2023

Hello @durga_kavali 

 

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

 

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