Customising a modules' subpanels on mobile

Is there a way to customise which subpanels appear for a module on the mobile site? I would like to remove some of the subpanels without removing the relationships.

Parents Reply Children
  • Hi Andre,

    I tried below steps to remove meeting subpanel on accounts in mobile app:

    Copy subpanels.php 

    from

    modules/Accounts/clients/mobile/layouts/subpanels/subpanels.php

    to  

    custom/modules/Accounts/clients/mobile/layouts/subpanels/subpanels.php

    $viewdefs['Accounts']['mobile']['layout']['subpanels'] = array(
    'components' => [
    [
    'layout' => 'subpanel',
    'label' => 'LBL_CALLS_SUBPANEL_TITLE',
    'context' => [
    'link' => 'calls',
    ],
    ],
    [
    'layout' => 'subpanel',
    'label' => 'LBL_MEETINGS_SUBPANEL_TITLE',
    'context' => [
    'link' => 'meetings',
    ],
    ],
    and removed meeting array from above and  Admin > Repair > Quick Repair and Rebuild but its not working from still meeting subpanel is showing in Accounts in mobile app.
    Can you please suggest?
    Kindest Regards,
    Shreya