We had used the onFocusSubtab function in an VF page with standard controller( overwritten for a standard object view action).
When we use the onFocusSubtab for doing some business logic it woks only with latest tab opened in the service console.
Issue: when a tab is closed and open other record from the same object, onFocusSubtab stopped working. Not only it stopped working, it also breaks service console.
Ex..
When we use the onFocusSubtab for doing some business logic it woks only with latest tab opened in the service console.
Issue: when a tab is closed and open other record from the same object, onFocusSubtab stopped working. Not only it stopped working, it also breaks service console.
Ex..
- Other tabs will start behaving abnormally, like content of other tabs will display for some other tab.
- In one case, it splits screen in half and disturbs whole service console and tabs.
Resolution: We have to use alternative approach to deal with the onFocusSubtab
Solution: In the same place use an addEventListener for CloseTab event
Comments
Post a Comment