In this I have a button called legal situation and when I will click the button it will take look like as below.
but the thing is that see in the breadcrumb pattern one middle thing is coming which I do not need .when i will click the legal situation button the bread crumb pattern should be personal details /legal situation .
And when i click back button it should take me to the page where i got navigated from ,dynamically .please someone help me in this !
Discussion posts and replies are publicly visible
Hi bisheswart9459,you can take a reference from this code. let me know if I need to explain it further
.
a!localVariables( local!selectedIds:1, local!data:if( local!selectedIds=3, { a!map( id:1, name:"Personal Details" ), a!map( id:3, name:"ligal Situations" ) }, { a!map( id:1, name:"Personal Details" ), a!map( id:2, name:"Development" ), a!map( id:3, name:"ligal Situations" ) } ), { a!sideBySideLayout( items: a!forEach( items: local!data, expression: a!sideBySideItem( width: "MINIMIZE", item: a!richTextDisplayField( value: { a!richTextItem( text: fv!item.name, link: a!dynamicLink( value: fv!item.id, saveInto: local!selectedIds ), linkStyle: "STANDALONE" ), a!richTextItem( text: if( fv!isLast, "", " /" ) ) } ) ) ) ) } )
this will be only applicable when you will directly go to legal from personal details , if someone will go one by one ,i.e,first personal then development and then legal at that that also the value of local variable currentNodeId will be 3 then at that condition it will not work right ?
It will also work in that condition, but you have to modify it with your requirements.
ya I got you what you are saying ,but you have to do that manually right by seeing you requirement means change the mapping . right ?
yes, it is a reference for your needs and it can be modified as per requirement. if it does not fulfill the requirement than can you please explain more for better understanding.