-
Problem in response.getReturnValue() result when storing in two attributes in salesforce
When I stored response.getReturnValue() in two attributes in lightning if any change applied on one attribute other attribute data also changing
component.set("v.pricebookProducts", response.getReturnValue()); //getting pricebook products
component.set("v.pricebookProductsCopy", response.getReturnValue());if i done any modification on the first attribute then the second attribute also changing.pls help me how to overcome this problem
Log In to reply.
Popular Salesforce Blogs
Maximize Your App's Reach: The Ultimate Guide to Listing on Salesforce App Exchange
As you peruse this article on Forcetalks, we are confident that you possess an understanding of Salesforce App Exchange. However, are you aware that this…
Salesforce Customer 360 – A Single Integrated Cross-Cloud Customer Data Platform
Salesforce Customer 360 – In this highly competitive digital marketplace where customer expectations have increased rapidly, understanding customer behaviors have never been so important. Today’s…
4 Reasons to use AngularJS in Salesforce Visualforce pages
If you ask a web or mobile app developer why they use AngularJS their first reply would be because it’s awesome. And then they would…
Popular Salesforce Videos
Pass Salesforce Certification Exam In Your First Attempt
This Salesforce Training Video will help you understand the concepts of Salesforce and Salesforce exam so that you can pass the Salesforce exam in the…
How to Trigger the Lead Assignment Rule from Flow Builder
In this video, we will talk about how to trigger the lead assignment rule from the flow builder Salesforce. Here is the timestamp for your…
How to Find More Prospects, Win More Deals, and Keep Customer Happy with Salesforce Essentials
Watch this video to learn how to minimize busy work and empower your sales and support teams to spend more time closing deals and engaging…