Hi everyone,
I have an interface built using a PanelLayout.
The left panel contains a sidebar with several navigation links.
The right panel displays the selected content (different interfaces).
The issue I'm facing is that when I open a page from the sidebar, everything works fine — the new content loads on the right and the sidebar stays visible. However, inside that loaded interface, I have more links (for example, to open details or other sections). When I click one of those links, the page reloads completely and the sidebar disappears.
What I want is for those inner links to update the right panel within the same page, keeping the sidebar fixed and visible at all times.
Is there a way to handle this navigation within the same interface (e.g. using local variables and conditional visibility), or any best practice for managing nested navigation inside a PanelLayout?
Thanks in advance!
Discussion posts and replies are publicly visible
The only way I can think of doing something like would be to use a!urlForSite() and pass in parameters that you then display based on them but this isn't really something I would suggest as a good design. Is there a reason you are not making this a site as you would then be able to have that functionality and would probably be a better solution.
Use a local variable to track the right pane's content; set this variable with inner links using a!save()(dynamicLink), and conditionally render components based on it. This keeps the sidebar fixed and only updates the right pane.
Seems like you treat Appian like a web development platform. Does this resonate with you?