9 Replies Latest reply on Jan 12, 2017 3:46 AM by coherentkris

    Capture tab ID when leaving a layout

    user24968

      Hi all!

       

      So I have a layout with multiple tabs, each with a portal within them. Clicking on a button within a portal takes the user to the related record. I'm looking for a way to capture the active tab into a global variable when I leave layout 1, so when the user hits the "back to list" button on the related record's layout, we can go back to that tab.

       

      Can't find an easy/quick/non-complex way to do it, Get (TriggerCurrentTabPanel) doesn't seem to work. Any thoughts?

       

      Cheerd

      John