-
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 Trailhead and Certification Leader Board - ForceLeaderBoard (Unofficial)
Force Leader Board - Salesforce Trailhead and Certification Leader Board Here it comes ... It's time to show your trailhead badges and certifications in on place.…
How Can Small Businesses Grow Faster With Salesforce Essentials?
Running a small business is not everyone’s cup of tea, if you are a small business owner you are bound to face challenges. As small…
Leveraging the Benefits of Gamification With ScoreNotch | Salesforce
Customer engagement is one of the most pressing issues for businesses today. Why? Because customer engagement is crucial to increase conversions and convert prospects into…
Popular Salesforce Videos
Salesforce Winter Release '22 Highlights
Watch this webinar video to learn about new and improved features and how you can take full advantage of the latest enhancements. Let us know…
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…
Flow to Redirect User to Newly Created Record - Salesforce Flow
Scenario: Shubham is looking for functionality in Salesforce Flow Where after creating a record it redirects to that particular record detail page. Solution A: Create…
Popular Salesforce Infographics
CRM Administrator - Better CRM Adoption With Less Resistance | Salesforce
A CRM is only as strong as its data. It can improve efficiency and personalize the customer experience if employees are comfortable using it. By…
6 Types of Relationships in Salesforce
A relationship in Salesforce is a 2-way association between 2 objects. Using relationships we can link objects with each other and we can make connections…
How Salesforce is Beneficial For Your Business
There is a saying frequently heard many times which is “ Customer is a King”. So, a business needs to do everything to satisfy the…