Reputation: 10345
Is it possible to open a Web Brower (IE/Chrome/Firefox) after clicking a button/label/StringEdit on a form in Dynamics AX?
Thank you in advance.
I develop in MS Dynamics AX 2012
Upvotes: 2
Views: 2622
Reputation: 7517
You can use Info.urlLookup()
.
infoLog.urlLookup('http://nameofthepageyouwanttoopen.com');
As stated here.
Or you can use the method as described here.
void clicked()
{
System.Diagnostics.Process pr = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo si = new System.Diagnostics.ProcessStartInfo('URL HERE');
pr.set_StartInfo(si);
pr.Start();
}
Upvotes: 4