-
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
Knowledge of Salesforce Flow and Different Type of Flows and Its Elements
What are Flows? In Salesforce, a flow is an application that automates complex business processes. Simply put, it collects data and then does something with…
3 Reasons Salesforce can Help Nonprofits Expand Their Reach
During the epidemic, technology served as a link amongst people. It was a lifeline for Nonprofits and consumers, bridging the gap between them. And, apparently,…
Popular Salesforce Videos
Improve Your Front and Backend Team Collaboration With Sinergify | Salesforce CRM
Businesses that use Salesforce CRM and Atlassian Jira separately face a lack of team collaboration, inconsistent customer data, slower case resolution, and reduced agent productivity.…
What are Roll-up Summary Fields in Salesforce? | How to create them?
In this video, Shrey is not only teaching but also demonstrating to you "What are Roll-up Summary Fields in Salesforce?". You will be learning: 1.…
Web Chats In Salesforce | Service Cloud | Kanika Chauhan
Salesforce Web Chat (previously known as Salesforce Live Agent) is a feature that allows customers to communicate with the company via the web through instant…
Popular Salesforce Infographics
Future of Salesforce CPQ
Salesforce CPQ is a highly dependable tool that provides an accurate pricing strategy by configuring, pricing, and quoting the products of each company based on…
Dreamforce 2019 in Review: Key Facts and Figures
November 19–22 marked Salesforce’s 17th Dreamforce event, bringing together the Salesforce community — customers, partners, employees, students, and more — for four days of innovation,…
How to Use Psychology to Target Your Buyer?
Ever wanted to get into the minds of your customers and figure out how they think? Ever wanted to know the best methods to convince…