-
Javascript in salesforce lightning components
Hello,
I am wondering if there is any limitation in loading salesforce js files in the lightning component. I've a component with below lines, but it gives error while loading xdomain.js
cannot assign to read only property 'query' of object. #<object> throws at support/console/xdomain/30.0/xdomain.js : 12:19
<ltng:require scripts="/support/console/38.0/integration.js" />
<ltng:require scripts="/support/console/xdomain/30.0/xdomain.js" />Thank you,
Sam
Log In to reply.
Popular Salesforce Blogs

Salesforce Commerce Cloud - The Gateway to B2B eCommerce Success
The B2B eCommerce industry is constantly changing. These changes are more profound and permanent than any that occurred in the past, given the recent developments…

Whitelist IP Address in Salesforce
How to Whitelist IP Address in Salesforce! Whitelisting basically ensures that the firewall will not block your browsers from loading the page. Don’t forget to…

Dreamforce 2021 - Dates, Locations & All you Need to Know
The annual Dreamforce Conference of Salesforce is hosted in San Francisco. With approximately 170,000 participants (during non-COVID times) and several days of programming, it qualifies…
Popular Salesforce Videos
How to Build an Offline Salesforce App, Part 1: Authenticate with Salesforce
This video tutorial will guide you through the following steps: * Integrating the Salesforce connector * Modifying the login screen and process * Authenticating with…
Login Flow In Salesforce
You can use a login flow to customize the login experience and integrate business processes with Salesforce authentication. Common use cases include collecting and updating…
Skills for Salesforce Field Service | Optimize Customer Service for Businesses | Salesforce Webinar
One way to optimize customer service operations is by having the right technician for the right job. How? Skills for Salesforce Field Service is the…