-
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
Using Marketing Cloud Genie To Deliver Customer Magic: How Salesforce Uses It To Improve your Business
The popular Salesforce is growing its demand in the current market as the best customer relationship management application and software focusing on customer services, analytics,…
What Kind of Industries Use the Salesforce CRM Platform Most?
Salesforce, the behemoth of the CRM (Customer Relationship Management) world, empowers businesses across diverse industries to streamline interactions, boost sales, and forge stronger customer relationships.…
Introduction of Visualforce in Salesforce
About Visualforce locally on the Lightning stage. The Visualforce structure incorporates a tag-based markup language, like HTML, and a lot of server-side "standard controllers" that…
Popular Salesforce Videos
Salesforce Admin Certification Questions and Explained Answers with References to Trailblazers
A Salesforce Admin Certification is the highest form of recognition a Salesforce Administrator can achieve; it demonstrates expertise in the field as well as a…
Create Targeted Campaigns w/ Marketing Cloud Advertising | Salesforce Demo
Explore the power of using 1st party data to power ad audiences across the most popular ad channels today, including Google (Search, Shopping, YouTube, Gmail),…
Salesforce Contact Tracing for Employees Demo
As businesses gradually reopen after worldwide closures, many people feel concerned about the second spike in COVID-19 cases. To ensure public safety, local officials have…
Popular Salesforce Infographics
How Artificial Intelligence Helps Sales Teams
AI is built into many different CRM software and platforms including Salesforce. In particular, Salesforce uses its proprietary Einstein AI. It helps companies find unexpected…
The Working Of Salesforce CRM
Salesforce CRM is considered as the #1 CRM in the market. It has the ability to manage customer interactions of an organization through several methods.…
Salesforce: Giving Buzz In Numbers
Salesforce has been coined as the world’s top CRM and there is always a constant buzz around it’s latest developments. So let’s check out what…