-
Different Nomenclature for Actions on Server and Client Side in Salesforce Lightning Component.
Hi!
I have a doubt regarding the names for the action methods on client and server side. For example, I create a lightning page that creates records of sObject. I have a button on the page, which on click creates a record by calling create("{!c.create}" which calls a 'create' method in my js controller. The js cntlr calls a server-side method, say, createObjectserver. Now if I change my name from createObjectserver to just create, then I am not getting errors but the single click on create button is calling the event multiple times indefinitely. But if I keep the methods names different, everything works fine. Why is that happening?
Log In to reply.
Popular Salesforce Blogs
How to Implement Sentiment Analysis in Salesforce – A Part of Artificial Intelligence
What is Sentiment Analysis: Sentiment analysis is extremely useful us to gain an overview of the public opinion behind certain topics and feedbacks. Automatically…
How Does Salesforce Secure Your Data? Learn Here!
Salesforce makes the use of various effective techniques to secure your data SSL technology – Salesforce makes use of SSL technology to protect your data…
Salesforce Field Service Lightning Mobile Extension Toolkit (Beta)
For any field service organization to be successful, it is important to give ample attention to the management. Managing the field forces and service technicians…
Popular Salesforce Videos
Why Salesforce India is Primed for Growth
Amarendra Kumar, RVP of Alliances and Channels for India at Salesforce, says the region is poised for tremendous growth and opportunity over the next few…
How to Find Volunteer Work as a Salesforce Professional
In this video, Brad discusses how to generate work experience through volunteer jobs. These jobs allow for new professionals to gain Salesforce specific, applicable knowledge…
Salesforce Surveys | Salesforce Tutorial Video
In this short video, we will demonstrate how to enable surveys to use for employees. You can also enable surveys for customers or external participants…
Popular Salesforce Infographics
How Salesforce Einstein Can Improve Sales?
Customer Relationship Management has provided businesses with seamless means, marketing strategies and activities to help improve sales. The thing about traditional CRM is that it…
6 Types of Relationships in Salesforce
A relationship in Salesforce is a 2-way association between 2 objects. Using relationships we can link objects with each other and we can make connections…
Differences Between Salesforce Enterprise Edition and Salesforce Professional Edition
Congratulations! You’ve decided to implement Salesforce. We understand that the process can be a bit overwhelming. As Salesforce Consultants one of the questions that we…