Tag: JavaScript

  • Why is window.open() in LWC throwing a SecurityError?

    Why is window.open() in LWC throwing a SecurityError?

    Question I have been using window.open() in my Salesforce LWC component for years to open an external page. This function allows me to override the existing popup when clicking on a new record. However, recently, I started encountering the following error in the console when opening a new record while the previous popup remains open:…

Open Chat
1
Dear Sir/Madam
How can I help you?