Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

[AX2012] How to open an external URL in new tab from a class in Enterprise Portal

$
0
0

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.


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>