-
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 Interview Questions: Crack Any Salesforce Interview
To make sure you gain a detailed understanding of the types of questions you can expect during your job interview. We'll start by covering the…

URL Hacking in Salesforce - Episode 3
HEY!!! Welcome back, previously in URL Hacking Episode 2, we see how to make possible and working of the pre-populated field values via a custom…

How To Manage Duplicate Records In Salesforce?
It becomes utmost important to detect potential duplicates when records are being updated in the system via integration i.e when all the records like accounts,…
Popular Salesforce Videos
Salesforce Loves Small Business
Running a small business takes a lot of heart during even the best of times. 2020 has presented a series of challenges that have hit…
Strategy Design Pattern in Salesforce | Video Tutorial
Design Patterns are very important for us to understand to develop an efficient apex code. Watch this video to learn all about it and do…
Salesforce Financial Services Cloud demo
Today's seamlessly connected customer is raising expectations for organizations to "show them they know them" by providing efficient, informed and integrated experiences no matter which…