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
It is a simple change you can make in your code. What problem are you facing adding it while making this change?
after personal details ,development is the section and after development legal situation is the section. What I am doing here is i am directly jumping to the third section .
Hello bisheswar01 Please share your code snippet. Would help others understand and resolve your issue quicker.
not able to upload saying an error
this is the mapping section and in the button section i am adding 2 to the local variable currentNodeId like below
Please update the value in the buttonWidget() to Legal situation Identifier instead of using local!currentNodeId+2.Also in the back button I hope you are using local!currentNodeId-1.
still the breadcrumb is coming like before means there is a section between personal and legal which is development.
that development section is coming and regarding back button if you do like loal!currentNodeId -1 then it will come to development section not to personal section ,I need to come back to personal section because from personal section i came to legal .
I don't understand your issue here. Are you saying you don't want to display the development value in this part?
Please share the complete code snippet.
Below is what I have asked to try. It is working fine for me.
a!buttonLayout( primaryButtons: { a!buttonWidget( label:"Jump Node", value:4, saveInto: local!currentNodeId ), a!buttonWidget( label: "back", value: local!currentNodeId-1, saveInto: local!currentNodeId ) } )
correct I dont want to show the development value !
I am directly going to legal situations right , so i dont need to show the development because i am redirecting directly from personal to legal
Harshit Bumb (Appyzie) can you please help in this ?
Konduru Chaitanya do you have any alternative idea to solve this ?
You can update your map() using an if condition based on your current node. But that wouldn't be a best way to show the details as it would raise confusion to the user when they click back.Instead create your own pattern by using simple local variables and if conditions.
can you give an example to achieve that ?