Forum Academy Marketplace Showcase Pricing Features

Open file url in new tab

When a group is clicked I want to open a new tab with pdf url…however my tab is blank.

I’m using the run javascript action: window.open(“file’s_url”)

Any tips appreciated!

I’d double check that URL in debug_mode using run ‘step by step’ and look at your browser console to make sure there aren’t any JS errors blocking this code from running.

window.open() should work just fine in bubble. If its a stored file in bubble AWS, like say a PDF, it could be possible that the bubble’s protocol-relative URL format may not be compatible with your browser client. In this case, you might try adding in https: in front of your URL to make the protocol explicit

thanks for the suggestion @jon2 . Using step by step debug I saw that the dynamic url was not showing due to privacy settings…

Working now.

This topic was automatically closed after 70 days. New replies are no longer allowed.