breadcrumb

1
Hi, i have a home page(‘home’) with 3 button,each button open different pages(page 1, page 2,page 3).if i click button 1 it will open ‘page 1’,so.. in that page on layout i need to show the path(for eg: home/page1), i have tried using breadcrumb on each page, instead of that i need to  use this breadcrumb on layout(atlas_default) and need to take page dynamically is that sound make sense????? help me..
asked
2 answers
1

You could accomplish this with some custom microflow logic though.

You'll need to creat a domain model entity representing each step in the breadcrump (each page if you will...) and then make a self-reference on these objects so that you can associatie a step object with a parent step object.

Then by creating a recursive microflow you can create a list which can be used in a list-view, which in turn can be styled and displayed as dynamic breadcrumb.

This microflow could start with adding your current step/page object to a list and then retrieve the parent object. Upon succesfully retrieving the parent, add this one also the the list and make sure the microflow calls itself again. Keep doing this untill no parent is found anymore.

answered
0

Hi,

What I read you want is dynamic breadcrumbs. At this moment there is no such thing inside Mendix.

The next best thing out of the box is breadcrumb style links that you’ll have to configure for each page.

answered