Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

Testing libs core component by modifying the html file

Avatar

Level 9

Hello Team,

 

I have a proxy component, which refers to core/cif/components/structure/breadcrumb/v1/breadcrumb (Note: This component doesnot have any html file)
This CIF breadcrumb refers to: core/wcm/components/breadcrumb/v2/breadcrumb
So, I went to the loction: /libs/core/wcm/components/breadcrumb/v2/breadcrumb/breadcrumb.html
Deleted this html file (Also, tried with deleting the html file content).
Still, my proxy breadcrumb component was displaying the data. Note: Deleted the v1/breadcrumb/breadcrumb.html as well.


Wanted to check, how come this is displayed?

 

Thanks

cc @arunpatidar @lukasz-m 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

The core component deploy scripts as precompiled bundled scripts. This allows developers to precompile their scripts at build-time.

https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/developing/arche... 

 

 

This is happening because the HTL scripts are pre-compiled, stop the bundle aem-precompiled-scripts, which provides precompile scripts and you will see the changes immediately.
hope this help to understand why you can't see the changes.

 

 

Arun Patidar

AEM LinksLinkedIn

View solution in original post

4 Replies

Avatar

Level 10

I've just deleted /apps/core/wcm/components/breadcrumb/v2/breadcrumb/breadcrumb.html, and as expected, the component is not rendered anymore.

Besides v2 does not have sling:resourceSuperType, so I don't see a direct relationship with /apps/core/wcm/components/breadcrumb/v1/breadcrumb.

Are you sure the relationships you mentioned are based on properties sling:resourceSuperType?

 

Avatar

Level 9

Hi @giuseppebag 

 

I am using AEM as a cloud service in local. I mean different jar, where core components are part of /libs/core, not /apps/core.

 

Thanks

Avatar

Level 10

In my local AEMasCS, I have the following chain: /apps/core/cif/components/structure/breadcrumb/v1/breadcrumb > /apps/core/wcm/components/breadcrumb/v2/breadcrumb > No more sling:resourceSuperType.

Screenshot 2025-03-13 at 09.42.50.png

 

 

 

 

 

Can you explain how your components are placed under libs? What "different jar" means?

 
 

Avatar

Correct answer by
Community Advisor

The core component deploy scripts as precompiled bundled scripts. This allows developers to precompile their scripts at build-time.

https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/developing/arche... 

 

 

This is happening because the HTL scripts are pre-compiled, stop the bundle aem-precompiled-scripts, which provides precompile scripts and you will see the changes immediately.
hope this help to understand why you can't see the changes.

 

 

Arun Patidar

AEM LinksLinkedIn