-
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
What Is The Salesforce CRM and How It Enhances FinTech Industry
How Salesforce Sales Cloud can be a boon to FinTech industry? Sales Cloud is part of the CRM system that Salesforce is offering. Sales Cloud…
Intriguing Features and Channels on Salesforce+
Earlier this year Salesforce introduced Salesforce+ that includes Live experiences, original series, podcasts, and other content that are all part of Salesforce+. Salesforce+ will illuminate…
How To Implement JQuery AutoComplete
JQuery Autocomplete enhances the UI functionality of visualforce page, when a user types in a field it quickly find and select from a pre-populated list…
Popular Salesforce Videos
Scheduled Actions Workflow Rules, Process Builder and Lightning Flow
Time-dependent actions are executed at a specific time, such as 10 days before a record's close date. When that specific time passes, the workflow rule…
Explain Data Management in Salesforce?
Data loader is a tool to process bulk records and we can process a maximum of five million records with the data loader. Watch this…
Salesforce - Outlook Integration
In this video, Salesforce Atlas explains how to increase your productivity by automatically synchronizing your data between the two systems, creating tasks, associating emails from…
Popular Salesforce Infographics
The Working Of Salesforce CRM
Salesforce CRM is considered as the #1 CRM in the market. It has the ability to manage customer interactions of an organization through several methods.…
Key Benefits Of Using Salesforce CPQ
Improves productivity and efficiency with Salesforce CPQ. Automate contract amendments, usage pricing, and renewals using an innovative billing feature of Salesforce CPQ Still have a…
How to Choose the Right Salesforce Partner | Infographic
Choosing the right partner is a key factor that can make or break the success of your project. Salesforce is a powerful CRM platform, which…