You need to sign in to do that
Don't have an account?
Venki123
Open vf page in pop-up lightening
Hi all, I am trying to open vf page in lightening pop up window. Can you please post a sample code how to do that. I tried with work space api it did not work.i also tried with quick action navigate URL but it opening on tab not pop window. Can you please help
Modals: https://www.lightningdesignsystem.com/components/modals/
By default the background of the popup is just a gray panel (the underlying page is hidden).
- When the modal is open, everything behind it has HTML attribute aria-hidden="true", so assistive technology won't read out the underlying page. The best way to do this is to give the modal and the page separate wrapper elements and toggle aria-hidden="true"/aria-hidden="false" on the main page's wrapper depending on whether or not the modal is open.
https://salesforce.stackexchange.com/questions/107775/salesforce-lightning-design-system-modalsThe visual effect is great but you will have some problems with this modal window (error message for instanc).
For external URL (ie: google.com), that doesn't work anymore since 2015 into an iframe.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_iframe.htm
please try the below code.
Thanks,
Yogesh