How to hardcode StartLevel value for Breadcrumb component?

Avatar

Avatar
Level 1
NeelaP
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
NeelaP
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
NeelaP
Level 1

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
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,322 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,322 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
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)