-
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 Flosum Tool in Salesforce in 2023?](https://images.forcetalks.com/wp-content/uploads/2022/12/11111140/Untitled-presentation.png)
What is the Flosum Tool in Salesforce in 2023?
Version control, continuous deployments, static code analysis, in-built merge tools, user story management, and continuous testing are all features of the native tool Flosum in…
![](https://images.forcetalks.com/wp-content/uploads/2022/11/03092440/sa_1667467064%20Resolve%20Customer%20Service%20Teams%20Issues%20More%20Efficiently%20With%20Slack.png)
Resolve Customer Service Teams Issues More Efficiently With Slack | Salesforce Guide
It is easy to see why so many contact centre managers are becoming more frustrated. Not only are they forced to reduce costs, but they're…
![](https://images.forcetalks.com/wp-content/uploads/2016/04/25085313/How-to-Use-WORKBENCH-with-Salesforce.jpg)
How to Use "WORKBENCH" with Salesforce!
Workbench is a tool designed for administrators and developers to connect with Salesforce organizations. Salesforce Workbench provides support for the Force.com Partner, Bulk, Rest, Streaming,…
Popular Salesforce Videos
Set Your Sales Cloud Implementation Up for Success
Make Sales Cloud a valued business tool that your sales reps will rely on by starting with these planning strategies and best practices for success.…
Tracking Member Engagement with Scoring and Dashboards
More than half of organizations with a member engagement plan reported that it helped them increase: Membership renewals by 51%. Attendance at events and webinars…
Salesforce Winter 21 Release - Sneak Peek
The Winter ’21 release delivers innovations across the Salesforce Customer 360 platform to help connect you to your customers, from anywhere. Fancy table updates, live…
Popular Salesforce Infographics
![salesforce order to cash](https://images.forcetalks.com/wp-content/uploads/2020/03/30164315/order-to-cash.png)
Step by Step: What you Should Know About the Order-to-Cash Process
The order-to-cash (O2C) process is a defining part of a company’s success, and it also plays a big role in driving an organization’s relationship with…
![](https://images.forcetalks.com/wp-content/uploads/2018/04/25081617/sa_1523966444Salesforce%20Nonprofit%20Success%20Pack.png)
What Can Salesforce’ Non Profit Success Pack Provide You With?
The Nonprofit Success Pack NPSP (formerly known as "Nonprofit Starter Pack) is a set of managed packages developed and maintained by Salesforce.org and made available…
![](https://images.forcetalks.com/wp-content/uploads/2018/02/25082853/sa_1517924299Salesforce%20Admin.jpg)
10 MUST HAVE Qualities Your Salesforce Administrator Should Have
Does your organization have a Salesforce Admin? If you use Salesforce or are in the process of implementing it, the role of Salesforce Admin is…