Breadcrumb v2 start level changed from properties but it was not reflected automatically in the pages
Can I change the value through hardcoded in html or sling model
its printing twice Home , so I need only once, so can you help @Community
Views
Replies
Total Likes
You can modify the Navigation Start Level (startLevel) value from the Breadcrumb Component Authoring Dialog.
Configuration | Result |
Hi @Mahedi_Sabuj,
Yes, I can do that manually but I want to Automatically (need to hard code so it will automatically change the start level through all the pages where I added this component ) because I have 100+ pages so manually is not possible.
Views
Replies
Total Likes
Hello @Vishal_S01
Is the breadcrumb added to the page or template?
Summary, check the policy on the template. Unless it has been explicitly authored on pages, you should be able to fix multiple pages by just policy update.
Hi @aanchal-sikka,
I have added them on the pages, but my question here is that I am changing the start level through properties why is it not reflected automatically on all pages? please check the screenshot.
Views
Replies
Total Likes
You have changed this default value in the Design(Policy) Dialog of component.
This value is ignored when:
- A policy is configured and persisted for the component via template
- The value via component dialog has been added on the template
- Value has been updated on the page
Views
Replies
Total Likes
Hi @aanchal-sikka , @kautuk_sahni
Is there any solution, can I change this value through hardcoded and it will be updated automatically on all the pages?
Views
Replies
Total Likes
@Vishal_S01 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Like
Replies