0

In the Lightning App UI, I'm working in a Case Record Page (Page Type = Record Page, Object = Case), that looks like this:

enter image description here

I want the left and right panels (the case info and knowledge search) to be collapsible so that the middle section can be full width if desired. How can I accomplish this?

Can I create a custom page template (currently you can see it's using the "Three Regions" one)? Is there a better way?

3
  • You need to create a template component using aura:component. and you can implement the collapse function inside the custom template. Commented May 21, 2021 at 8:21
  • @RahulGawale - right, but once I create that component (through the UI I guess?), is it supposed to show up in the list of templates (when I click the "Change" button next to the Template field in the screenshot above)?
    – jbyrd
    Commented May 21, 2021 at 13:08
  • 1
    yes here is how you can create that. Commented May 21, 2021 at 15:31

1 Answer 1

0

There is no direct way to implement the collapsible split view in standard detail pages or to be able to create custom layout.

However, you can create a dirty approach,

  1. you put a button on Account detail page
  2. Update a boolean on Account - (hide sidebars or something)
  3. Add Component Visibility Filters in both Left and Right side bars and refer to the account custom field that you created in step 2.

If user wants to hide the side bars, they click the button and it updates the custom field which in return hides the component.

2
  • 1
    This is likely not a scalable option if more than 1 user views the same Case record
    – manjit5190
    Commented May 20, 2021 at 20:12
  • Likely. But a possible solution until OP can get another options. Commented May 20, 2021 at 21:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .