-
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
8 Best Salesforce Features For Sales Managers 2022
Salesforce Sales Cloud has the greatest customer base of any Sales CRM in the world. Salesforce has solidified CRM for high-performance sales companies by focusing…
Salesforce Commerce Cloud: Delivering Innovation with a Difference
Dip in revenue, inconsistent customer experience, sluggish pace of operations and straight-jacketed scalability aren’t good for business, but when they become routine, the doom isn’t…
Popular Salesforce Videos
Add Sound Effects to Your Salesforce Org | Salesforce Tutorials | #SalesforceBolt
In this video you will learn to Use a Lightning Web Component to play a fun sound when a big deal closes. You can play…
Manage Record Access and Visibility in Salesforce
Watch this video to learn all about managing record access and visibility in Salesforce. Do let us know in the comment section if you have…
Zero Bug Revolution Episode 05 : The Expert Advice with Deepak Visweswaraiah.
"Join us on ""Zero Bug Revolution: The Expert Advice"" with Rupesh Garg, our CEO, and Deepak Visweswaraiah, VP of Platform Engineering at Pega, for a…