website outside windmill using a button
I want a button in my Windmill app that opens a website directly (in a new browser tab). e.g https://google.com
Right now:
If I use Windmill’s “Go to a URL” action, it treats my link as if it’s an internal Windmill app route. That causes errors like “App not found” instead of opening Google externally.
If I use a server-side script, it only returns the Google URL as JSON ({ redirect: "...url..." }), but it doesn’t actually open a new tab. Windmill backend scripts can’t call window.open because they don’t run in the browser context.
So the button either does nothing visible or redirects me inside Windmill instead of opening the Google page.
Google
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.


1 Reply