How to make a panel on Record View show only if a field's value is selected?

I am trying to make a panel (with several fields) depending on one field. So the panel should only show if that dependent field is selected? I am not able to find a solution for this. Can anyone help me with this please? Thank you

  • Hello  , 

    Thank you for bringing up this question!

    One way to approach this is by using Dropdown-Field-Based Record View Layouts.

    Here’s a step-by-step method you might try to see if it meets your needs:

    1. In Studio, access the Record View for the module, and define a dropdown field that will control the panel’s visibility. In this example, let’s use a field called “Show Panel.”

    2. Add the "Extra Panel" with all necessary fields in the Record View layout for this option, then deploy your changes.


    With this setup, the "Extra Panel" will only display when the specified option in the dropdown field is selected.

    Give it a try, and let us know how it goes!







    Cheers, 

    André 

  •  

    Would be great to have a similar option to display subpanels too Sunglasses

    .

    CRM Business Consultant

  • Hello  

    I was reviewing open ideas related to this feature request and noticed it has been raised in the past. At that time, Engineering noted that it wasn’t in the current plans. I’ll add this request from SugarClub to increase its internal visibility.

    For reference: #88059 (https://portal.sugarondemand.com/#supp_Bugs/88059)

    Thank you for sharing your feedback!

    Cheers,
    André

  • Currently it is possible to toggle panel visibility thru Dependency SetPanelVisibility

    Additionally we managed to create a custom js controler for SubpanelsLayout which toggle visibility of a given subpanel based on parent module fields thru sugarLogic formulas.

    We are trying to convert it into a more flexible approach via a custom Plugin.

    André Lopes
    Lampada Global
    Skype: andre.lampada