Disable /deactivate tab on dashboard

chetanabmpa
Mega Explorer

Hello,

 

I have a PMA-ISEM Integration dashboard with several tabs pa_tab, including Event Processing. I want to temporarily deactivate or hide only the lEvent Processing tab while keeping the dashboard and its other tabs active.

 

The Dashboard Tab record has Name and Page fields, but I don't see an Active field or a tab-level Deactivate action. I do not want to delete the tab or deactivate the whole dashboard.

 

Is there a supported way to deactivate or hide an individual dashboard tab while retaining it for later? If this requires customization, what is the recommended approach

Thank you

1 REPLY 1

kmohammed
Tera Guru

Hi,

 

Your observation is correct: there is no Active field and no tab-level Deactivate on pa_tab, and no supported configuration that hides one tab on a live (classic) dashboard. So do not try to deactivate the pa_tab record itself - and do not delete it either, because the same tab record (and its page) can be shared by other dashboards.

 

The supported, reversible approach for exactly your case is to remove the tab from THIS dashboard only, by removing the dashboard-to-tab association:

 

1. A dashboard does not contain its tabs directly - they are linked by records in pa_m2m_dashboard_tabs (dashboard + tab + order). The pa_tab record and its page (with all its widgets) stay completely untouched when you remove that link.

2. Before you change anything, note/export the association for the Event Processing tab on that dashboard: the tab it points to and its Order value. Exporting that one m2m record to XML is a good backup.

3. Remove the tab from the dashboard (dashboard editor: remove that tab), or delete just that one pa_m2m_dashboard_tabs record for this dashboard + Event Processing tab. The dashboard and all its other tabs stay active, as you required.

4. To restore it later, add the tab back to the dashboard and set it back to the Order you recorded in step 2 (re-import the exported m2m XML, or re-add the existing tab) - nothing was lost, because neither pa_tab nor its page nor the widgets on that page were ever deleted or changed.

 

Two things to avoid:

- Do not add a custom "u_active" field to pa_tab expecting the dashboard to respect it. The dashboard rendering does not check any such field; you would have to customise the dashboard rendering itself, which is not upgrade-safe and is not the recommended approach for a temporary hide.

- Tab-level audiences are not supported either: dashboard sharing/permissions apply to the whole dashboard, not per tab. If you ever need the tab visible to one group and hidden from another (rather than hidden for everyone temporarily), the supported pattern is a second dashboard without that tab, shared with that audience - not permissions on pa_tab.

 

One check before you start: this all applies because you are on the classic dashboard model (pa_dashboard / pa_tab). If that dashboard has since been migrated to a Platform Analytics dashboard, the tabs are stored in the new model's records instead and pa_m2m_dashboard_tabs will have no rows for it - in that case edit the migrated dashboard in its own editor and remove/re-add the tab there, with the same principle: remove the tab from that dashboard, don't delete the underlying content.