How to open .pdf file from web page using a button click in AX 2012 R2

Thanks Phani for your kind suggestion.

Unfortunately, I’m unable to access WinApi::ShellExecute from a web control in EP.

I’ve already designed a custom class and accessing it from EP, but the page throws exception.

Seems like ShellExecute doesnt work with EP.

Best reagrds,

Nikunj