-
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
Maintaining Org Security with the Salesforce Health Check
You likely fell in love with Salesforce because of its flexibility. With its 'no-code' customizability and extensive range of third-party apps, the platform is endlessly…
Salesforce CRM and Sage ERP Integration Just Got Smarter With 5 New Features
Salesforce is the #1 Cloud CRM solution with the core modules like customer service, marketing automation, analytics, and application development services. While on the other…
Popular Salesforce Videos
Salesforce Marketing Cloud Connect: Subscriber Key Migration
We demo how leveraging a subscriber key migration to remove duplicate subscribers from Sales or Service Cloud in Marketing Cloud while minimizing data loss. Explore…
Getting started with Salesforce integration patterns using MuleSoft
Learn how to develop different integration patterns between Salesforce and external systems. You can read the full tutorial, and download the project jar file by…
What is Salesforce - The CRM Bringing Companies & Customers Together
Salesforce is the world’s #1 customer relationship management (CRM) platform. We help your marketing, sales, commerce, service and IT teams work as one from anywhere…
Popular Salesforce Infographics
Significance of Pardot Integration with Salesforce
What is Pardot? Listed as one of the most impeccable tools for B2B marketing, Pardot helps businesses to reach prospects through paid marketing, email campaigns,…
In marketing, Can We Achieve What We Can’t Measure? | Salesforce
Metrics in marketing are always evolving and we can all learn more about them from our peers. Let’s look at where marketers are spending their…
4 Ways to Generate Leads Using Marketing Automation
As businesses gain access to greater amounts of customer data, and consumers themselves have more options for services and products, marketing strategies have become more…