-
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
5 Reasons Why Salesforce Still Reigns Supreme as the CRM King
In the ever-evolving world of Customer Relationship Management (CRM) solutions, one platform consistently stands out: Salesforce. Since its inception in 1999, Salesforce has revolutionized the…
Top 5 Reasons to Choose Salesforce for Healthcare
Salesforce Healthcare CRM is a medium that lets care providers, doctors, and administrators work as a team more effectively and collaborate to deliver an improved…
Unveiling the Next Wave of Salesforce Analytics Cloud
Salesforce has successfully reformed its Wave Analytics Cloud. Wave Analytics as an evolving product is experiencing whole new features and is coming up with intuitive…
Popular Salesforce Videos
Introduction to Salesforce CTA Exam
The average salary for a Technical Architect is $118,324 per year in the United States. Do you also want to become Technical Exam by cracking…
How to Set Up Salesforce Knowledge in Service Cloud
Help your customers and agents find answers they are searching for faster with Salesforce Lightning Knowledge. In this video, we will review: - All components…
Salesforce Einstein Keynote: AI for CRM
Salesforce Einstein is delivering more than one billion predictions every day, helping companies get a new level of insight about their business and their customers.…
Popular Salesforce Infographics
Benefits of Salesforce Pardot Implementation
Cyntexa offers the best Salesforce Pardot Implementation services so that you can offer the best customer services. Our certified experts will provide Salesforce Pardot Implementation…
Benefits of Integrating Tableau with Salesforce
Tableau Integration with Salesforce helps businesses gain a multitude of advantages. The true power of Salesforce CRM is felt only when business users can analyze…
How to Create a Community of Trust and Gratitude with Salesforce
The businesses that will be remembered positively after COVID-19 are extending empathy and grace to their employees, customers, and communities. We’ve seen so many communities…