-
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
How to Use Prompt Builder in Salesforce: A Complete Step-by-Step Guide
Salesforce Prompt Builder is a powerful feature within Einstein Generative AI/Agentforce that enables organisations to create intelligent, reusable AI prompts using real-time CRM data. These…
What is the External ID in Salesforce and Data Wizard? | All You Need to Know
In Salesforce, an external ID is a unique identifier for records generated outside of Salesforce. This is a custom field that can be added to…
Introducing Salesforce Starter For Indian Business
In today's competitive landscape, micro, small, and medium-sized enterprises (MSMEs) in India strive to stand out, enhance customer experiences, and drive revenue. To address these…
Popular Salesforce Videos
What are Queues in Salesforce? | How to create queues and assign records to it in Salesforce?
This video explains Queues in Salesforce by dividing this topic into 5 basic points, which are: 1. What purpose do queues solve? 2. What are…
Salesforce Health Cloud
Salesforce Health Cloud is a health IT CRM system that incorporates doctor-patient relationship and record management services. Through Private Communities, patients can view care plans,…
Insert Data in Salesforce Using Standard Controller
Standard controllers provides ability to access and interact with structured business data contained in records displays in the proper user interface. Standard controller tasks: controlling…