Epicor function open Microsoft Edge

Hello,
is it possible to open Microsoft Edge from Epicor funciton.
Process.Start(“IExplorer.exe”,“https://www.google.ca”);

thanks,

Eddy

Hi Eddy,

I’m not sure if you’re going to be able to open Edge directly from a function (at least not easily). Epicor functions execute on the server-side. What is the goal of opening the browser? There might be a good way to get to your goal without going from a function.

2 Likes

I agree with Kevin. There are ways in Application Studio to embed a web page (Web Widget) and I think there are ways to indicate text should be interpreted as a URL, but others will correct me if I’m wrong.

1 Like

Hello Mark,
our BA tried web widget, and it is not good. the page doesn’t display ok. then our BA asked if it is possible to open in the Epicor Function. but as Kevin said, Epicor Function is on the server side which is not ok for the request. I will think about other solution then.

regards,

Eddy

Per usual, it’s really helpful to know the problem to be solved. Why the BA wants an external web page, for example? :person_shrugging:

1 Like

Not sure if this is helpful, but Windows allows you to launch Edge specifically, regardless of your default browser settings like this:

“C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe” https://url.com

As has been mentioned, this won’t work in a function which is server side. You’d have to figure out how to do that client side.

link to our internal web portal

thanks, yes, i will try use Nav Link.
but now, i have issue to add the querystring int he nav link.
if i want to pass JobHead.PartNum as querystring in the nav link, it doesn’t work.
when I open the brower, i see https://xxxx.com?partnum=??{‘JobHead.PartNum’} instead of real partnum

thanks,

Eddy