[BUG] Not able to open new window from item app

Hello i think there’s a bug with monday item where my app wasn’t able to open a new tab to my website’s registration page.

The error message in console is Blocked opening URL in a new window because the request was made in a sandboxed frame whose ‘allow-popups’ permission is not set.

tl;dr: Use something like

monday.execute("openLinkInTab", { url: "https://www.exampleurl.com" });

Details here.


Check Action required: Sandboxing for all iframes! all will be revealed.

See also: Update to sandboxing for all iframes part 2

1 Like

Hi @wk_kong,

I see @dvdsmpsn answered your question :pray: , so I’ll just add a bit more context! The issue your app is facing is due to the implementation of sandboxing as of today. Throughout the months leading up to the release, we got a lot of feedback from devs that they need the allow-popups directive. Since we were unable to support that, we created a new SDK method that allows you to open a link in a new tab.

This should solve the issue you currently have with your app, but please feel free to reach out if you have any other questions or issues!

1 Like