-
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
Re-energize Sales with Salesforce Einstein Analytics
It is imperative to say that data is driving the business world and helping us make critical decisions as it turns valuable data into actionable…
How to Improve your Salesforce Org - Top 5 Problems Welkin’s Customizable Path Can Solve
We could describe all the great features of Welkin's Customizable Path and let you figure out how to improve your Salesforce org with its help…
Creating and Converting Leads in Salesforce | The Ultimate Guide
Leads are potential customers who have shown interest in a company’s product or service. Converting leads into paying customers is a critical step in the…
Popular Salesforce Videos
Salesforce Platform Quick Tip: How to Optimize UI for Mobile Users
How do you design Salesforce for use on either a desktop monitor or a phone? What looks great on a big monitor looks crowded on…
How to Set Up Salesforce Knowledge in Service Cloud
Help your customers and agents find answers they are searching for faster with Salesforce Lightning Knowledge. In this video, we will review: - All components…
How to Close Complex Deals Fast with Salesforce CPQ+
CPQ Salesforce, or Configure, Price, Quote Software by Salesforce is a sales tool for companies to provide accurate pricing with any given product configuration scenario.…