Expand my Community achievements bar.

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

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

How to hardcode StartLevel value for Breadcrumb component?

Avatar

Level 1

I am currently working on HeroBanner component and I am using reference for OOB Breadcrumb component which i made it non-editable. I tried changing "StartLevel" value to "4" in the dialog and design_dialog properties but it is still not working as expected, does anyone know any trick or code to overwrite default StartLevel value? Below is my code.  

<div class="marcom__bread" data-sly-resource="${'breadcrumb' @ resourceType='/core/wcm/components/breadcrumb/v2/breadcrumb', wcmmode='disabled'}">

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi, Can you please check

https://www.aemcomponents.dev/content/core-components-examples/library/templating/breadcrumb/hidden/...

I tried same in 6.5 and it is working for me. 

if you want to predefined the value then you can simply extend the breadcrumb dialogs are hide those fields and use value property with fixed value.

Arun Patidar

AEM LinksLinkedIn

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hi, Can you please check

https://www.aemcomponents.dev/content/core-components-examples/library/templating/breadcrumb/hidden/...

I tried same in 6.5 and it is working for me. 

if you want to predefined the value then you can simply extend the breadcrumb dialogs are hide those fields and use value property with fixed value.

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 1
Thank you Arun, would you mind providing more detail?

Avatar

Community Advisor
Please check below article to extend or customize core components https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/customiz... and https://levelup.gitconnected.com/aem-extend-core-component-models-using-resource-type-association-an.... In your case you just need to extend dialog changes.
Arun Patidar

AEM LinksLinkedIn

Avatar

Level 1
This is helpful, appreciate your help Arun :).