-
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
Learn About Permission Sets in Salesforce | Salesforce Security Guide
Permissions set and Profiles in Salesforce to limit what people may access, view, and do in their Salesforce org. The permission set resembles that of…
Device Detection With Devicedetect.js In Salesforce
A good responsive design in UI can render behaviour across different screen sizes. Though there are few edge cases in Salesforce development, especially where you…
Salesforce Visualforce Vs Salesforce Lightning Component
Visualforce On the server-side a strong set of tags solved in Visualforce. The visualforce framework is called a center page internet application type. Since the…
Popular Salesforce Videos
Powering Dynamic Gamification on Salesforce Communities With ScoreNotch
Gamifying your online community helps you drive highly-engaging user experiences. While you can host your community on Salesforce Experience Cloud, there are limitations with regard…
Introduction to Lightning Web Components | Hello World | Key Concepts
In this video, We are going to learn the new concept/technology that Salesforce has recently introduced to us. Below is the agenda that we are…
Case Management App on Salesforce AppExchange
Is your customer support struggling with customer satisfaction for high service cost? Don't know how to work on right priority cases? Don't worry Algoworks presents…
Popular Salesforce Infographics
5 big takeouts from Salesforce World Tour 2018
The action-packed Salesforce World Tour 2018 rolled into Sydney last week, bringing with it a fun-filled day of innovation, learning, career transformation and giving back.…
A Day in the Life Infographic: Best Practices Guide for Sales Users
The internet is full of sales best practices. But what most people forget is that, as a business, you need to come to the understanding…