function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shrey.tyagi88@tcs.comshrey.tyagi88@tcs.com 

Open URL in Modal/Pop Up Box-Salesforce Lightning

Hi,
  I have a requirement where I need a lightning Modal/Pop up box to load a URL upon click of a button. Can someone please help me with the sample code?  There are plenty of examples on how to open a modal box , but none indicates if we can load a URL in it or not.
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Shrey,

May I suggest you please refer the below link for reference. hope it helps.

Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar
simon chaosimon chao
I am having the same issue, the link above doesn't provide any suggestion as in how to solve the problem. Shrey, were you able to figure this out? If so do you mind sharing how you did it?