-
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
Play Around Salesforce Batch Apex And Schedule Apex
Batch Apex Batch Apex classes are beneficial if the task is something to run large jobs like thousands or millions which is exceeded than normal…
Why Salesforce certification matters?
Why Certification Matters? According to the projections made by IDC, the Salesforce platform-based technology will have a huge impact of $859 billion on a global…
Salesforce Marketing Cloud Hacks You Must Try
For any Marketing Cloud professional, it is important to know the ins and outs of the product so it can be used to its full…
Popular Salesforce Videos
All Things Telesales Podcast
Sales Director at Natterbox, Ian Moyse shares with us 3 Powerful Pillars of Servant Leadership - Yearning, Earning, Learning. Ian drops wisdom bombs left and right…
Dreamforce 2021 FAQs
As the fall continues to approach, questions around Dreamforce 2021 continue to increase and that's why we've gone ahead and answered all the FAQs around…
Salesforce Triggers Part-1
A trigger is an Apex script that executes before or after data manipulation language (DML) events occur. Apex triggers enable you to perform custom actions…