-
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
Salesforce Dynamic Actions: How to Get Started?
The Salesforce Spring '23 Release date is approaching. And there is one (of many) interesting features in Release Notes: Dynamic Actions for Standard Objects (Generally Available).…
How To Create a Custom Salesforce Communities Login and Landing Page (Spring 2017)
1.) First go to Customize -> Communities -> Settings and create a domain for your community. I am using ‘SINGH2050’. 2.) Once the Domain Name…
Popular Salesforce Videos
AMPscript Math Functions - Salesforce Marketing Cloud Functions in 5 minutes
Cameron Robert steps through how to use the AMPscript Math Functions in Salesforce Marketing Cloud. Key Moments: Introduction to AMPscript Math Functions (0:00) Add, Subtract,…
What is Lookup Relationship in Salesforce?
In this video, Shrey is not only teaching but also demonstrating to you "What is Lookup Relationship in Salesforce?". You will be learning: 1. How…
Salesforce training video for beginners
Salesforce is an innovative tool that can be very powerful when used properly. That’s why it’s important to find effective and trustworthy ways to learn…