How to hardcode StartLevel value for Breadcrumb component?

Avatar

Avatar

NeelaP

Avatar

NeelaP

NeelaP

06-04-2021

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'}">

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

883

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

883
Arun_Patidar
MVP

06-04-2021

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.

Answers (0)