-
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
Going Beyond Traditional Implementation Methodologies for Salesforce Service Cloud: A Fireside Chat
Salesforce Service Cloud has myriads of capabilities that enable you to ace your customer service game. But optimizing Service Cloud the right way calls for…
The Ultimate Guide to Salesforce Community Licenses
Imagine that you are a business owner and you're constantly seeking cutting-edge products that can improve the way you interact with your customers. That’s where…
Lead Conversion In Salesforce | Best Practices
Focussing on lead conversion, it can be understood as a process of converting a lead to account, contact, and/or opportunity. Lead generation in Salesforce can…
Popular Salesforce Videos
Data Loader Alternative | Export and Import Data Using Salesforce Inspector
Find out how to export and import data using Salesforce Inspector, a very useful alternative to traditional data loader. watch this video and learn all…
Einstein Opportunity Scoring For Everyone | Salesforce
Let artificial intelligence help you and your sales team focus on the right opportunities and close more deals. See how Einstein Opportunity Scoring makes it…
Popular Salesforce Infographics
Top 5 Affordable Salesforce Integration Apps for SMBs
Salesforce is a CRM platform that allows small businesses to manage all of their sales, marketing and customer service communications in one place. Launched back…
Benefits of Using WhatsApp For Better Customer Engagement
WhatsApp makes businesses more interactive and reliable. Customers can directly connect with a company, clear their doubts, and leverage a connected experience. 5 million business…
Best Ways to Bring Customers and Companies Closer With Salesforce
Salesforce is World’s #1 CRM It works as a single source of truth It delivers fast time to value It is a scalable & flexible…