Problem with GotoURL

I’m transitioning a web app from API 1 to API 2. Everything is working fine except where I had used ShowURL to download a file on our server to the user. The docs indicate I should use System.GotoURL, but I get a “This item does not exist” error when running it. The command is in a nested container. I am using 2023r4.

It looks like for some reason in Web 2.0 the global function is not on the System module. It exists, just not on the System module.

Removing “System.” from the command fixed it. Thanks Tim.

It’s on Session in Web because you are telling a particular Session to go there.

1 Like