-
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
Salesforce Event Monitoring Unit - Getting Started
Event Monitoring Event monitoring allows you to trace plenty of events that occur on a Salesforce Org, for example, Authentication (Logins, Logouts), API Calls, Apex…
What is the Search Box In Aura Component? | The Developer Guide
A search box in an Aura component is a user interface element that allows users to input text and search for relevant information within the…
Popular Salesforce Videos
Salesforce Career Path 2022 | How to Make Career in Salesforce
In addition, Salesforce Developer is one of the 10 best jobs on Indeed's Best Jobs. As businesses embrace the future of mobile, big data, IoT,…
How To Use Salesforce Campaigns in Pardot
Learn campaign basics to help you plan your marketing strategy. In this video, Pardot experts guide you in: - Defining campaigns in Pardot and Salesforce…
Salesforce Platform Developer 1 Certification Training | Salesforce Training Video
This Salesforce Training Video will give an overview of Salesforce Certification Training by explaining what is Salesforce, Why we need Salesforce, Salesforce Career opportunities and…
Popular Salesforce Infographics
How Salesforce Outsourcing Can Help Your Business Grow
We all know how beneficial is Salesforce for any business but people still wonder if it is beneficial to go for Salesforce Outsourcing services. This…
What It Takes to Select the Ideal Salesforce Consulting Partner
Today there are thousands of companies that trust Salesforce CRM Services. Determining a strong Salesforce consulting partner for businesses seems like an easy process, but…
Key Benefits Of Using Salesforce CPQ
Improves productivity and efficiency with Salesforce CPQ. Automate contract amendments, usage pricing, and renewals using an innovative billing feature of Salesforce CPQ Still have a…