-
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
The Role of Salesforce Customization in Industry-Specific Solutions
In today’s competitive business environment, customer relationship management (CRM) platforms have become indispensable tools for organizations looking to enhance customer interactions, streamline processes, and drive…
Salesforce Spring’24 Updates for Admins
This article is prepared by our Salesforce Administrator Dzmitry Pimenau. Hi everyone! I was pleased to prepare this article for you with information about the…
Salesforce Opportunity Stages Best Practices
One of Salesforce’s numerous advantages is its ability to ensure transparent sales processes using a special tab called “Opportunities.” This tab displays a list of…
Popular Salesforce Videos
Data Access for Apex, Visualforce, and Lightning
Apex is a development platform for building software as a service (SaaS) applications on top of Salesforce.com's customer relationship management (CRM) functionality. Apex allows developers…
Salesforce Pardot: 2020 Update
If you’re a current Salesforce user, you may be hearing a lot about Pardot these days. Perhaps you are using MailChimp, Campaign Monitor, or Constant…
5 Important Topics to Crack Salesforce Platform Developer 1 Exam
In this video, Shrey gives you an important topic which gonna be really very helpful for crack the Platform Developer 1 Certification. Without mastering these…
Popular Salesforce Infographics
Management: Salesforce – 27 Incredible Sales Tips
Get a complete view of your customers, including activity history, key contacts, customer communications, and internal account discussions.. With sales software from Salesforce (Salesforce Sales…
CRM Administrator - Better CRM Adoption With Less Resistance | Salesforce
A CRM is only as strong as its data. It can improve efficiency and personalize the customer experience if employees are comfortable using it. By…
Do the Work: 8 Steps to Sales Call Preparation [CHECKLIST]
There is no shortage of sales tips and tricks to implement out there, we've certainly published our fair share, but at the end of the…