I have a requirement to put a bind a url to an action pane button in EP. For this, I am using an action menu item and binding it to a class. In the class I am trying to navigate to the destination url. But I am facing an issue while navigating to the url. I am able to navigate to the url through code using websession().redirecturl(), but it is reloading the destination URL in the same tab.
Is there any way where an external link can be opened in new tab from EP page through code?
I have tried using infolog.urlLookup(),websession().redirecturl(),winapi.shellExecute(throwing error when invoked from EP) but none of them worked in my case. Please let me know if any other option is available to achieve this.