Activity Forums Salesforce® Discussions Javascript in salesforce lightning components

  • Javascript in salesforce lightning components

    Posted by Sam on March 10, 2017 at 3:21 am

    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

    PRANAV replied 7 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • PRANAV

    Member
    March 24, 2017 at 2:30 pm

    Hi Sam,

    I don't see any error in loading js file in lightning. Can you please provide your code for more clarification.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos