Reusable function to open a subtab in service console

The following function will help you to open a sub tab. Service console kit offers lot of methods with callback feature & using them we can achieve the UI requirements.

Here in this scenario goal is to open a sub tab considering the window is opened console or not and making it dynamic so that any page can access this resource file in the static resource.

More information can be seen @ https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_opensubtab.htm

Comments