-
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
6 Ways to Make the Most Out of WordPress Salesforce Integration
Salesforce is among the robust CRMs available in the market. It offers many tools for storing and organizing your company’s data as well as your…
Automating Sales and Marketing for Small Businesses: Examples to Help You Get Started
Every small business springs up as the result of a great idea. At first, the idea and drive seem to be sufficient for keeping the…
Batch Apex in Salesforce - Learn About the Advantages and Syntax
Batch class in Salesforce is utilized to run huge positions (think thousands or millions of records!) that would surpass typical handling limits. Utilizing Batch Apex,…
Popular Salesforce Videos
How to Create a Salesforce Object Calendar
In this video, we show you how to create a calendar view for any object in Salesforce. This is a feature that can easily help…
How to Deliver Great Customer Service With a Small Team [Salesforce Webinar]
Overwhelmed by a backlog of customer service requests? And worried your team is too small to handle all the requests? Then, this video is for…
How to Learn Salesforce Fast? Explained.
How to learn Salesforce in six months and get your first job in the industry. Learning Salesforce these days is challenging because the platform is…
Popular Salesforce Infographics
Customer Service Words and Acronyms
Savvy service reps know it is important to stay hip with the lingo. If it seems like customers and agents always keep you guessing with…
Infographic: 3 Trends That’ll Transform Small Business Growth in 2018
If you’re hoping to successfully grow your small business this year, you need to stay on top of the newest trends. Not sure where to…
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…