-
How to show Toast message in Preview of Lightning Application in Salesforce?
I am using:
showToast : function(component, event) { var toastEvent = $A.get("e.force:showToast"); toastEvent.setParams({ message:'This account does not have any contacts.', }); toastEvent.fire(); }
but this gives me an error. How can I use this in preview?
Log In to reply.
Popular Salesforce Blogs
Top 4 Salesforce Spring ’21 Features for CPQ
Hello Salesforce lovers! Salesforce is releasing its most awaited Spring ’21 release. Today, we will shed light on some of the major changes and features added to Salesforce CPQ in this…
How to Reduce Project's Cost with Business Analysis | Salesforce Business Analyst Guide
❛Without BA, you risk returning to the starting point and adding to that a significant loss of time and financial resources❜ Why are business analysis…
Say Hello to CRM: Top Five Benefits of Switching to Salesforce CRM
Customer satisfaction is a prime objective for every business, irrespective of its size. Every business organization strives to excel not only in maximizing profit but…
Popular Salesforce Videos
Marc Benioff on How Salesforce Was Able To "do well and do good"
Billionaire Marc Benioff is considered a game-changer for activism in the business world. Benioff is the co-CEO, chairman, and co-founder of the cloud computing company…
Dreamforce To You 2020 - All Set To Happen
The world has changed, and so has Dreamforce. Instead of everyone coming to Dreamforce, Dreamforce is coming to you — to your kitchen, to your…
Run UI Tests with UTAM | Salesforce Developer Tutorial
Testing apps is critical to ensure quality and there are different types of tests such as unit tests, integrations tests or end-to-end tests just to…
Popular Salesforce Infographics
Explore The Salesforce Support Services Process Chart
This infographic helps you to explore the Salesforce Services process chart. Go through it and let me know in the comments in case of any…
Quick Comparison Guide to CRM Systems: Acumatica VS Salesforce Sales Cloud
When you are about to choose, the best and the most appropriate CRM solution for your business, always consider these 3 given points: customization, integration,…
How to start your career In Salesforce?
Considering a career in Salesforce is a good choice for IT professionals looking to give a new boost to their career. Salesforce is a new…