Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to hardcode StartLevel value for Breadcrumb component?

NeelaP
Level 1
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
Arun_Patidar
Correct answer by
Community Advisor
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.

View solution in original post

4 Replies
Arun_Patidar
Correct answer by
Community Advisor
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.

View solution in original post

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