-
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

Future of Salesforce: Top 6 Predictions
Salesforce is one of the top 10 software skills trending this year. It was the first software of its kind and one of the most…

Imported for Leads in Salesforce - All You Need To Know
Lead Object in Salesforce To lay it out plainly, in Salesforce, "Leads" are utilized to indicate individuals you wish as clients. Salesforce suggests isolating these…

How to Evaluate Multiple Conditions in "aura:if" tag in Salesforce Lightning ?
aura: if tag - Aura:if tag renders the content either in its body or in the else attribute based on the value of the isTrue…
Popular Salesforce Videos
Develop Lightning Web Components Faster with Local Development Server | Developer Quick Takes
The Local Development Server is a Salesforce CLI plug-in that configures and runs a Lightning Web Components-enabled server on your computer. You can develop Lightning…
How To Send Email Using Apex | Apex Salesforce Tutorial
This tutorial will show how you can send emails using Apex. The following points will be covered - 1. Introduction Take a look at the…
4 Key Highlights From the Dreamforce Keynote Event
Let's straightaway take a jump on the announcements – from Hyperforce, Einstein Automate, Service Cloud Workforce, and huge acquisitions – presenting you a summary of…
Popular Salesforce Infographics

Dreamforce 2019 in Review: Key Facts and Figures
November 19–22 marked Salesforce’s 17th Dreamforce event, bringing together the Salesforce community — customers, partners, employees, students, and more — for four days of innovation,…

Boost Sales and Marketing with Salesforce Einstein 1
Salesforce Einstein 1 is a suite of artificial intelligence (AI) tools designed to enhance business efficiency and decision-making. Around 80% of customers expect companies to…

Salesforce vs. HubSpot: Which CRM is Best For Your Business?
Salesforce has highly customizable lead management and scoring, while HubSpot can get small businesses up and running quickly with lead generation via content marketing. HubSpot…