-
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 are External Objects in Salesforce? | The Ultimate Guide
Salesforce is a cloud-based customer relationship management (CRM) platform that allows businesses to manage their interactions with customers and prospects. Salesforce offers a variety of…
Send Survey Email On Case Closure on Case without using Trigger and Apex Class
Send Survey Email on Case Closure We can create Survey Emails without coding and send them to any status of case closure. Use Flow Builder…
Nine Common Pain Points Solved by Salesforce Revenue Cloud
Revenue, and especially revenue that is trending upwards, is a clear indicator of an organization’s health and potential. However, responding to fluid market shifts and…
Popular Salesforce Videos
COVID-19 Impact on The Automotive Industry -Digitization With Salesforce Can be a Solution
Coronavirus is expected to create a physical contactless environment with an increased thrust on online assessment and buying of vehicles. This is a huge shift…
How Salesforce Industries can Help Organizations to Save Millions?
Salesforce Industries i.e Vlocity empowers businesses with powerful platforms to boost collaboration and makes it easy to deliver great customer experiences. It provides tailored solutions…
Introduction to Salesforce Aura Components Development
In this video, Salesforce Casts gives an introduction to Aura Components Development. If you have any doubts or concern do reach out to us in…
Popular Salesforce Infographics
Salesforce's Take On Sales vs Marketing [Infographic]
Let’s face it: you don’t need to be watching HBO’s acclaimed series Game of Thrones to see a rivalry like the Starks and Lannisters. A…
DataArchiva - A Native Data Archiving App for Salesforce using Big Objects
A Native Data Archiving app for Salesforce using Big Objects. With Auto-scheduler, Custom Archiving, Encryption, Integrity and Restore features, DataArchiva saves 85%+ storage costs, improves…
Why Salesforce End-user Training Matters for Smooth Implementation
This infographic 'Why Salesforce end-user training matters for smooth implementation' appeared first on Cynoteck. The progress of any CRM implementation depends on its general adoption…