-
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
What Kind of Industries Use the Salesforce CRM Platform Most?
Salesforce, the behemoth of the CRM (Customer Relationship Management) world, empowers businesses across diverse industries to streamline interactions, boost sales, and forge stronger customer relationships.…
Can You Get A Successful Career With Online Salesforce Training?
What do you mean by a successful career? A study conducted by the famous enterprise called Accenture has revealed that people perceive to have a…
What is Clone and Deep Clone in Apex?
Clone is the predefined method in Apex which is used to clone the record just by one functional line of code. Deep Clone is the…
Popular Salesforce Videos
Escalation Rule in Salesforce
In this video, Shrey is not only teaching but also demonstrating Escalation Rule in Salesforce. 1. What are Escalation Rules in Salesforce? 2. What is…
Salesforce Admin Introduction - Salesforce Admin Tutorial
Salesforce Administrators work with stakeholders to define system requirements and customize the platform. To put it simply, they enable users to get the most out of…
How Admins Can Improve Salesforce Data Quality
Learn how to diagnose the accuracy of your data and build a plan to maintain and enhance its’ quality using Salesforce tools. Follow along to…